Fix OS authentication token
[lgpl/argeo-commons.git] / 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 */