Class 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$, $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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