Class AuthManagerProxy
- java.lang.Object
-
- org.dogtagpki.server.authentication.AuthManagerProxy
-
public class AuthManagerProxy extends java.lang.Object
A 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, IAuthManager mgr)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthManager
getAuthManager()
Returns an authentication manager instance.boolean
isEnable()
Returns the state of the authentication manager instance
-
-
-
Constructor Detail
-
AuthManagerProxy
public AuthManagerProxy(boolean enable, IAuthManager 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 IAuthManager getAuthManager()
Returns an authentication manager instance.- Returns:
- an authentication manager instance
-
-