The security howto on the web site has not been regenerated from the updated
xml documentation. If you can obtain the manual cvs module from cvs then
you can build the latest set of docs. If you can't email me and I'll send you an
updated html version.

The exception and server output indicate that the user information is not being
passed in. The older example should still work so I'll go through that to see
what the issue is.

----- Original Message ----- 
From: "Ian Priest" <[EMAIL PROTECTED]>
To: "'JBoss-User' (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, March 08, 2001 4:55 AM
Subject: [jBoss-User] Security Problem: principal=null


> 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]
> 
> 



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

Reply via email to