org.apache.ldap.server.authn
Class AuthenticatorConfigBuilder
java.lang.Object
org.apache.ldap.server.authn.AuthenticatorConfigBuilder
- public class AuthenticatorConfigBuilder
- extends java.lang.Object
An authenticator configuration builder which produces AuthenticatorConfig
objects from various configuration formats, namely Hashtables.
- Author:
- Endi S. Dewata
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticatorConfigBuilder
public AuthenticatorConfigBuilder()
getAuthenticatorConfig
public static GenericAuthenticatorConfig getAuthenticatorConfig(java.lang.String authenticatorName,
java.util.Hashtable env)
throws javax.naming.NamingException
- Extracts properties from a Hashtable and builds a configuration bean for
an AuthenticationService.
- Parameters:
authenticatorName
- the name of the authenticator to extract configs forenv
- the Hastable containing usually JNDI environment settings
- Returns:
- the extracted configuration object
- Throws:
javax.naming.NamingException
getAuthenticatorConfigs
public static GenericAuthenticatorConfig[] getAuthenticatorConfigs(java.util.Hashtable env)
throws javax.naming.NamingException
- Extracts properties from a Hashtable and builds a set of configurations
bean for Authenticators.
- Parameters:
env
- the Hastable containing usually JNDI environment settings
- Returns:
- all the extracted configuration objects configured
- Throws:
javax.naming.NamingException
Copyright © 2002-2005 . All Rights Reserved.