[jboss-dev-forums] [PicketBox Development] - Re: JBossCachedAuthenticationManager caching and JAAS modules returning different Principal

Robert Marcano do-not-reply at jboss.com
Tue Jun 26 00:03:05 EDT 2012


Robert Marcano [https://community.jboss.org/people/robmv] created the discussion

"Re: JBossCachedAuthenticationManager caching and JAAS modules returning different Principal"

To view the discussion, visit: https://community.jboss.org/message/744131#744131

--------------------------------------------------------------
> jaikiran pai wrote:
> 
> Replied in the other thread  https://community.jboss.org/message/744123#744123 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)
h2.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/744131#744131]

Start a new discussion in PicketBox Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2088]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120626/304c3a47/attachment.html 


More information about the jboss-dev-forums mailing list