Interface PrivilegeHandler


  • public interface PrivilegeHandler
    This handler is used for registering, removing and reading app specific privileges. It can only be injected in the novomind iAGENT routing process.
    Since:
    11.5
    • Method Detail

      • getOrCreatePrivilege

        Privilege getOrCreatePrivilege​(java.lang.String name)
        This method gets or creates a Privilege with the name for the app
        Parameters:
        name - the name of the Privilege.
        Returns:
        the Privilege
        Throws:
        java.lang.IllegalArgumentException - if the name is empty
        Since:
        11.5
      • removePrivilege

        void removePrivilege​(Privilege privilege)
        Removes the Privilege from the novomind iAGENT system
        Parameters:
        privilege - the Privilege to be removed
        Since:
        11.5