NullPointerException in RunAsSecurityInterceptorFactory when there is no SecurityDomain
annotation
--------------------------------------------------------------------------------------------------
Key: EJBTHREE-706
URL:
http://jira.jboss.com/jira/browse/EJBTHREE-706
Project: EJB 3.0
Issue Type: Bug
Components: Security
Reporter: Roland R?z
Priority: Minor
The class org.jboss.ejb3.security.RunAsSecurityInterceptorFactory throws in
createPerClass() a NullPointerException when there is no SecurityDomain annotation.
Possible Fix:
if (securityAnnotation != null) {
domain = ctx.lookup("java:/jaas/" + securityAnnotation.value());
}
--
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