JBoss Community

Re: JBossCachedAuthenticationManager caching and JAAS modules returning different Principal

created by Robert Marcano in PicketBox Development - View the full discussion

jaikiran pai wrote:

 

Replied in the other thread https://community.jboss.org/message/744123#744123

 

I am using org.jboss.security.SimplePrincipal for simplicity, that is a little more permissive by default with its definition of equals, and with it the principal that is passed to JBossCachedAuthenticationManager.isValid() will not always be equals to the principals stored on domainCache keys, the caller principal (the module is instantiating another different instance)

Reply to this message by going to Community

Start a new discussion in PicketBox Development at Community