[ http://jira.jboss.com/jira/browse/JBAS-43?page=history ]
Scott M Stark resolved JBAS-43:
-------------------------------
Resolution: Done
Fix Version: JBossAS-3.2.7 Final
Basic Subject.doAs support was added to get past the current jdk1.3
limitations. Proper support of the JAAS authorization mechanism still requires
jdk 1.4+.
> security.test.SecurityProxyUnitTestCase failure
> -----------------------------------------------
>
> Key: JBAS-43
> URL: http://jira.jboss.com/jira/browse/JBAS-43
> Project: JBoss Application Server
> Type: Bug
> 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
> 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:
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
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development