org.apache.juddi.auth
Class JBossAuthenticator
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
- Author:
- Antoni Reus (areus@ibit.org)
Method Summary |
java.lang.String |
authenticate(java.lang.String userID,
java.lang.String credential)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossAuthenticator
public JBossAuthenticator()
authenticate
public java.lang.String authenticate(java.lang.String userID,
java.lang.String credential)
throws RegistryException
- Specified by:
authenticate
in interface Authenticator
- Returns:
- The publisherID for this user
- Throws:
RegistryException
Copyright ? 2003 Apache Software Foundation. All rights reserved.