You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2020/04/16 11:58:12 UTC

[syncope] branch 2_0_X updated: Fixing displaying of issuedAt from Access Tokens

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 2_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_0_X by this push:
     new ac0ff06  Fixing displaying of issuedAt from Access Tokens
ac0ff06 is described below

commit ac0ff0662f6d431aec394d8f4ff85dcd25ee696b
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Thu Apr 16 13:57:30 2020 +0200

    Fixing displaying of issuedAt from Access Tokens
---
 .../apache/syncope/client/console/panels/AccessTokenDirectoryPanel.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/console/src/main/java/org/apache/syncope/client/console/panels/AccessTokenDirectoryPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/panels/AccessTokenDirectoryPanel.java
index 9111e93..3e53a67 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/panels/AccessTokenDirectoryPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/panels/AccessTokenDirectoryPanel.java
@@ -102,7 +102,7 @@ public class AccessTokenDirectoryPanel
                 JwsJwtCompactConsumer consumer = new JwsJwtCompactConsumer(model.getObject().getBody());
                 cellItem.add(new Label(componentId,
                         SyncopeConsoleSession.get().getDateFormat().format(
-                                new Date(consumer.getJwtClaims().getIssuedAt()))));
+                                new Date(consumer.getJwtClaims().getIssuedAt() * 1000))));
             }
         });