Class MapResourceServerAdapter

    • Method Detail

      • getId

        public String getId()
        Description copied from interface: ResourceServer
        Returns the unique identifier for this instance.
        Returns:
        the unique identifier for this instance
      • isAllowRemoteResourceManagement

        public boolean isAllowRemoteResourceManagement()
        Description copied from interface: ResourceServer
        Indicates if the resource server is allowed to manage its own resources remotely using the Protection API. true if the resource server is allowed to managed them remotely
      • setAllowRemoteResourceManagement

        public void setAllowRemoteResourceManagement​(boolean allowRemoteResourceManagement)
        Description copied from interface: ResourceServer
        Indicates if the resource server is allowed to manage its own resources remotely using the Protection API.
        Parameters:
        allowRemoteResourceManagement - true if the resource server is allowed to managed them remotely
      • getPolicyEnforcementMode

        public PolicyEnforcementMode getPolicyEnforcementMode()
        Description copied from interface: ResourceServer
        Returns the PolicyEnforcementMode configured for this instance.
        Returns:
        the PolicyEnforcementMode configured for this instance.
      • setPolicyEnforcementMode

        public void setPolicyEnforcementMode​(PolicyEnforcementMode enforcementMode)
        Description copied from interface: ResourceServer
        Defines a PolicyEnforcementMode for this instance.
        Parameters:
        enforcementMode - one of the available options in PolicyEnforcementMode
      • setDecisionStrategy

        public void setDecisionStrategy​(DecisionStrategy decisionStrategy)
        Description copied from interface: ResourceServer
        Defines a DecisionStrategy for this instance, indicating how permissions should be granted depending on the given decisionStrategy.
        Parameters:
        decisionStrategy - the decision strategy