remove token from PrincipalCollection because it is also stored in the session

This commit is contained in:
Sebastian Sdorra
2012-10-11 15:51:11 +02:00
parent 3999a4daf5
commit 352ce23082

View File

@@ -563,7 +563,6 @@ public class ScmRealm extends AuthorizingRealm
collection.add(user.getId(), NAME);
collection.add(user, NAME);
collection.add(new GroupNames(groups), NAME);
collection.add(token, NAME);
return new SimpleAuthenticationInfo(collection, token.getPassword());
}