-
Bug
-
Resolution: Done
-
Major
-
7.1.0.DR12, 7.1.0.DR13, 7.1.0.DR14, 7.1.0.DR15, 7.1.0.DR16, 7.1.0.DR17, 7.1.0.DR18, 7.1.0.DR19, 7.1.0.ER1
-
None
Many tests under org.jboss.as.test.integration.ejb.security package are failing when using "-Delytron" argument.
cd testsuite/integration/basic mvn clean test -Dtest=org.jboss.as.test.integration.ejb.security.**.* -Delytron ... Failed tests: https://issues.jboss.org/browse/JBEAP-9080#InherritanceAnnSFSBTestCase.testSingleMethodAnnotationsUser1:71->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected InherritanceAnnSFSBTestCase.testSingleMethodAnnotationsUser2:76->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected InherritanceAnnSLSBTestCase.testSingleMethodAnnotationsUser1:70->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected InherritanceAnnSLSBTestCase.testSingleMethodAnnotationsUser2:75->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected InjectionAnnSFSBtoSFSBTestCase.testSingleMethodAnnotationsUser1:70->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected InjectionAnnSFSBtoSFSBTestCase.testSingleMethodAnnotationsUser2:75->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected InjectionAnnSFSBtoSLSBTestCase.testSingleMethodAnnotationsUser1:70->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected InjectionAnnSFSBtoSLSBTestCase.testSingleMethodAnnotationsUser2:75->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected InjectionAnnSLSBtoSFSBTestCase.testSingleMethodAnnotationsUser1:70->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected InjectionAnnSLSBtoSFSBTestCase.testSingleMethodAnnotationsUser2:75->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected InjectionAnnSLSBtoSLSBTestCase.testSingleMethodAnnotationsUser1:72->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected InjectionAnnSLSBtoSLSBTestCase.testSingleMethodAnnotationsUser2:77->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected SingleMethodsAnnSFSBTestCase.testSingleMethodAnnotationsUser1:70->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected SingleMethodsAnnSFSBTestCase.testSingleMethodAnnotationsUser2:75->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected SingleMethodsAnnSLSBTestCase.testSingleMethodAnnotationsUser1:70->AnnSBTest.testSingleMethodAnnotationsUser1Template:156->AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1:169 EJBAccessException not expected SingleMethodsAnnSLSBTestCase.testSingleMethodAnnotationsUser2:75->AnnSBTest.testSingleMethodAnnotationsUser2Template:221->AnnSBTest.lambda$testSingleMethodAnnotationsUser2Template$2:242 EJBAccessException not expected RunAsTestCaseEJBMDB.testSendMessage:152 null Tests in error: RunAsPrincipalTestCase.org.jboss.as.test.integration.ejb.security.RunAsPrincipalTestCase » Deployment MissingMethodPermissionsDefaultAllowedTestCase.testAllowAccessByDefaultForMethodsMissingPermissions:205 » EJBAccess MissingMethodPermissionsDefaultAllowedTestCase.testAllowAccessForMethodsMissingPermissions:164 » EJBAccess MissingMethodPermissionsDefaultAllowedTestCase.testDenyAccessForMethodsMissingPermissions:183 » EJBAccess MissingMethodPermissionsTestCase.testAllowAccessForMethodsMissingPermissions:116 » EJBAccess MissingMethodPermissionsTestCase.testDenyAccessByDefaultForMethodsMissingPermissions:157 » EJBAccess MissingMethodPermissionsTestCase.testDenyAccessForMethodsMissingPermissions:135 » EJBAccess RunAsTestCaseEJBMDB.testEjb » EJBAccess WFLYEJB0364: Invocation on method: pub... SingletonSecurityTestCase.testInvocationOnSecuredMethodWithCorrectRole:79 » EJBAccess Tests run: 91, Failures: 17, Errors: 9, Skipped: 1
Sample stack trace of the failure:
java.lang.AssertionError: EJBAccessException not expected at org.junit.Assert.fail(Assert.java:88) at org.jboss.as.test.integration.ejb.security.AnnSBTest.lambda$testSingleMethodAnnotationsUser1Template$1(AnnSBTest.java:169) at org.wildfly.common.context.Contextual.runCallable(Contextual.java:127) at org.jboss.as.test.integration.ejb.security.AnnSBTest.testSingleMethodAnnotationsUser1Template(AnnSBTest.java:156) at org.jboss.as.test.integration.ejb.security.InherritanceAnnSFSBTestCase.testSingleMethodAnnotationsUser1(InherritanceAnnSFSBTestCase.java:71)
- blocks
-
JBEAP-9051 Tracking JIRA for tests failing with Elytron profile in AS TS
- Closed
- is blocked by
-
JBEAP-9752 ClientLoginModule does not work with Elytron secured EJBs for In-VM Calls e.g. Servlet to Bean or Bean to Bean
- Closed
-
JBEAP-11933 Security identity not propagated into asynchronous task (elytron)
- Closed
-
JBEAP-12488 AuthenticationTestCase fails when server IP address is not bound to loopback in Elytron profile
- Closed
- is caused by
-
JBEAP-11452 @RunAs role authorization from the first invoker of @Singleton bean is propagated through the @PostConstruct method of @Singleton bean with Elytron
- Closed
-
JBEAP-11454 In-VM calls with authenticated SecurityIdentity.runAs(Callable c) fail to authorise for asynchronous EJB calls
- Closed
-
JBEAP-11483 MissingMethodPermissionsDefaultAllowedTestCase and MissingMethodPermissionsTestCase fail when run with the Elytron profile enabled
- Closed
- is related to
-
JBEAP-11393 Fix AuthenticationTestCase and GetCallerPrincipalTestCase for Elytron and unignore it
- Closed
- relates to
-
JBEAP-9198 RunAsPrincipalTestCase fails to deploy when Elytron profile is used
- Closed
-
JBEAP-10576 Server reload missing in tearDown method of EjbElytronDomainSetup
- Closed