public interface PolicyExtension
Extends the policy of the Java PDP realm. These objects can provide additional policy information that cannot be captured through the standard match-all or match-one scenarios.
| Modifier and Type | Method and Description |
|---|---|
KeyValueCollectionPermission |
isPermittedMatchAll(CollectionPermission subjectAllCollection,
KeyValueCollectionPermission matchAllCollection,
KeyValueCollectionPermission allPermissionsCollection)
This method should return any permissions that it was unable to imply.
|
KeyValueCollectionPermission |
isPermittedMatchOne(CollectionPermission subjectAllCollection,
KeyValueCollectionPermission matchOneCollection,
KeyValueCollectionPermission allPermissionsCollection)
This method should return any permissions that it was unable to imply.
|
KeyValueCollectionPermission isPermittedMatchAll(CollectionPermission subjectAllCollection, KeyValueCollectionPermission matchAllCollection, KeyValueCollectionPermission allPermissionsCollection)
Warning: not returning any permissions from this method will immediately grant access to every request and bypass the rest of the PDP.
subjectAllCollection - Subject permissionsmatchAllCollection - Match all permissionsallPermissionsCollection - Reference list of all permissionsKeyValueCollectionPermission isPermittedMatchOne(CollectionPermission subjectAllCollection, KeyValueCollectionPermission matchOneCollection, KeyValueCollectionPermission allPermissionsCollection)
Warning: not returning any permissions from this method will immediately grant access to every request and bypass the rest of the PDP.
subjectAllCollection - Subject permissionsmatchOneCollection - Match one permissionsallPermissionsCollection - Reference list of all permissionsThis work is licensed under a Creative Commons Attribution 4.0 International License.