[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-706) NullPointerException in RunAsSecurityInterceptorFactory when there is no SecurityDomain annotation
Dmitri Voronov (JIRA)
jira-events at lists.jboss.org
Sat Mar 27 11:39:38 EDT 2010
[ https://jira.jboss.org/jira/browse/EJBTHREE-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12522396#action_12522396 ]
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
More information about the jboss-jira
mailing list