[jboss-jira] [JBoss JIRA] Resolved: (SECURITY-237) Create different implementation of JaasSecurityManager
Marcus Moyses (JIRA)
jira-events at lists.jboss.org
Thu Jun 12 16:11:33 EDT 2008
[ http://jira.jboss.com/jira/browse/SECURITY-237?page=all ]
Marcus Moyses resolved SECURITY-237.
------------------------------------
Resolution: Done
org.jboss.security.plugins.auth.SynchronizedJaasSecurityManager created with this functionality.
> Create different implementation of JaasSecurityManager
> ------------------------------------------------------
>
> Key: SECURITY-237
> URL: http://jira.jboss.com/jira/browse/SECURITY-237
> Project: JBoss Security and Identity Management
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JBossSX
> Affects Versions: 2.0.2.CR3
> Reporter: Marcus Moyses
> Assigned To: Marcus Moyses
> Fix For: 2.0.2.GA
>
>
> The current implementation of the JaasSecurityManager could lead to a problem where multiple threads try to authenticate concurrently.
> Both threads would try to validate the principal in the cache and fail (as the principal has not logged in yet) and proceed to authentication. The first threads authenticates the principal, but the second one removes that entry from the cache (causing a logout) and authenticates the principal again.
> One solution is to make cache validation and authentication an atomic operation, synchronized on the principal's name.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list