This content has been marked as final.
Show 1 reply
-
1. Re: how to create an JAAS Domain in jboss 5.1?
wolfgangknauf Nov 9, 2009 11:13 AM (in response to legolas.w)Hi,
first step: add a "SecurityDomain" annotation to your ejbs:@Stateless @org.jboss.ejb3.annotation.SecurityDomain(value="mysecuritydomain") public class MyBean ...
second step: edit the file "JBOSS_HOME\server\default\conf\login-config.xml" and add an entry "application-policy" for your security domain. A newer way of configuring it is found here: http://server.dzone.com/articles/security-features-jboss-510
How do you want to login?
third step: see Security FAQ at http://www.jboss.org/community/wiki/SecurityFAQ, question 10 for a simply approach to application client login.
Hope this helps
Wolfgang