Fix OS authentication token
authorMathieu Baudier <mbaudier@argeo.org>
Wed, 7 Jan 2015 12:01:36 +0000 (12:01 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Wed, 7 Jan 2015 12:01:36 +0000 (12:01 +0000)
git-svn-id: https://svn.argeo.org/commons/branches/mbaudier.2.tp@7641 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

org.argeo.security.core/src/org/argeo/security/OsAuthenticationToken.java

index 03d33f6cf9fad38dcbbc2e59e1631d9ca466766a..5b71394dd38dd4e1732267d1d4ae87c71bdaad0b 100644 (file)
@@ -83,7 +83,7 @@ public class OsAuthenticationToken implements Authentication {
 
        /** Authenticated */
        public OsAuthenticationToken() {
-               this(null);
+               this(new ArrayList<GrantedAuthority>());
        }
 
        /** @return the name, or null if not yet logged */