Modifier and Type | Method and Description |
---|---|
<V extends Value> |
EvaluationContext.getVariableValue(String variableId,
Datatype<V> datatype)
Get value of a VariableDefinition's expression evaluated in this context and whose value has been cached with
EvaluationContext.putVariableIfAbsent(String, Value) . |
Modifier and Type | Method and Description |
---|---|
Value |
EvaluationContext.removeVariable(String variableId)
Removes a variable (defined by VariableDefinition) from this context.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EvaluationContext.putVariableIfAbsent(String variableId,
Value value)
Caches the value of a VariableDefinition's expression evaluated in this context only if variable is not already set in this context, for later retrieval by
EvaluationContext.getVariableValue(String, Datatype) when evaluating ValueReferences to the same VariableId. |
Modifier and Type | Method and Description |
---|---|
Value |
ParameterAssignment.getValue()
Returns the value assigned to the parameter.
|
Modifier and Type | Class and Description |
---|---|
class |
ConstantExpression<V extends Value>
Expression wrapper for constant values - that do not depend on the evaluation context - to be used as Expressions, e.g.
|
interface |
Expression<V extends Value>
Super interface of any kinds of expression in a policy that the PDP evaluation engine may evaluate in a given authorization request context:
AttributeValue
Apply
AttributeSelector
VariableReference
AttributeDesignator
Function
|
interface |
VariableReference<V extends Value>
Variable reference, i.e.
|
Modifier and Type | Method and Description |
---|---|
static <V extends Value> |
Expressions.eval(Expression<?> arg,
EvaluationContext context,
Datatype<V> returnType)
Evaluate single-valued (primitive) argument expression
|
Modifier and Type | Class and Description |
---|---|
class |
BaseFirstOrderFunctionCall<RETURN extends Value>
This class provides a skeletal implementation of the
FirstOrderFunctionCall interface, to minimize the effort required to implement this interface. |
static class |
BaseFirstOrderFunctionCall.EagerBagEval<RETURN_T extends Value,PARAM_BAG_ELEMENT_T extends AttributeValue>
Function call, for functions requiring eager (a.k.a.
|
static class |
BaseFirstOrderFunctionCall.EagerEval<RETURN_T extends Value>
Function call, for
FirstOrderFunction s requiring eager (aka greedy) evaluation of ALL their arguments' expressions to actual values, before the function can be evaluated. |
static class |
BaseFirstOrderFunctionCall.EagerMultiPrimitiveTypeEval<RETURN_T extends Value>
Function call, for functions requiring eager (a.k.a.
|
static class |
BaseFirstOrderFunctionCall.EagerPartlyBagEval<RETURN_T extends Value,PRIMITIVE_PARAM_T extends AttributeValue>
Function call, for functions requiring eager (a.k.a.
|
static class |
BaseFirstOrderFunctionCall.EagerSinglePrimitiveTypeEval<RETURN_T extends Value,PARAM_T extends AttributeValue>
Function call, for functions requiring eager (a.k.a.
|
class |
BaseFunction<RETURN_T extends Value>
Base class for XACML functions.
|
static class |
FirstOrderBagFunctions.SetFunction<AV extends AttributeValue,RETURN extends Value>
Base class of all *-set functions
|
class |
FirstOrderFunction<RETURN extends Value>
Superclass of "first-order" functions, "first-order" as opposed to "higher-order".
|
interface |
FirstOrderFunctionCall<RETURN extends Value>
First-order function call.
|
class |
FirstOrderFunctionSignature<RETURN_T extends Value>
First-order function signature (name, return type, arity, parameter types)
|
interface |
Function<RETURN_T extends Value>
XACML function.
|
interface |
FunctionCall<RETURN_T extends Value>
Function call.
|
class |
HigherOrderBagFunction<RETURN_T extends Value,SUB_RETURN_T extends AttributeValue>
Higher-order bag function
|
class |
MultiParameterTypedFirstOrderFunction<RETURN_T extends Value>
Superclass of "first-order" functions of multi-type parameters, i.e.
|
class |
MultiParameterTypedFirstOrderFunctionSignature<RETURN extends Value>
First-order function signature whose parameters have (at least two) different datatypes
|
class |
SingleParameterTypedFirstOrderFunction<RETURN_T extends Value,PARAM_T extends Value>
Superclass of "first-order" functions of single-type parameters, i.e.
|
class |
SingleParameterTypedFirstOrderFunction<RETURN_T extends Value,PARAM_T extends Value>
Superclass of "first-order" functions of single-type parameters, i.e.
|
class |
SingleParameterTypedFirstOrderFunctionSignature<RETURN extends Value,PARAM extends Value>
First-order function signature whose every parameters has the same datatype
|
class |
SingleParameterTypedFirstOrderFunctionSignature<RETURN extends Value,PARAM extends Value>
First-order function signature whose every parameters has the same datatype
|
Modifier and Type | Interface and Description |
---|---|
interface |
Function<RETURN_T extends Value>
XACML function.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseFunction<RETURN_T extends Value>
Base class for XACML functions.
|
class |
ComparisonFunction<AV extends AttributeValue & Comparable<AV>>
A superclass of all the standard comparison functions (return a boolean).
|
class |
DatatypeConversionFunction<PARAM_T extends AttributeValue,RETURN_T extends AttributeValue>
A superclass of primitive datatype conversion functions such as double-to-integer, integer-to-double, *-from-string, *-to-string, etc.
|
class |
EqualTypeMatchFunction<PARAM extends AttributeValue>
Generic match function taking parameters of same/equal type, like standard (A.3.1) Equality predicates and special match function x500Name-match
|
static class |
FirstOrderBagFunctions.AtLeastOneMemberOf<AV extends AttributeValue>
Generic 'type-at-least-one-member-of' function
|
static class |
FirstOrderBagFunctions.BagContains<AV extends AttributeValue>
Generic 'type-is-in' function
|
static class |
FirstOrderBagFunctions.BagSize<AV extends AttributeValue>
Generic 'type-bag-size' function
|
static class |
FirstOrderBagFunctions.Intersection<AV extends AttributeValue>
Generic 'type-intersection' function
|
static class |
FirstOrderBagFunctions.PrimitiveToBag<AV extends AttributeValue>
Generic 'type-bag' function
|
static class |
FirstOrderBagFunctions.SetEquals<AV extends AttributeValue>
Generic 'type-set-equals' function
|
static class |
FirstOrderBagFunctions.SetFunction<AV extends AttributeValue,RETURN extends Value>
Base class of all *-set functions
|
static class |
FirstOrderBagFunctions.SingletonBagToPrimitive<AV extends AttributeValue>
Generic 'type-one-and-only' function
|
static class |
FirstOrderBagFunctions.Subset<AV extends AttributeValue>
Generic 'type-subset' function
|
static class |
FirstOrderBagFunctions.Union<AV extends AttributeValue>
Generic 'type-union' function
|
class |
FirstOrderFunction<RETURN extends Value>
Superclass of "first-order" functions, "first-order" as opposed to "higher-order".
|
class |
HigherOrderBagFunction<RETURN_T extends Value,SUB_RETURN_T extends AttributeValue>
Higher-order bag function
|
class |
MultiParameterTypedFirstOrderFunction<RETURN_T extends Value>
Superclass of "first-order" functions of multi-type parameters, i.e.
|
class |
NonEqualTypeMatchFunction<T0 extends AttributeValue,T1 extends AttributeValue>
Generic match functions taking two parameters of possibly different types, e.g.
|
class |
SingleParameterTypedFirstOrderFunction<RETURN_T extends Value,PARAM_T extends Value>
Superclass of "first-order" functions of single-type parameters, i.e.
|
Modifier and Type | Class and Description |
---|---|
class |
Datatype<V extends Value>
Expression evaluation return type (private/package-visible-only constructors are there to make sure only derived classes
PrimitiveDatatype and BagDatatype may be instantiated.) |
Modifier and Type | Interface and Description |
---|---|
interface |
AttributeValue
The base type for all primitive/non-bag attribute values used in a policy or request/response.
|
interface |
PrimitiveValue
The base type for all primitive/non-bag values that may be used as function arguments (e.g.
|
Modifier and Type | Class and Description |
---|---|
class |
AnyUriValue
Represent the URI value that this class represents
|
class |
AttributeBag<AV extends AttributeValue>
Attribute bag (section 7.3.2 of XACML specification), i.e.
|
class |
Bag<AV extends AttributeValue>
Bag of values (elements) as defined in ยง7.3.2 of XACML core specification (Attribute bags): The values in a bag are not ordered, and some of the values may be duplicates.
|
class |
Base64BinaryValue
Representation of an xs:base64Binary value.
|
class |
BaseTimeValue<TAV extends BaseTimeValue<TAV>>
Superclass of date/time attribute values, i.e.
|
class |
BooleanValue
Representation of an xs:boolean value.
|
class |
DateTimeValue
Representation of an xs:dateTime value.
|
class |
DateValue
Representation of an xs:date value.
|
class |
DayTimeDurationValue
Representation of an xs:dayTimeDuration value.
|
class |
DnsNameWithPortRangeValue
Represents the DNSName datatype introduced in XACML 2.0.
|
class |
DoubleValue
Representation of an xs:double value.
|
class |
DurationValue<DAV extends DurationValue<DAV>>
Superclass of duration attribute values, i.e.
|
class |
HexBinaryValue
Representation of an xs:hexBinary value.
|
class |
IntegerValue
Representation of an xs:integer value.
|
class |
IpAddressValue
Represents the IPAddress datatype introduced in XACML 2.0.
|
class |
NumericValue<N extends Number,NAV extends NumericValue<N,NAV>>
Superclass of all numeric Attribute Values (integer, double...)
|
class |
Rfc822NameValue
Representation of an RFC 822 email address.
|
class |
SimpleValue<V>
Superclass of all "simple" Attribute Values, including values of any XACML standard datatype; "simple" as in "simple type" or "simple content" of XML schema.
|
class |
StringParseableValue<V>
Attribute Value based on string or possibly other type of
Serializable content, without any extra XML attributes. |
class |
StringValue
Representation of an xs:string value.
|
class |
TimeValue
Representation of an xs:time value.
|
class |
X500NameValue
Representation of an X.500 Directory Name.
|
class |
XPathValue
Representation of XACML xpathExpression datatype.
|
class |
YearMonthDurationValue
Representation of an xs:yearMonthDuration value.
|
Modifier and Type | Method and Description |
---|---|
abstract V[] |
Datatype.newArray(int length)
Creates a new array with this as component type
|
Modifier and Type | Method and Description |
---|---|
abstract V |
Datatype.cast(Value val)
Casts a value to the class or interface represented by this datatype.
|
Bag<AV> |
BagDatatype.cast(Value val) |
AV |
PrimitiveDatatype.cast(Value val) |
abstract boolean |
Datatype.isInstance(Value val)
This method returns true if the specified value argument is an instance of the represented datatype; it returns false otherwise
|
boolean |
BagDatatype.isInstance(Value val) |
boolean |
PrimitiveDatatype.isInstance(Value val) |
Copyright © 2012–2020. All rights reserved.