[
https://jira.jboss.org/jira/browse/EJBTHREE-706?page=com.atlassian.jira.p...
]
Dmitri Voronov commented on EJBTHREE-706:
-----------------------------------------
Could anybody comment if the suggested fix is so obviously why is this issue still open?
NullPointerException in RunAsSecurityInterceptorFactory when there is
no SecurityDomain annotation
--------------------------------------------------------------------------------------------------
Key: EJBTHREE-706
URL:
https://jira.jboss.org/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:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira