Class AuthManagerProxy
- java.lang.Object
-
- org.dogtagpki.server.authentication.AuthManagerProxy
-
public class AuthManagerProxy extends java.lang.ObjectA class represents an authentication manager. It contains an authentication manager instance and its state (enable or not).- Version:
- $Revision$, $Date$
-
-
Constructor Summary
Constructors Constructor Description AuthManagerProxy(boolean enable, AuthManager mgr)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthManagergetAuthManager()Returns an authentication manager instance.booleanisEnable()Returns the state of the authentication manager instance
-
-
-
Constructor Detail
-
AuthManagerProxy
public AuthManagerProxy(boolean enable, AuthManager mgr)Constructor- Parameters:
enable- true if the authMgr is enabled; false otherwisemgr- authentication manager instance
-
-
Method Detail
-
isEnable
public boolean isEnable()
Returns the state of the authentication manager instance- Returns:
- true if the state of the authentication manager instance is enabled; false otherwise.
-
getAuthManager
public AuthManager getAuthManager()
Returns an authentication manager instance.- Returns:
- an authentication manager instance
-
-