java.lang.Object
org.apache.juddi.auth.JBossAuthenticator
- All Implemented Interfaces:
- Authenticator
- public class JBossAuthenticator
- extends java.lang.Object
- implements Authenticator
This is a implementation of jUDDI's Authenticator interface,
that uses the JBoss authentication manager.
Usage:
To use this class you must add the following properties
to the juddi.properties file:
# The JBoss Authenticator
juddi.auth=org.apache.juddi.auth.JBossAuthenticator
# The security-domain, defined in $JBOSS/default/conf/login-config.xml
juddi.securityDomain=java:/jaas/other
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.commons.logging.Log log
SECURITY_DOMAIN_KEY
private static final java.lang.String SECURITY_DOMAIN_KEY
- See Also:
- Constant Field Values
DEFAULT_SECURITY_DOMAIN
private static final java.lang.String DEFAULT_SECURITY_DOMAIN
- See Also:
- Constant Field Values
authManager
org.jboss.security.AuthenticationManager authManager
JBossAuthenticator
public JBossAuthenticator()
authenticate
public java.lang.String authenticate(java.lang.String userID,
java.lang.String credential)
throws org.apache.juddi.error.RegistryException
- Specified by:
authenticate in interface Authenticator
init
private void init()