[jboss-jira] [JBoss JIRA] (WFLY-9059) Many org.jboss.as.test.integration.ejb.security.**.* tests fail with security manager
Ondrej Kotek (JIRA)
issues at jboss.org
Fri Jul 7 07:16:00 EDT 2017
[ https://issues.jboss.org/browse/WFLY-9059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ondrej Kotek moved JBEAP-11991 to WFLY-9059:
--------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-9059 (was: JBEAP-11991)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Test Suite
(was: Test Suite)
Affects Version/s: 11.0.0.Beta1
(was: 7.1.0.ER1)
> Many org.jboss.as.test.integration.ejb.security.**.* tests fail with security manager
> -------------------------------------------------------------------------------------
>
> Key: WFLY-9059
> URL: https://issues.jboss.org/browse/WFLY-9059
> Project: WildFly
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 11.0.0.Beta1
> Reporter: Ondrej Kotek
> Labels: security-manager
>
> Many tests in {{org.jboss.as.test.integration.ejb.security}} package and subpackages fail or result in error with missing permission "("org.wildfly.security.permission.ElytronPermission" "getSecurityDomain")", e.g.:
> {noformat}
> java.security.AccessControlException: WFSM000001: Permission check failed (permission "("org.wildfly.security.permission.ElytronPermission" "getSecurityDomain")" in code source "(vfs:/content/ejb3-security-partial-dd-test.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.ejb3-security-partial-dd-test.jar" from Service Module Loader")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
> at org.wildfly.security.auth.server.SecurityDomain.getCurrent(SecurityDomain.java:155)
> ...
> {noformat}
> Following test cases are affected:
> * {{AnnotationAuthorizationTestCase}}
> * {{EJBInWarDefaultSecurityDomainTestCase}}
> * {{LifecycleTestCase}}
> * {{MixedSecurityAnnotationAuthorizationTestCase}}
> * {{RunAsPrincipalTestCase}}
> * {{SecurityDDOverrideTestCase}}
> * {{asynchronous.AsynchronousSecurityTestCase}}
> * {{callerprincipal.GetCallerPrincipalTestCase}}
> * {{missingmethodpermission.*}}
> ** require also {{RuntimePermission("getClassLoader")}} and {{RuntimePermission("setContextClassLoader")}} permissions
> * {{rolelink.SecurityRoleLinkTestCase}}
> * {{runas.RunAsTestCase}}
> * {{singleton.SingletonSecurityTestCase}}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list