Interface PolicyResponse


public interface PolicyResponse
Response from PolicyPlugin containing policy information for Operation and individual items, such as Metacard or Result
  • Method Details

    • operationPolicy

      Map<String,Set<String>> operationPolicy()
      Policy to be applied to the catalog operation being attempted.

      The PolicyResponse object contains 1 or more policy objects of the type: Mapinvalid input: '<'String, Set>. Where the key is some attribute that you wish to assert against a Subject and Set would be the values associated with that key.

      Returns:
      Map containing policy information pertaining to this operation.
    • itemPolicy

      Map<String,Set<String>> itemPolicy()
      Policy to be applied to item being worked on by the catalog.

      The PolicyResponse object contains 1 or more policy objects of the type: Mapinvalid input: '<'String, Set>. Where the key is some attribute that you wish to assert against a Subject and Set would be the values associated with that key.

      Returns:
      Map containing policy information pertaining to this item.