]
Ondra Chaloupka updated WFLY-8328:
----------------------------------
Component/s: EJB
RAR endpoint creation requires too much permission from deployment
when security manager is used
------------------------------------------------------------------------------------------------
Key: WFLY-8328
URL:
https://issues.jboss.org/browse/WFLY-8328
Project: WildFly
Issue Type: Bug
Components: EJB, Security Manager
Affects Versions: 10.1.0.Final
Reporter: Ondra Chaloupka
Assignee: Ondra Chaloupka
Priority: Minor
Attachments: getClassLoader-permission-stacktrace.txt
When RAR is deployed the EJB endpoint creation requires too much {{RuntimePermission}} to
be defined in deployment itself. It's needed to define
{code}
new RuntimePermission("accessDeclaredMembers")
new RuntimePermission("defineClassInPackage.*")
new RuntimePermission("getClassLoader")
{code}
These permissions should not be required as are needed by internal endpoind creation
operations launched from {{org.jboss.as.ejb3.inflow.JBossMessageEndpointFactory}}
Stacktraces of security manager exceptions are added in attachment.