com.netscape.certsrv.authentication
Class AuthManagerProxy

java.lang.Object
  extended by com.netscape.certsrv.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: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

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

Constructor Detail

AuthManagerProxy

public AuthManagerProxy(boolean enable,
                        IAuthManager mgr)
Constructor

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