Jan Tymel created WFLY-6467:
-------------------------------
Summary: Some tests from
"org.jboss.as.test.integration.security.loginmodules.*" fail with security
manager
Key: WFLY-6467
URL:
https://issues.jboss.org/browse/WFLY-6467
Project: WildFly
Issue Type: Bug
Components: Test Suite
Reporter: Jan Tymel
*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:
{code}
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)
{code}
*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:
{code}
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)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)