Differences between revisions 5 and 6
Revision 5 as of 2009-09-20 22:48:42
Size: 876
Editor: localhost
Comment: converted to 1.6 markup
Revision 6 as of 2013-04-09 20:29:36
Size: 0
Editor: KurtStam
Comment: moved to juddi's wiki
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
The '''JB''''''ossAuthenticator''' class is provided to let juddi deployments on JBoss use a server security domain to authenticate users.

To use this class you must add the following properties to the juddi.properties file:
 {{{
 juddi.auth=org.apache.juddi.auth.JBossAuthenticator
 juddi.securityDomain=java:/jaas/other
 }}}
The first one will tell juddi to use this class as the '''Authenticator'''. The second one, tells the '''JB''''''ossAuthenticator''' where to lookup the security domain it will use to perform the authentication.

JBoss creates one security domain for each application policy element on the $JBOSS_HOME/server/default/conf/login-config.xml file, and it bounds it to the server JNDI tree with the name java:/jaas/''application-policy-name''. If a lookup refers to a non existent application policy it falls to the default one, named other.