net.sf.jguard.core.authentication.manager
Class AuthenticationManagerFactory

java.lang.Object
  extended by net.sf.jguard.core.authentication.manager.AuthenticationManagerFactory

public class AuthenticationManagerFactory
extends java.lang.Object

build an AuthenticationManager implementation.

Author:
Charles Gay

Constructor Summary
AuthenticationManagerFactory()
           
 
Method Summary
static AuthenticationManager createAuthenticationManager(java.lang.Class authenticationManagerImpl, java.util.Map map)
          initialize the DAO implementation.
static AuthenticationManager getAuthenticationManager()
          Convenience method that returns the current AuthenticationManager.
static void setAuthenticationManager(AuthenticationManager authenticationManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationManagerFactory

public AuthenticationManagerFactory()
Method Detail

getAuthenticationManager

public static AuthenticationManager getAuthenticationManager()
Convenience method that returns the current AuthenticationManager. implementation.

Returns:
authenticationManager ornull 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.