PARAM
- type of compared parameterspublic class EqualTypeMatchFunction<PARAM extends AttributeValue> extends SingleParameterTypedFirstOrderFunction<BooleanValue,PARAM>
Modifier and Type | Class and Description |
---|---|
static class |
EqualTypeMatchFunction.CallFactory<PARAM_T extends AttributeValue>
Equal-type match function call factory
|
static interface |
EqualTypeMatchFunction.CallFactoryBuilder<PARAM_T extends AttributeValue>
Equal-type match function call factory builder
|
static class |
EqualTypeMatchFunction.EqualIgnoreCaseMatcher<PARAM extends SimpleValue<String>>
*-equal-ignore-case function matcher
|
static class |
EqualTypeMatchFunction.EqualMatcher<PARAM extends AttributeValue>
*-equal function matcher
|
static interface |
EqualTypeMatchFunction.Matcher<PARAM_T extends AttributeValue>
Generic match method interface
|
functionSignature
AUTHZFORCE_EXTENSION_PREFIX, XACML_NS_1_0, XACML_NS_2_0, XACML_NS_3_0
Constructor and Description |
---|
EqualTypeMatchFunction(String functionName,
Datatype<PARAM> paramType,
EqualTypeMatchFunction.CallFactoryBuilder<PARAM> callFactoryBuilder)
Constructor based on a match method call factory builder
|
EqualTypeMatchFunction(String functionName,
Datatype<PARAM> paramType,
EqualTypeMatchFunction.Matcher<PARAM> matcher)
Constructor based on a match function
|
Modifier and Type | Method and Description |
---|---|
FirstOrderFunctionCall<BooleanValue> |
newCall(List<Expression<?>> argExpressions,
Datatype<?>... remainingArgTypes)
Returns a function call for calling this function.
|
getParameterTypes, getReturnType
newCall
equals, getId, getIndeterminateArgException, getIndeterminateArgMessage, hashCode, toString
public EqualTypeMatchFunction(String functionName, Datatype<PARAM> paramType, EqualTypeMatchFunction.Matcher<PARAM> matcher)
functionName
- the standard XACML name of the function to be handled by this object, including the full namespaceparamType
- parameter typematcher
- raw match methodpublic EqualTypeMatchFunction(String functionName, Datatype<PARAM> paramType, EqualTypeMatchFunction.CallFactoryBuilder<PARAM> callFactoryBuilder)
functionName
- the standard XACML name of the function to be handled by this object, including the full namespaceparamType
- parameter typecallFactoryBuilder
- raw match methodpublic FirstOrderFunctionCall<BooleanValue> newCall(List<Expression<?>> argExpressions, Datatype<?>... remainingArgTypes)
newCall
in class FirstOrderFunction<BooleanValue>
argExpressions
- function arguments (expressions)remainingArgTypes
- types of remaining inputs to be passed only at request evaluation time, if not all arguments are specified in argExpressions
. Therefore, only their type is checked at
this point. The actual argument values will be passed as last parameters when calling
BaseFirstOrderFunctionCall.evaluate(org.ow2.authzforce.core.pdp.api.EvaluationContext, boolean, org.ow2.authzforce.core.pdp.api.value.AttributeValue...)
at request evaluation
time, via the returned FunctionCall
.Copyright © 2012–2020. All rights reserved.