com.netscape.certsrv.authorization
Class AuthzManagerProxy

java.lang.Object
  extended by com.netscape.certsrv.authorization.AuthzManagerProxy

public class AuthzManagerProxy
extends java.lang.Object

A class represents an authorization manager. It contains an authorization manager instance and its state (enable or not).

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Constructor Summary
AuthzManagerProxy(boolean enable, IAuthzManager mgr)
          Constructor
 
Method Summary
 IAuthzManager getAuthzManager()
          Returns an authorization manager instance.
 boolean isEnable()
          Returns the state of the authorization manager instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthzManagerProxy

public AuthzManagerProxy(boolean enable,
                         IAuthzManager mgr)
Constructor

Parameters:
enable - true if the authzMgr is enabled; false otherwise
mgr - 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