Hi,

I'm trying to work through the security example in the manual, and believe
I've done everything that is needed, but I'm getting an exception back from
the server.

I'm using the jboss-cvs & jbosssx-cvs snapshots from the 7th March, on jdk
1.3, windows NT workstation.

If I run ...
java
-Djava.security.auth.login.config=file://d:/source_code/jboss/dist/conf/defa
ult/auth.conf StatelessSessionClient scott echoman

At the client, I get the following output...

Created LoginContext
[JAASSecurity] User 'scott' authenticated.
Found StatelessSessionHome
java.rmi.ServerException: RemoteException occurred in server thread; nested
exception is:
        java.rmi.RemoteException: checkSecurityAssociation; nested exception
is:

        java.lang.SecurityException: Authentication exception
java.rmi.RemoteException: checkSecurityAssociation; nested exception is:
        java.lang.SecurityException: Authentication exception
java.lang.SecurityException: Authentication exception
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
n Source)
        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHom
e(Unknown Source)
        at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java
:248)
        at $Proxy0.create(Unknown Source)
        at StatelessSessionClient.main(StatelessSessionClient.java:85)

while the server just reports...

[StatelessSession] Authentication exception, principal=null

but doesn't throw any exceptions - or none that it's telling me about!

Ideas?

Cheers,
Ian.








--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to