security.test.SecurityProxyUnitTestCase failure
-----------------------------------------------
Key: JBAS-43
URL:
http://jira.jboss.com/jira/browse/JBAS-43
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
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
Priority: Minor
Fix For: JBossAS-3.2.7 Final
The org.jboss.test.security.test.SecurityProxyUnitTestCase fails due to the unsupported
Subject.doAsPrivileged call. The jboss-jaas.jar implementation only addresses the jaas 1.0
extension problems with class loading of login modules. It does not provide a full Subject
implementation and this will not be fixed for 3.2.7. This test would have to run with the
server configured to use the 1.0 jaas.jar extension release, and either the jboss
LoginContext related classes in the extension classpath, or the login modules in the
extension classpath.
<testcase
classname="org.jboss.test.security.test.SecurityProxyUnitTestCase"
name="testMethodAccess" time="0.296">
<error message="RemoteException occurred in server thread; nested exception
is:
java.rmi.ServerException: RuntimeException; nested exception is:
java.lang.UnsupportedOperationException: doAsPrivileged is not supported by this version
of JAAS 1.0, use the JDK 1.4 version"
type="java.rmi.ServerException">java.rmi.ServerException: RemoteException
occurred in server thread; nested exception is:
java.rmi.ServerException: RuntimeException; nested exception is:
java.lang.UnsupportedOperationException: doAsPrivileged is not supported by this version
of JAAS 1.0, use the JDK 1.4 version
java.rmi.ServerException: RuntimeException; nested exception is:
java.lang.UnsupportedOperationException: doAsPrivileged is not supported by this version
of JAAS 1.0, use the JDK 1.4 version
java.lang.UnsupportedOperationException: doAsPrivileged is not supported by this version
of JAAS 1.0, use the JDK 1.4 version
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:240)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
at
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
at
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:91)
at $Proxy2.read(Unknown Source)
at
org.jboss.test.security.test.SecurityProxyUnitTestCase.testMethodAccess(SecurityProxyUnitTestCase.java:71)
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: