Class GroupMgrFactory

    • Method Detail

      • createInstance

        public static GroupMgr createInstance​(String contextId)
                                       throws SecurityException
        Create and return a reference to GroupMgr object.
        Parameters:
        contextId - maps to sub-tree in DIT, e.g. ou=contextId, dc=example, dc=com.
        Returns:
        instance of GroupMgr.
        Throws:
        SecurityException - in the event of failure during instantiation.
      • createInstance

        public static GroupMgr createInstance​(Session adminSess)
                                       throws SecurityException
        Create and return a reference to GroupMgr object using HOME context.
        Parameters:
        adminSess - contains a valid Fortress A/RBAC Session object.
        Returns:
        instance of AdminMgr.
        Throws:
        SecurityException - in the event of failure during instantiation.
      • createInstance

        public static GroupMgr createInstance​(String contextId,
                                              Session adminSess)
                                       throws SecurityException
        Create and return a reference to GroupMgr object.
        Parameters:
        contextId - maps to sub-tree in DIT, e.g. ou=contextId, dc=example, dc=com.
        adminSess - contains a valid Fortress A/RBAC Session object.
        Returns:
        instance of AdminMgr.
        Throws:
        SecurityException - in the event of failure during instantiation.