-
Bug
-
Resolution: Done
-
Major
-
7.0.0.ER7
-
None
org.jboss.as.test.integration.security.loginmodules.CustomLoginModuleTestCase#testSuccessfulAuth
org.jboss.as.test.integration.security.loginmodules.CustomLoginModuleTestCase#testUnsuccessfulAuth
./integration-tests.sh -DtestLogToFile=false -Dts.noSmoke -Dts.basic -Dtest=org.jboss.as.test.integration.security.loginmodules.CustomLoginModuleTestCase -Dsecurity.manager
Fail with:
java.lang.AssertionError: expected:<302> but was:<200> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.jboss.as.test.integration.security.loginmodules.CustomLoginModuleTestCase.makeCall(CustomLoginModuleTestCase.java:202) at org.jboss.as.test.integration.security.loginmodules.CustomLoginModuleTestCase.testSuccessfulAuth(CustomLoginModuleTestCase.java:153)
org.jboss.as.test.integration.security.loginmodules.RunAsLoginModuleTestCase#testCleartextPassword1
./integration-tests.sh -DtestLogToFile=false -Dts.noSmoke -Dts.basic -Dtest=org.jboss.as.test.integration.security.loginmodules.RunAsLoginModuleTestCase#testCleartextPassword1 -Dsecurity.manager
Fails with:
java.lang.AssertionError: An unexpected response: <html><head><title>Error</title></head><body>Unauthorized</body></html> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.jboss.as.test.integration.security.loginmodules.RunAsLoginModuleTestCase.testCleartextPassword1(RunAsLoginModuleTestCase.java:172)