[ http://jira.jboss.com/jira/browse/JBAS-42?page=history ]
Scott M Stark resolved JBAS-42:
-------------------------------
Resolution: Done
The jce.jar is not bundled with the jboss dist so the SRP verifier store only
sets the cipher algorithm which triggers the creation of a cipher if an
unlimited strength jce provider is detected.
> security.test.SRPLoginModuleUnitTestCase failures
> -------------------------------------------------
>
> Key: JBAS-42
> URL: http://jira.jboss.com/jira/browse/JBAS-42
> Project: JBoss Application Server
> Type: Bug
> Components: Security
> Versions: JBossAS-3.2.7 Final
> Environment: [EMAIL PROTECTED] 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
> Assignee: Scott M Stark
> Fix For: JBossAS-3.2.7 Final
>
> Original Estimate: 2 hours
> Remaining: 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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development