Class 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$
    • 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
      • 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