Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.juddi.auth
Class JBossAuthenticator  view JBossAuthenticator download JBossAuthenticator.java

java.lang.Object
  extended byorg.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


Field Summary
(package private)  org.jboss.security.AuthenticationManager authManager
           
private static java.lang.String DEFAULT_SECURITY_DOMAIN
           
private static org.apache.commons.logging.Log log
           
private static java.lang.String SECURITY_DOMAIN_KEY
           
 
Constructor Summary
JBossAuthenticator()
           
 
Method Summary
 java.lang.String authenticate(java.lang.String userID, java.lang.String credential)
           
private  void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

JBossAuthenticator

public JBossAuthenticator()
Method Detail

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()