]
Anil Saldhana updated SECURITY-23:
----------------------------------
Fix Version/s: 2.0.GA
Affects Version/s: 1.x
Complexity: Low
NullPointerException in JaasSecurityManager.getPrincipal()
----------------------------------------------------------
Key: SECURITY-23
URL:
http://jira.jboss.com/jira/browse/SECURITY-23
Project: JBoss Security and Identity Management
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JBossSX
Affects Versions: 1.x
Reporter: Alex Besogonov
Assigned To: Anil Saldhana
Fix For: 2.0.GA
JaasSecurityManager.getPrincipal() does not check for empty domainCache. This method is
called, for example, when JAAS is used from web layer.
Trivial fix, add in the start of the method:
if( domainCache == null )
return principal;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: