Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-827

Some tests end with Security Exception after login with security manager

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.0.0.DR8
    • Fix Version/s: 7.0.0.ER4
    • Component/s: Test Suite
    • Labels:
      None

      Description

      Description of problem:
      Some tests end with Security Exception after login with security manager.

      Affected tests found so far:

      • org.jboss.as.test.integration.ejb.security.AnnotationAuthorizationTestCase
      • org.jboss.as.test.integration.ejb.security.AuthenticationTestCase
      • org.jboss.as.test.integration.ejb.security.EJBInWarDefaultSecurityDomainTestCase#testSecurityOnBeanInAbsenceOfExplicitSecurityDomain
      • org.jboss.as.test.integration.ejb.security.LifecycleTestCase
      • org.jboss.as.test.integration.ejb.security.SecurityDDOverrideTestCase#testDDOverride
      • org.jboss.as.test.integration.ejb.security.asynchronous.AsynchronousSecurityTestCase
      • org.jboss.as.test.integration.ejb.security.missingmethodpermission.MissingMethodPermissionsDefaultAllowedTestCase
      • org.jboss.as.test.integration.ejb.security.missingmethodpermission.MissingMethodPermissionsTestCase
      • org.jboss.as.test.integration.ejb.security.rolelink.SecurityRoleLinkTestCase#testIsCallerInRole
      • org.jboss.as.test.integration.ejb.security.runas.RunAsTestCase

      How reproducible:
      Always

      Steps to Reproduce:

      1. ./integration-tests.sh -fae -Dmaven.test.failure.ignore=true -Dnode0=$MYTESTIP_1 -Dnode1=$MYTESTIP_2 -DfailIfNoTests=false -Dsecurity.manager -Dts.basic -Dts.noSmoke -Dtest=AnnotationAuthorizationTestCase

      Actual results:

      javax.security.auth.login.LoginException: Security Exception
      	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:841)
      	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)
      	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)
      	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
      	at javax.security.auth.login.LoginContext.login(LoginContext.java:588)
      	at org.jboss.as.test.integration.ejb.security.AnnotationAuthorizationTestCase.testRolesAllowedOverriden_User2(AnnotationAuthorizationTestCase.java:187)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  okotek Ondrej Kotek
                  Reporter:
                  mkopecky Marek Kopecky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: