[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1792) NPE on org.jboss.ejb3.BaseSessionContext.isCallerInRole
Dmitri Voronov (JIRA)
jira-events at lists.jboss.org
Sat Mar 27 17:34:37 EDT 2010
[ https://jira.jboss.org/jira/browse/EJBTHREE-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12522399#action_12522399 ]
Dmitri Voronov commented on EJBTHREE-1792:
------------------------------------------
Are there any plans regarding this issue?
> NPE on org.jboss.ejb3.BaseSessionContext.isCallerInRole
> -------------------------------------------------------
>
> Key: EJBTHREE-1792
> URL: https://jira.jboss.org/jira/browse/EJBTHREE-1792
> Project: EJB 3.0
> Issue Type: Bug
> Components: ejb3
> Affects Versions: AS 4.2.3.GA
> Reporter: Dmitri Voronov
>
> We get NPE on calling org.jboss.ejb3.BaseSessionContext.isCallerInRole(String roleName) if the in ejb-jar.xml defines:
> <security-role-ref>
> <role-name>aRole</role-name>
> </security-role-ref>
> (without role-link) and roleName = aRole, because further method tries to use the role-link which is null. role-link is actually optional according to EJB3.0 specification.
--
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