Package ddf.catalog.plugin
Interface PolicyResponse
public interface PolicyResponse
Response from
PolicyPlugin containing policy information for Operation and individual items, such as Metacard
or Result-
Method Summary
Modifier and TypeMethodDescriptionPolicy to be applied to item being worked on by the catalog.Policy to be applied to the catalog operation being attempted.
-
Method Details
-
operationPolicy
Policy to be applied to the catalog operation being attempted.The
PolicyResponseobject contains 1 or more policy objects of the type: Map<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
Policy to be applied to item being worked on by the catalog.The
PolicyResponseobject contains 1 or more policy objects of the type: Map<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.
-