Details
-
Bug
-
Resolution: Done
-
Major
-
4.3.0.GA, 4.2.0.GA_CP02
-
None
Description
Getting this:
testXmlLoginModuleParsing Failure roles in (Role2, Role3)
junit.framework.AssertionFailedError: roles in (Role2, Role3)
at org.jboss.test.security.test.XMLLoginModulesUnitTestCase.testXmlLoginModuleParsing(XMLLoginModulesUnitTestCase.java:210)
I found out that for some reason when the testsuite is run on Z-systems with IBM 1.5 JDK, the roles from the XML file load in backwards order. That's the only problem here. This is the piece of the XML:
<lm:user name="jdukeman" password="anotherduke">
<lm:role name="Role2"/>
<lm:role name="Role3"/>
<lm:role name="callerJdukeman" group="CallerPrincipal" />
</lm:user>
So the problem is that Role3 is loaded as first and Role2 as second which is causing the failure.
Attachments
Issue Links
- is duplicated by
-
JBAS-5275 org.jboss.test.security.test.XMLLoginModulesUnitTestCase failing on Z-servers
- Closed