Package org.ow2.authzforce.core.pdp.api
Class AttributeSources
- java.lang.Object
-
- org.ow2.authzforce.core.pdp.api.AttributeSources
-
public final class AttributeSources extends Object
/** Static utility methods pertaining toAttributeSource
instances.
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeSource
PDP
Attribute source that is the PDP itself (typically when the attribute is the current date/time)static AttributeSource
REQUEST
Attribute source that is the original decision request (received by PDP from client/PEP)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttributeSource
newCustomSource(String id)
Creates custom attribute source, e;g.
-
-
-
Field Detail
-
REQUEST
public static final AttributeSource REQUEST
Attribute source that is the original decision request (received by PDP from client/PEP)
-
PDP
public static final AttributeSource PDP
Attribute source that is the PDP itself (typically when the attribute is the current date/time)
-
-
Method Detail
-
newCustomSource
public static AttributeSource newCustomSource(String id) throws IllegalArgumentException
Creates custom attribute source, e;g. attribute provider module/extension- Parameters:
id
- source identifier- Returns:
- new Attribute source
- Throws:
IllegalArgumentException
- iffid == null
-
-