-
1. Re: javax.ejb.EJBAccessException: Caller unauthorized when calling EJB3 @Service from client code
jaikiran Jun 4, 2010 2:35 AM (in response to dbredesen)What does your "foo" login config look like? Do you have ClientLoginModule in that foo stack?
-
2. Re: javax.ejb.EJBAccessException: Caller unauthorized when calling EJB3 @Service from client code
dbredesen Jun 4, 2010 9:53 AM (in response to jaikiran)Jaikiran,
Thanks for you response. No, I don't have ClientLoginModule in the "foo" policy, just DatabaseServerLoginModule. However, I do have ClientLoginModule alone in the "client-login" policy, and I have found I can make some progress if I authenticate on the "client-login" domain on the web app and the "foo" domain on the server side.
What is the proper way to set this up? The web client and EJB server are running in the same container and same server, so they share a login-config.xml. Should I just add ClientLoginModule to the foo stack?
Thanks for your help.
Dave
-
3. Re: javax.ejb.EJBAccessException: Caller unauthorized when calling EJB3 @Service from client code
jaikiran Jun 4, 2010 9:57 AM (in response to dbredesen)Dave Bredesen wrote:
Yes. That ClientLoginModule is responsible for "propagating" the logged in context. There was a wiki around this. Let me see if I can find it.
-
4. Re: javax.ejb.EJBAccessException: Caller unauthorized when calling EJB3 @Service from client code
jaikiran Jun 4, 2010 10:03 AM (in response to jaikiran)jaikiran pai wrote:
Yes. That ClientLoginModule is responsible for "propagating" the logged in context. There was a wiki around this. Let me see if I can find it.See Q3 here http://community.jboss.org/wiki/SecurityFAQ