[
https://issues.jboss.org/browse/WFLY-12783?page=com.atlassian.jira.plugin...
]
Katarina Hermanova updated WFLY-12783:
--------------------------------------
Description:
Having webservice with @RolesAllowed annotation and security domain defined in the
jboss-ejb3.xml (or @SecurityDomain). When this security domain mapping is added in the
EJB3 subsystem it is failing with "javax.ejb.EJBAccessException: WFLYEJB0364:
Invocation on method: METHOD of bean: BEAN is not allowed".
I believe the message is not clearly describing the problem and maybe the documentation
should be extended.
Step to reproduce:
1, Deploy echoServer-1.0-SNAPSHOT.jar
2, Add user with `$ {jbossHomeName}/bin/add-user.sh -a -u 'quickstartUser' -p
'quickstartPwd1!' -g 'guest,admin'`
3, Add security domain mapping in the EJB3 subsystem using $
{jbossHomeName}/bin/jboss-cli.sh
`/subsystem=ejb3/application-security-domain=other:add(security-domain=ApplicationDomain)`
4, Run EchoClient.main()
- to restore configuration run `/subsystem=ejb3/application-security-domain=other:remove`
using $ {jbossHomeName}/bin/jboss-cli.sh
was:
Having webservice with @RolesAllowed annotation and security domain defined in the
jboss-ejb3.xml (or @SecurityDomain). When this security domain mapping is added in the
EJB3 subsystem it is failing with "javax.ejb.EJBAccessException: WFLYEJB0364:
Invocation on method: METHOD of bean: BEAN is not allowed".
I believe the message is not clearly describing the problem and maybe the documentation
should be extended.
EJBAccessException when security domain mapping added in the EJB3
subsystem to enable elytron
---------------------------------------------------------------------------------------------
Key: WFLY-12783
URL:
https://issues.jboss.org/browse/WFLY-12783
Project: WildFly
Issue Type: Task
Components: Security, Web Services
Reporter: Katarina Hermanova
Priority: Optional
Attachments: newWebServiceDemo.zip
Having webservice with @RolesAllowed annotation and security domain defined in the
jboss-ejb3.xml (or @SecurityDomain). When this security domain mapping is added in the
EJB3 subsystem it is failing with "javax.ejb.EJBAccessException: WFLYEJB0364:
Invocation on method: METHOD of bean: BEAN is not allowed".
I believe the message is not clearly describing the problem and maybe the documentation
should be extended.
Step to reproduce:
1, Deploy echoServer-1.0-SNAPSHOT.jar
2, Add user with `$ {jbossHomeName}/bin/add-user.sh -a -u 'quickstartUser' -p
'quickstartPwd1!' -g 'guest,admin'`
3, Add security domain mapping in the EJB3 subsystem using $
{jbossHomeName}/bin/jboss-cli.sh
`/subsystem=ejb3/application-security-domain=other:add(security-domain=ApplicationDomain)`
4, Run EchoClient.main()
- to restore configuration run `/subsystem=ejb3/application-security-domain=other:remove`
using $ {jbossHomeName}/bin/jboss-cli.sh
--
This message was sent by Atlassian Jira
(v7.13.8#713008)