net.sf.jguard.core.authentication.manager
Class AuthenticationManagerFactory
java.lang.Object
net.sf.jguard.core.authentication.manager.AuthenticationManagerFactory
public class AuthenticationManagerFactory
- extends java.lang.Object
build an AuthenticationManager implementation.
- Author:
- Charles Gay
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationManagerFactory
public AuthenticationManagerFactory()
getAuthenticationManager
public static AuthenticationManager getAuthenticationManager()
- Convenience method that returns the current AuthenticationManager.
implementation.
- Returns:
- authenticationManager or
null when
no authenticationManager is created.
createAuthenticationManager
public static AuthenticationManager createAuthenticationManager(java.lang.Class authenticationManagerImpl,
java.util.Map map)
throws AuthenticationException
- initialize the DAO implementation.
- Parameters:
authenticationManagerImpl - map -
- Returns:
true if AuthenticationManager is created successfully, false otherwise
- Throws:
AuthenticationException
setAuthenticationManager
public static void setAuthenticationManager(AuthenticationManager authenticationManager)
Copyright © 2004-2009. All Rights Reserved.