[
http://jira.jboss.com/jira/browse/JBAS-42?page=all ]
Dimitris Andreadis closed JBAS-42.
----------------------------------
security.test.SRPLoginModuleUnitTestCase failures
-------------------------------------------------
Key: JBAS-42
URL:
http://jira.jboss.com/jira/browse/JBAS-42
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Security
Affects Versions: JBossAS-3.2.7 Final
Environment: [starksm@banshee9100 case2471]$ $JAVA_HOME/bin/java -version
java version "1.3.1_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_14-b03)
Java HotSpot(TM) Client VM (build 1.3.1_14-b03, mixed mode)
Reporter: Scott M Stark
Assigned To: Scott M Stark
Fix For: JBossAS-3.2.7 Final
Original Estimate: 2 hours
Time Spent: 2 hours
Remaining Estimate: 2 hours
There are several failures in the org.jboss.test.security.test.SRPLoginModuleUnitTestCase
when running under jdk 1.3.1_14 due to unsatisfied JCE class depenendencies.
<testcase
classname="org.jboss.test.security.test.SRPLoginModuleUnitTestCase"
name="testSRPLogin" time="0.266">
<error message="Failed to complete SRP login, msg=RemoteException occurred in
server thread; nested exception is:
java.rmi.RemoteException: Unexpected exception in getSRPParameters; nested exception is:
java.lang.NoClassDefFoundError: javax/crypto/Cipher"
type="javax.security.auth.login.LoginException">javax.security.auth.login.LoginException:
Failed to complete SRP login, msg=RemoteException occurred in server thread; nested
exception is:
java.rmi.RemoteException: Unexpected exception in getSRPParameters; nested exception is:
java.lang.NoClassDefFoundError: javax/crypto/Cipher
at org.jboss.security.srp.jaas.SRPLoginModule.login(SRPLoginModule.java:235)
at javax.security.auth.login.LoginContext$3.run(LoginContext.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext$State.login(LoginContext.java:368)
at javax.security.auth.login.LoginContext.login(LoginContext.java:161)
at
org.jboss.test.security.test.SRPLoginModuleUnitTestCase.login(SRPLoginModuleUnitTestCase.java:226)
at
org.jboss.test.security.test.SRPLoginModuleUnitTestCase.login(SRPLoginModuleUnitTestCase.java:214)
at
org.jboss.test.security.test.SRPLoginModuleUnitTestCase.testSRPLogin(SRPLoginModuleUnitTestCase.java:53)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
</error>
</testcase>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira