Uses of Interface
org.ow2.authzforce.core.pdp.api.value.AttributeValue
-
-
Uses of AttributeValue in org.ow2.authzforce.core.pdp.api
Classes in org.ow2.authzforce.core.pdp.api with type parameters of type AttributeValue Modifier and Type Class Description class
MutableAttributeBag<AV extends AttributeValue>
Growable/updatable attribute bag, i.e.class
PepActionAttributeAssignment<AV extends AttributeValue>
(XACML-like) AttributeAssignment to be passed to a PEP action (obligation, advice).interface
SingleNamedAttributeProvider<AV extends AttributeValue>
"Named" Attribute Provider, similar toNamedAttributeProvider
but provides one and only one named attribute, used for AttributeDesignator/AttributeSelector (ContextSelectorId) evaluationMethods in org.ow2.authzforce.core.pdp.api with type parameters of type AttributeValue Modifier and Type Method Description <AV extends AttributeValue>
voidEvaluationContext.Listener. attributeSelectorResultConsumed(AttributeSelectorExpression<AV> attributeSelector, Bag<AV> result)
To be called whenEvaluationContext.getAttributeSelectorResult(AttributeSelectorExpression)
is called<AV extends AttributeValue>
voidEvaluationContext.Listener. attributeSelectorResultProduced(AttributeSelectorExpression<AV> attributeSelector, Optional<AttributeBag<XPathValue>> contextSelectorBag, Bag<AV> result)
To be called whenEvaluationContext.putAttributeSelectorResultIfAbsent(AttributeSelectorExpression, Bag)
is called iff the result was not available in the context yet (i.e.<AV extends AttributeValue>
AttributeBag<AV>NamedAttributeProvider. get(AttributeFqn attributeFQN, Datatype<AV> datatype, EvaluationContext individualDecisionContext, Optional<EvaluationContext> mdpContext)
Provides values of the attribute matching the given designator data.<AV extends AttributeValue>
Bag<AV>EvaluationContext. getAttributeSelectorResult(AttributeSelectorExpression<AV> attributeSelector)
Returns available context evaluation result for a given AttributeSelector.<AV extends AttributeValue>
AttributeBag<AV>BaseEvaluationContext. getNamedAttributeValue(AttributeFqn attributeFqn, Datatype<AV> datatype)
Returns the value of a named attribute available in the request context.<AV extends AttributeValue>
AttributeBag<AV>EvaluationContext. getNamedAttributeValue(AttributeFqn attributeFQN, Datatype<AV> datatype)
Returns the value of a named attribute available in the request context.<AV extends AttributeValue>
voidEvaluationContext.Listener. namedAttributeValueConsumed(AttributeFqn attributeFQN, AttributeBag<AV> value)
To be called whenEvaluationContext.getNamedAttributeValue(AttributeFqn, Datatype)
is called<AV extends AttributeValue>
voidEvaluationContext.Listener. namedAttributeValueProduced(AttributeFqn attributeFQN, AttributeBag<AV> value)
To be called whenEvaluationContext.putNamedAttributeValue(AttributeFqn, AttributeBag, boolean)
is called iff the value was not available in the context yet (i.e.<AV extends AttributeValue>
booleanEvaluationContext. putAttributeSelectorResultIfAbsent(AttributeSelectorExpression<AV> attributeSelector, Bag<AV> result)
Put an Attribute Selector's values in the context, only if the AttributeSelector has not been already evaluated in this context.Methods in org.ow2.authzforce.core.pdp.api with parameters of type AttributeValue Modifier and Type Method Description AV
MutableAttributeBag. addRaw(AttributeValue value)
Adds value to bagMethod parameters in org.ow2.authzforce.core.pdp.api with type arguments of type AttributeValue Modifier and Type Method Description void
MutableAttributeBag. addAll(Collection<? extends AttributeValue> list)
Appends all the elements in the specified collection to the end of this bag, in the order that they are returned by the specified collection's iterator (optional operation). -
Uses of AttributeValue in org.ow2.authzforce.core.pdp.api.expression
Classes in org.ow2.authzforce.core.pdp.api.expression with type parameters of type AttributeValue Modifier and Type Interface Description interface
AttributeDesignatorExpression<AV extends AttributeValue>
AttributeDesignator evaluatorinterface
AttributeSelectorExpression<AV extends AttributeValue>
AttributeSelector evaluator, which uses XPath expressions to resolve values from the Request or elsewhere.class
ConstantPrimitiveAttributeValueExpression<V extends AttributeValue>
Expression wrapper for primitive constant AttributeValues to be used as Expressions, e.g.class
GenericAttributeProviderBasedAttributeDesignatorExpression<AV extends AttributeValue>
AttributeDesignator evaluator initialized with and using anNamedAttributeProvider
to retrieve the attribute valueMethods in org.ow2.authzforce.core.pdp.api.expression that return AttributeValue Modifier and Type Method Description static AttributeValue
Expressions. evalPrimitive(Expression<?> arg, EvaluationContext context, Optional<EvaluationContext> mdpContext)
Evaluate single-valued (primitive) argument expressionMethods in org.ow2.authzforce.core.pdp.api.expression that return types with arguments of type AttributeValue Modifier and Type Method Description ConstantExpression<? extends AttributeValue>
ExpressionFactory. getInstance(oasis.names.tc.xacml._3_0.core.schema.wd_17.AttributeValueType jaxbAttrVal, Optional<XPathCompilerProxy> xPathCompiler)
Parse/create an attribute value expression from XACML-schema-derived JAXB modelMethod parameters in org.ow2.authzforce.core.pdp.api.expression with type arguments of type AttributeValue Modifier and Type Method Description FunctionExpression
ExpressionFactory. getFunction(String functionId, Datatype<? extends AttributeValue> subFunctionReturnType)
Gets a function instance (generic or non-generic). -
Uses of AttributeValue in org.ow2.authzforce.core.pdp.api.func
Classes in org.ow2.authzforce.core.pdp.api.func with type parameters of type AttributeValue Modifier and Type Class Description 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.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
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
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-matchstatic class
EqualTypeMatchFunction.CallFactory<PARAM_T extends AttributeValue>
Equal-type match function call factorystatic interface
EqualTypeMatchFunction.CallFactoryBuilder<PARAM_T extends AttributeValue>
Equal-type match function call factory builderstatic class
EqualTypeMatchFunction.EqualMatcher<PARAM extends AttributeValue>
*-equal function matcherstatic interface
EqualTypeMatchFunction.Matcher<PARAM_T extends AttributeValue>
Generic match method interfacestatic class
FirstOrderBagFunctions.AtLeastOneMemberOf<AV extends AttributeValue>
Generic 'type-at-least-one-member-of' functionstatic class
FirstOrderBagFunctions.BagContains<AV extends AttributeValue>
Generic 'type-is-in' functionstatic class
FirstOrderBagFunctions.BagSize<AV extends AttributeValue>
Generic 'type-bag-size' functionstatic class
FirstOrderBagFunctions.Intersection<AV extends AttributeValue>
Generic 'type-intersection' functionstatic class
FirstOrderBagFunctions.PrimitiveToBag<AV extends AttributeValue>
Generic 'type-bag' functionstatic class
FirstOrderBagFunctions.SetEquals<AV extends AttributeValue>
Generic 'type-set-equals' functionstatic class
FirstOrderBagFunctions.SetFunction<AV extends AttributeValue,RETURN extends Value>
Base class of all *-set functionsstatic class
FirstOrderBagFunctions.SingletonBagToPrimitive<AV extends AttributeValue>
Generic 'type-one-and-only' functionstatic class
FirstOrderBagFunctions.Subset<AV extends AttributeValue>
Generic 'type-subset' functionstatic class
FirstOrderBagFunctions.Union<AV extends AttributeValue>
Generic 'type-union' functionclass
HigherOrderBagFunction<RETURN_T extends Value,SUB_RETURN_T extends AttributeValue>
Higher-order bag functionclass
NonEqualTypeMatchFunction<T0 extends AttributeValue,T1 extends AttributeValue>
Generic match functions taking two parameters of possibly different types, e.g.class
NonEqualTypeMatchFunction<T0 extends AttributeValue,T1 extends AttributeValue>
Generic match functions taking two parameters of possibly different types, e.g.static class
NonEqualTypeMatchFunction.CallFactory<T0 extends AttributeValue,T1 extends AttributeValue>
Match function call factorystatic class
NonEqualTypeMatchFunction.CallFactory<T0 extends AttributeValue,T1 extends AttributeValue>
Match function call factorystatic interface
NonEqualTypeMatchFunction.CallFactoryBuilder<T0 extends AttributeValue,T1 extends AttributeValue>
Match function call factory builderstatic interface
NonEqualTypeMatchFunction.CallFactoryBuilder<T0 extends AttributeValue,T1 extends AttributeValue>
Match function call factory builderstatic interface
NonEqualTypeMatchFunction.Matcher<T0 extends AttributeValue,T1 extends AttributeValue>
Generic match method interface for values of different typesstatic interface
NonEqualTypeMatchFunction.Matcher<T0 extends AttributeValue,T1 extends AttributeValue>
Generic match method interface for values of different typesMethods in org.ow2.authzforce.core.pdp.api.func with type parameters of type AttributeValue Modifier and Type Method Description static <V extends AttributeValue>
booleanFirstOrderBagFunctions.BagContains. eval(V arg0, Bag<V> bag)
Tests whether a bag contains a given primitive valuestatic <AV extends AttributeValue>
Set<Function<?>>FirstOrderBagFunctions. getFunctions(AttributeDatatype<AV> paramType)
Creates/gets all first-order bag functions taking a given primitive datatype as bag's primitive type, i.e.abstract <SUB_RETURN_T extends AttributeValue>
HigherOrderBagFunction<?,SUB_RETURN_T>GenericHigherOrderFunctionFactory. getInstance(Datatype<SUB_RETURN_T> subFunctionReturnType)
Returns instance of the Higher-order functionMethods in org.ow2.authzforce.core.pdp.api.func with parameters of type AttributeValue Modifier and Type Method Description RETURN_T
BaseFirstOrderFunctionCall.EagerBagEval. evaluate(EvaluationContext context, Optional<EvaluationContext> mdpContext, AttributeValue... remainingArgs)
RETURN_T
BaseFirstOrderFunctionCall.EagerMultiPrimitiveTypeEval. evaluate(EvaluationContext context, Optional<EvaluationContext> mdpContext, AttributeValue... remainingArgs)
protected abstract RETURN_T
BaseFirstOrderFunctionCall.EagerPartlyBagEval. evaluate(Deque<PRIMITIVE_PARAM_T> primArgsBeforeBag, Bag<PRIMITIVE_PARAM_T>[] bagArgs, PRIMITIVE_PARAM_T[] remainingArgs)
Make the call with attribute values as arguments.RETURN_T
BaseFirstOrderFunctionCall.EagerPartlyBagEval. evaluate(EvaluationContext context, Optional<EvaluationContext> mdpContext, AttributeValue... remainingArgs)
RETURN_T
BaseFirstOrderFunctionCall.EagerSinglePrimitiveTypeEval. evaluate(EvaluationContext context, Optional<EvaluationContext> mdpContext, AttributeValue... remainingArgs)
RETURN
BaseFirstOrderFunctionCall. evaluate(EvaluationContext context, Optional<EvaluationContext> mdpContext, boolean checkRemainingArgTypes, AttributeValue... remainingArgs)
RETURN
FirstOrderFunctionCall. evaluate(EvaluationContext context, Optional<EvaluationContext> mdpContext, boolean checkRemainingArgTypes, AttributeValue... remainingArgs)
Make the call in a given evaluation context.RETURN
FirstOrderFunctionCall. evaluate(EvaluationContext context, Optional<EvaluationContext> mdpContext, AttributeValue... remainingArgs)
Make the call in a given evaluation context and argument values resolved at evaluation time.Method parameters in org.ow2.authzforce.core.pdp.api.func with type arguments of type AttributeValue Modifier and Type Method Description protected abstract RETURN_T
BaseFirstOrderFunctionCall.EagerMultiPrimitiveTypeEval. evaluate(Deque<AttributeValue> args)
Make the call with attribute values as arguments. -
Uses of AttributeValue in org.ow2.authzforce.core.pdp.api.io
Classes in org.ow2.authzforce.core.pdp.api.io with type parameters of type AttributeValue Modifier and Type Class Description class
ImmutableNamedXacmlAttributeParsingResult<AV extends AttributeValue>
Immutable implementation ofNamedXacmlAttributeParsingResult
interface
NamedXacmlAttributeParsingResult<AV extends AttributeValue>
Result of parsing an input XACML named attributeclass
SingleCategoryAttributes<AV_BAG extends Iterable<? extends AttributeValue>,RETURNED_ATTRIBUTE_CATEGORY>
Internal equivalent of XACML Attributes element, i.e.static interface
SingleCategoryAttributes.NamedAttributeIteratorConverter<V_BAG extends Iterable<? extends AttributeValue>>
Named Attribute Iterator converterstatic class
XacmlJaxbParsingUtils.ContentSkippingXacmlJaxbAttributesParserFactory<BAG extends Iterable<? extends AttributeValue>>
Factory for JAXB/XACML <Attributes> parser that only parses the named attributes (Attribute elements), not the Contentstatic class
XacmlJaxbParsingUtils.FullXacmlJaxbAttributesParserFactory<BAG extends Iterable<? extends AttributeValue>>
Factory for JAXB/XACML <Attributes> Parser that parses the named attributes (Attribute elements), and the free-form Contentclass
XacmlRequestAttributeParser<INPUT_ATTRIBUTE,BAG extends Iterable<? extends AttributeValue>>
XACML Request Attribute parser that is aware of all named attributes parsed in the request.Method parameters in org.ow2.authzforce.core.pdp.api.io with type arguments of type AttributeValue Modifier and Type Method Description protected static void
XacmlRequestAttributeParser. validateResourceScope(AttributeFqn attributeFQN, Iterable<? extends AttributeValue> attributeValues)
Validates the 'scope' attribute as defined in Multiple Decision Profile (§2.1 and §5) -
Uses of AttributeValue in org.ow2.authzforce.core.pdp.api.value
Classes in org.ow2.authzforce.core.pdp.api.value with type parameters of type AttributeValue Modifier and Type Class Description class
AttributeBag<AV extends AttributeValue>
Attribute bag (section 7.3.2 of XACML specification), i.e.class
AttributeDatatype<AV extends AttributeValue>
AttributeValue datatype, i.e.interface
AttributeValueFactory<AV extends AttributeValue>
Datatype-specific Attribute Value Factory/Parser.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
BagDatatype<AV extends AttributeValue>
Bag datatype for bags of primitive datatypesclass
BaseAttributeValueFactory<AV extends AttributeValue>
Base class for datatype-specific Attribute Value Factory/Parser.static class
SimpleValue.BaseFactory<AV extends AttributeValue>
Datatype-specific Attribute Value Factory that supports values based on singleSerializable
element (i.e.class
StringContentOnlyValueFactory<AV extends AttributeValue>
Datatype-specific Attribute Value Factory that supports values only based on string content, without any XML attributes, and independent of the context, i.e.static class
StringParseableValue.Factory<AV extends AttributeValue>
Datatype-specific Attribute Value Factory that supports values based on string and possibly other type ofSerializable
content without any extra XML attributes.Classes in org.ow2.authzforce.core.pdp.api.value that implement AttributeValue Modifier and Type Class Description class
AnyUriValue
Represent the URI value that this class representsclass
Base64BinaryValue
Representation of a xs:base64Binary value.class
BaseTimeValue<TAV extends BaseTimeValue<TAV>>
Superclass of date/time attribute values, i.e.class
BooleanValue
Representation of a xs:boolean value.class
DateTimeValue
Representation of a xs:dateTime value.class
DateValue
Representation of a xs:date value.class
DayTimeDurationValue
Representation of a xs:dayTimeDuration value.class
DnsNameWithPortRangeValue
Represents the DNSName datatype introduced in XACML 2.0.class
DoubleValue
Representation of a xs:double value.class
DurationValue<DAV extends DurationValue<DAV>>
Superclass of duration attribute values, i.e.class
HexBinaryValue
Representation of a xs:hexBinary value.class
IntegerValue
Representation of a 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 ofSerializable
content, without any extra XML attributes.class
StringValue
Representation of a xs:string value.class
TimeValue
Representation of a xs:time value.class
X500NameValue
Representation of an X.500 Directory Name.class
XPathValue
Representation of XACML xpathExpression datatype.class
YearMonthDurationValue
Representation of a xs:yearMonthDuration value.Methods in org.ow2.authzforce.core.pdp.api.value with type parameters of type AttributeValue Modifier and Type Method Description static <AV extends AttributeValue>
Bag<AV>Bags. empty(Datatype<AV> elementDatatype, IndeterminateEvaluationException causeForEmpty)
Creates instance of immutable empty bag with given exception as reason for bag being empty (no attribute value), e.g.static <AV extends AttributeValue>
AttributeBag<AV>Bags. emptyAttributeBag(Datatype<AV> elementDatatype, IndeterminateEvaluationException causeForEmpty)
Creates instance of immutable empty attribute bag with given exception as reason for bag being empty (no attribute value), withAttributeSources.REQUEST
as attribute sourcestatic <AV extends AttributeValue>
AttributeBag<AV>Bags. emptyAttributeBag(Datatype<AV> elementDatatype, IndeterminateEvaluationException causeForEmpty, AttributeSource attributeValueSource)
Creates instance of immutable empty attribute bag containing val and only val value with given exception as reason for bag being empty (no attribute value), e.g.static <AV extends AttributeValue>
AttributeBag<AV>Bags. newAttributeBag(Datatype<AV> elementDatatype, Collection<AV> values)
Creates instance of immutable attribute bag withAttributeSources.REQUEST
as attribute source.static <AV extends AttributeValue>
AttributeBag<AV>Bags. newAttributeBag(Datatype<AV> elementDatatype, Collection<AV> values, AttributeSource attributeBagSource)
Creates instance of immutable attribute bag.static <AV extends AttributeValue>
Bag<AV>Bags. newBag(Datatype<AV> elementDatatype, Collection<AV> values)
Creates instance of immutable bag of values.static <AV extends AttributeValue>
Bag<AV>Bags. singleton(Datatype<AV> elementDatatype, AV val)
Creates instance of immutable bag containing val and only val valuestatic <AV extends AttributeValue>
AttributeBag<AV>Bags. singletonAttributeBag(Datatype<AV> elementDatatype, AV val)
Creates instance of immutable attribute bag containing val and only val value withAttributeSources.REQUEST
as attribute sourcestatic <AV extends AttributeValue>
AttributeBag<AV>Bags. singletonAttributeBag(Datatype<AV> elementDatatype, AV val, AttributeSource attributeValueSource)
Creates instance of immutable attribute bag containing val and only val valueMethods in org.ow2.authzforce.core.pdp.api.value that return AttributeValue Modifier and Type Method Description AttributeValue
AttributeValueFactoryRegistry. newAttributeValue(Serializable rawValue)
Creates anAttributeValue
from raw value using best compatibleAttributeValueFactory
available in this registry; compatible means that it supportsrawValue.getClass()
as input typeAttributeValue
ImmutableAttributeValueFactoryRegistry. newAttributeValue(Serializable rawValue)
Methods in org.ow2.authzforce.core.pdp.api.value that return types with arguments of type AttributeValue Modifier and Type Method Description ConstantExpression<? extends AttributeValue>
AttributeValueFactoryRegistry. newExpression(String datatypeId, List<Serializable> content, Map<QName,String> otherAttributes, Optional<XPathCompilerProxy> xPathCompiler)
Create internal model's AttributeValue expressionConstantExpression<? extends AttributeValue>
ImmutableAttributeValueFactoryRegistry. newExpression(String datatypeId, List<Serializable> content, Map<QName,String> otherAttributes, Optional<XPathCompilerProxy> xPathCompiler)
Create internal model's AttributeValue expression
-