|
Yes, the successful login populates the cache with
the authentication info. After
that, only validateCache needs to be able to
compare the opaque credentials against
the cache value. If there is no cache the login
module is called to authenticate the
credentials and this has to understand what the
credentials are and be able to interact
with the handler. The JaasSecurityManager does not
care about the credentials other
than needing to be able to compare the raw cached
credentials against the invocation
credentials. As long as the credential object
implements the Comparable interface this
can be done and is the first check made. If the
credential implements equals things will
also work.
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx
|
- [JBoss-dev] authenticating using a non-text credential (Ob... Jason Essington
- Re: [JBoss-dev] authenticating using a non-text crede... Scott M Stark
- Re: [JBoss-dev] authenticating using a non-text c... Jason Essington
- Re: [JBoss-dev] authenticating using a non-te... Scott M Stark
- Re: [JBoss-dev] authenticating using a no... Jason Essington
- [JBoss-dev] JaasSecurityDomain break... Jason Essington
- Re: [JBoss-dev] authenticating using... Scott M Stark
- Re: [JBoss-dev] authenticating u... Jason Essington
- Re: [JBoss-dev] authenticati... Scott M Stark
- Re: [JBoss-dev] authenticati... Jason Essington
- Re: [JBoss-dev] authenticati... Scott M Stark
- Re: [JBoss-dev] authenticati... Jason Essington
- Re: [JBoss-dev] authenticati... Scott M Stark
