com.ge.research.app.security
Class AuthenticationFactory
java.lang.Object
com.ge.research.app.security.AuthenticationFactory
- public class AuthenticationFactory
- extends java.lang.Object
- Version:
- $Revision: 1.1 $ $Date: 2006/08/11 00:17:46 $
- Author:
- garbiras
- Created on:
- June 5, 2006
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_AUTHENTICATOR
public final java.lang.String DEFAULT_AUTHENTICATOR
- See Also:
- Constant Field Values
NOCONFIGURATION
protected final java.lang.String NOCONFIGURATION
logger
protected final java.util.logging.Logger logger
AuthenticationFactory
public AuthenticationFactory()
AuthenticationFactory
public AuthenticationFactory(java.lang.String resourceBundle)
getAuthenticator
public Authenticator getAuthenticator()
throws SecurityException
- Returns a specific authenticator to use.
This method is intended to be overwritten by subclasses.
- Returns:
- The default authenticator
- Throws:
SecurityException- See Also:
getDefaultAuthenticator()
getAuthenticator
public Authenticator getAuthenticator(java.lang.String type)
throws SecurityException
- Parameters:
type - the configuration identifier of the authenticator to return
- Returns:
- The configured authenticator identified by
type;
Returns null if there is no configuration for the specified type
- Throws:
SecurityException
getDefaultAuthenticator
public Authenticator getDefaultAuthenticator()
throws SecurityException
- Returns:
- The configured default authenticator. If none is configured, it returns a new
AcceptAllAuthenticator
- Throws:
SecurityException