|
both levels. since the
JaasSecurityManager is used for authentication and authorization for
both.
i wrote my own
LoginModule that verifies name, password and also an account lock (specific
to my app) in order to authorize the user. So the following scenario doesn't
work:
1) user logs
in successfully (accountLock==false)
2) an
administrator locks the account
3) the same
user attempts to login (accountLock==true) and succeeds.
now if my LoginModule were
called it would accurately reject the request, but my login module is not
called. There appears to be because a cache that is caching positive logins
based on only the username and password, hence eliminating the accountLock check
that I have.
thus i assume that to fix my
problem i need to disable the authentication cache.
.peter
This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us. |
Title: Message
- [JBoss-user] [JBOSSSX] Disable Authentication Cache? Luttrell, Peter
- Re: [JBoss-user] [JBOSSSX] Disable Authentication Ca... Dmitri Colebatch
- Re: [JBoss-user] [JBOSSSX] Disable Authentication Ca... Luttrell, Peter
- Re: [JBoss-user] [JBOSSSX] Disable Authenticatio... Dmitri Colebatch
- Re: [JBoss-user] [JBOSSSX] Disable Authenticatio... Samuel Franklyn
- Re: [JBoss-user] [JBOSSSX] Disable Authenticatio... Scott M Stark
