[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-706) NullPointerException in RunAsSecurityInterceptorFactory when there is no SecurityDomain annotation
Roland R?z (JIRA)
jira-events at jboss.com
Fri Sep 15 08:38:34 EDT 2006
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
More information about the jboss-jira
mailing list