jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject svn commit: r1577995 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/token/TokenProvider.java
Date Sun, 16 Mar 2014 08:18:07 GMT
Author: dbrosius
Date: Sun Mar 16 08:18:06 2014
New Revision: 1577995

URL: http://svn.apache.org/r1577995
Log:
fix NPE on error path when user is null

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/token/TokenProvider.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/token/TokenProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/token/TokenProvider.java?rev=1577995&r1=1577994&r2=1577995&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/token/TokenProvider.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/token/TokenProvider.java
Sun Mar 16 08:18:06 2014
@@ -328,7 +328,7 @@ public class TokenProvider extends Prote
                     }
                 }
             } else {
-                log.debug("Cannot create login token: No corresponding node for User {}.",
user.getID());
+                log.debug("Cannot create login token: No user specified. (null)");
             }
         } catch (RepositoryException e) {
             // conflict while creating token store for this user -> refresh and



Mime
View raw message