-
1. Re: How do I determine if caller has role within EJB?
jarikr Jul 22, 2003 9:32 AM (in response to roxburd)Hi Dave,
have you set a security domain in the jboss.xml file?
E.g. like
<security-domain>java:/jaas/other</security-domain>
<unauthenticated-principal>guest</unauthenticated-principal>
<enterprise-beans>
....
hope that helps!
Jari -
2. Re: How do I determine if caller has role within EJB?
roxburd Jul 24, 2003 5:01 AM (in response to roxburd)
Hey Jari,
Thanks, you got me back on track. I'd tried that before but I was put off progressing it when my application then started to throw security exceptions for every access of every EJB in my deployment... following your post I had another whack at it and when I'd turned off all the access controls (set method-permissions to unchecked/, * for every EJB) it worked a treat.
Thanks again,
Dave -
3. Re: How do I determine if caller has role within EJB?
roxburd Aug 4, 2003 10:44 AM (in response to roxburd)Follow-up:
But then, anonymous users still can't get access because JBoss doesn't consider them to be real users so you have to set up a <login-module> using AnonLoginModule in your login.conf...