This is the line that should invoke the constructor which builds the collection of principals
return new SimpleAuthenticationInfo(username, token.getCredentials(),
bs, getName());
getName() is my realm name
This is the line that should invoke the constructor which builds the collection of principals
return new SimpleAuthenticationInfo(username, token.getCredentials(),
bs, getName());
getName() is my realm name