syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject svn commit: r1396077 - /incubator/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/user/SyncopeUser.java
Date Tue, 09 Oct 2012 15:38:14 GMT
Author: ilgrosso
Date: Tue Oct  9 15:38:14 2012
New Revision: 1396077

URL: http://svn.apache.org/viewvc?rev=1396077&view=rev
Log:
[SYNCOPE-217] Patch applied

Modified:
    incubator/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/user/SyncopeUser.java

Modified: incubator/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/user/SyncopeUser.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/user/SyncopeUser.java?rev=1396077&r1=1396076&r2=1396077&view=diff
==============================================================================
--- incubator/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/user/SyncopeUser.java
(original)
+++ incubator/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/user/SyncopeUser.java
Tue Oct  9 15:38:14 2012
@@ -433,7 +433,9 @@ public class SyncopeUser extends Abstrac
     }
 
     public boolean hasTokenExpired() {
-        return tokenExpireTime.before(new Date());
+        return tokenExpireTime == null
+                ? null
+                : tokenExpireTime.before(new Date());
     }
 
     public CipherAlgorithm getCipherAlgoritm() {



Mime
View raw message