Hi,
I am using JBossSX and Struts. I have defined a LoginAction where I do the
login with UsernamePasswordHandler and LoginContext. I use the
org.jboss.security.auth.spi.DatabaseServerLoginModule. The login works fine
and I get a message that I am authenticated but if I access another action I
get
java.rmi.RemoteException: checkSecurityAssociation; nested exception is:
java.lang.SecurityException: Authentication exception, principal=null
java.lang.SecurityException: Authentication exception, principal=null
<<no stack trace available>>
2002-01-17 15:18:39,767 [Thread-11] DEBUG
(QuickSearchAction-createResultList) - RemoteException
java.rmi.RemoteException: checkSecurityAssociation; nested exception is:
java.lang.SecurityException: Authentication exception, principal=null
java.lang.SecurityException: Authentication exception, principal=null
<<no stack trace available>>
wichs seems that I am not logged in. I have to check it the login is correct
in my LoginAction and not later if I call a secure EJB so I cant use the
ClientLoginModule
CAN anyone help?
Any comments are welcome!
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>