[jboss-jira] [JBoss JIRA] (SECURITY-878) Container-provided security role "**" (EJB 3.2) not working

Stuart Douglas (JIRA) issues at jboss.org
Mon Apr 6 20:33:19 EDT 2015


     [ https://issues.jboss.org/browse/SECURITY-878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas moved WFLY-4474 to SECURITY-878:
-----------------------------------------------

              Project: PicketBox   (was: WildFly)
                  Key: SECURITY-878  (was: WFLY-4474)
             Workflow: classic default workflow  (was: GIT Pull Request workflow )
    Affects Version/s: PicketBox_4_0_21.Final
                           (was: 9.0.0.Beta1)


> Container-provided security role "**" (EJB 3.2) not working
> -----------------------------------------------------------
>
>                 Key: SECURITY-878
>                 URL: https://issues.jboss.org/browse/SECURITY-878
>             Project: PicketBox 
>          Issue Type: Bug
>    Affects Versions: PicketBox_4_0_21.Final
>            Reporter: Jan Martiska
>            Assignee: Stuart Douglas
>
> EJB 3.2 12.3.1 Security Roles:
> {quote}
> A security role with the name “**” is defined by the Container, and is intended to be used by the Bean
> Provider, Application Assembler, or Deployer to indicate that the caller must log on or authenticate to
> invoke a method or to perform some processing requiring membership in this container role. This con-
> tainer security role indicates that authentication, without consideration of role membership, is required.
> {quote}
> This doesn't seem to work in WildFly 9.0.0.Beta1. An authenticated user trying to invoke methods annotated @PermitAll("**") gets an EJBAccessException.
> I started preparing tests for this behavior at https://github.com/jmartisk/wildfly/commits/master-ejb32tests-starrole
> It causes failures in:
> InherritanceAnnSFSBTestCase.testSingleMethodAnnotationsUser1
> InherritanceAnnSLSBTestCase.testSingleMethodAnnotationsUser1
> InjectionAnnSFSBtoSFSBTestCase.testSingleMethodAnnotationsUser1
> InjectionAnnSFSBtoSLSBTestCase.testSingleMethodAnnotationsUser1
> InjectionAnnSLSBtoSFSBTestCase.testSingleMethodAnnotationsUser1
> InjectionAnnSLSBtoSLSBTestCase.testSingleMethodAnnotationsUser1
> SingleMethodsAnnSFSBTestCase.testSingleMethodAnnotationsUser1
> SingleMethodsAnnSLSBTestCase.testSingleMethodAnnotationsUser1



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the jboss-jira mailing list