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