[jboss-user] [Security & JAAS/JBoss] - Re: Problems using JAAS with EJB 3.0 on JBoss 4.0.4-GA
jaikiran
do-not-reply at jboss.com
Wed Oct 4 08:06:02 EDT 2006
Add the following annotation:
@SecurityDomain("exemplo1")
| public class UserManagementBean implements UserManagement {
| ....
| }
to your bean so that the security domain is set.
Even your manual modification to the jboss.xml should have worked. Are you sure that you have correctly added the security-domain to the jboss.xml (make sure you have not made any spelling mistakes about the security-domain name)? Looking at the stacktrace instead of picking up "exemplo1" its picking up "other" (which uses UsersRolesLoginModule) from the login-config.xml
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976001#3976001
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976001
More information about the jboss-user
mailing list