Package | Description |
---|---|
org.wso2.balana.attr |
Contains many of the classes related to attributes and attribute
retrieval.
|
org.wso2.balana.attr.xacml3 | |
org.wso2.balana.cond |
Support for Conditions is in this package.
|
org.wso2.balana.cond.xacml3 | |
org.wso2.balana.ctx |
All of the classes that support the context schema are in this
package.
|
org.wso2.balana.ctx.xacml2 | |
org.wso2.balana.ctx.xacml3 | |
org.wso2.balana.finder |
The
finder package supports all of the pieces of the
XACML specification that require custom implementation. |
org.wso2.balana.finder.impl |
The few included finder modules are provided in this package.
|
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
AttributeSelector.evaluate(EvaluationCtx context)
Invokes the
AttributeFinder used by the given EvaluationCtx to try
to resolve an attribute value. |
EvaluationResult |
AttributeValue.evaluate(EvaluationCtx context)
Implements the required interface from
Evaluatable . |
EvaluationResult |
AttributeDesignator.evaluate(EvaluationCtx evaluationCtx)
Evaluates the pre-assigned meta-data against the given context, trying to find some matching
values.
|
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
AttributeSelector.evaluate(EvaluationCtx context)
Invokes the
AttributeFinder used by the given EvaluationCtx to try
to resolve an attribute value. |
EvaluationResult |
AttributeDesignator.evaluate(EvaluationCtx context)
Evaluates the pre-assigned meta-data against the given context, trying to find some matching
values.
|
Modifier and Type | Method and Description |
---|---|
protected EvaluationResult |
FunctionBase.evalArgs(List<Evaluatable> params,
EvaluationCtx context,
AttributeValue[] args)
Evaluates each of the parameters, in order, filling in the argument array with the resulting
values.
|
EvaluationResult |
Apply.evaluate(EvaluationCtx context)
Evaluates the apply object using the given function.
|
EvaluationResult |
Evaluatable.evaluate(EvaluationCtx context)
Evaluates the object using the given context, and either returns an error or a resulting
value.
|
EvaluationResult |
VariableReference.evaluate(EvaluationCtx context)
Evaluates the referenced expression using the given context, and either returns an error or a
resulting value.
|
EvaluationResult |
Condition.evaluate(EvaluationCtx context)
Evaluates the
Condition by evaluating its child Expression . |
EvaluationResult |
EqualFunction.evaluate(List<Evaluatable> inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
StringFunction.evaluate(List<Evaluatable> inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
Function.evaluate(List<Evaluatable> inputs,
EvaluationCtx context)
Evaluates the
Function using the given inputs. |
EvaluationResult |
IPInRangeFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluates the ip-in-range function, which takes three
IPAddressAttribute values. |
EvaluationResult |
HigherOrderFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluates the function, using the specified parameters.
|
EvaluationResult |
ComparisonFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
AddFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
NOfFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
ModFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
FloorFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
StringNormalizeFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
GeneralSetFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluates the function, using the specified parameters.
|
EvaluationResult |
GeneralBagFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
AbsFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
RoundFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
NumericConvertFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
DateMathFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
URLStringCatFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluates the function given the input data.
|
EvaluationResult |
MultiplyFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
NotFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
LogicalFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
ConditionBagFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
TimeInRangeFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluates the time-in-range function, which takes three
TimeAttribute values. |
EvaluationResult |
SubtractFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
MatchFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
ConditionSetFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluates the function, using the specified parameters.
|
EvaluationResult |
DivideFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
static EvaluationResult |
EvaluationResult.getFalseInstance()
Returns an
EvaluationResult that represents a false value. |
static EvaluationResult |
EvaluationResult.getInstance(boolean value)
Returns an
EvaluationResult that represents the boolean value provided. |
static EvaluationResult |
EvaluationResult.getTrueInstance()
Returns an
EvaluationResult that represents a true value. |
protected static EvaluationResult |
FunctionBase.makeProcessingError(String message)
Create an
EvaluationResult that indicates a processing error with the specified
message. |
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
StringConversionFunction.evaluate(List<Evaluatable> inputs,
EvaluationCtx context) |
EvaluationResult |
StringComparingFunction.evaluate(List<Evaluatable> inputs,
EvaluationCtx context) |
EvaluationResult |
StringCreationFunction.evaluate(List<Evaluatable> inputs,
EvaluationCtx context) |
EvaluationResult |
SubStringFunction.evaluate(List<Evaluatable> inputs,
EvaluationCtx context) |
EvaluationResult |
XPathFunction.evaluate(List<Evaluatable> inputs,
EvaluationCtx context) |
Modifier and Type | Method and Description |
---|---|
protected EvaluationResult |
BasicEvaluationCtx.callHelper(URI type,
URI id,
String issuer,
URI category)
Private helper that calls the finder if it's non-null, or else returns an empty bag
|
EvaluationResult |
BasicEvaluationCtx.getAttribute(String path,
URI type,
URI category,
URI contextSelector,
String xpathVersion)
Returns the attribute value(s) retrieved using the given XPath expression.
|
EvaluationResult |
EvaluationCtx.getAttribute(String path,
URI type,
URI category,
URI contextSelector,
String xpathVersion)
Returns the attribute value(s) retrieved using the given XPath expression.
|
EvaluationResult |
EvaluationCtx.getAttribute(URI type,
URI id,
String issuer,
URI category)
Returns available subject attribute value(s).
|
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
XACML2EvaluationCtx.getActionAttribute(URI type,
URI id,
URI category,
String issuer)
Returns attribute value(s) from the action section of the request.
|
EvaluationResult |
XACML2EvaluationCtx.getAttribute(URI type,
URI id,
String issuer,
URI category) |
EvaluationResult |
XACML2EvaluationCtx.getEnvironmentAttribute(URI type,
URI id,
URI category,
String issuer)
Returns attribute value(s) from the environment section of the request.
|
EvaluationResult |
XACML2EvaluationCtx.getResourceAttribute(URI type,
URI id,
URI category,
String issuer)
Returns attribute value(s) from the resource section of the request.
|
EvaluationResult |
XACML2EvaluationCtx.getSubjectAttribute(URI type,
URI id,
URI category,
String issuer)
Returns attribute value(s) from the subject section of the request.
|
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
XACML3EvaluationCtx.getAttribute(String path,
URI type,
URI category,
URI contextSelector,
String xpathVersion) |
EvaluationResult |
XACML3EvaluationCtx.getAttribute(URI type,
URI id,
String issuer,
URI category) |
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
AttributeFinder.findAttribute(String contextPath,
String contextSelector,
URI attributeType,
Node root,
EvaluationCtx context,
String xpathVersion)
Tries to find attribute values based on the given selector data.
|
EvaluationResult |
AttributeFinder.findAttribute(String contextPath,
URI attributeType,
EvaluationCtx context,
String xpathVersion)
Tries to find attribute values based on the given selector data.
|
EvaluationResult |
AttributeFinderModule.findAttribute(String contextPath,
URI attributeType,
String contextSelector,
Node root,
EvaluationCtx context,
String xpathVersion)
Tries to find attribute values based on the given selector data.
|
EvaluationResult |
AttributeFinder.findAttribute(URI attributeType,
URI attributeId,
String issuer,
URI category,
EvaluationCtx context)
Tries to find attribute values based on the given designator data.
|
EvaluationResult |
AttributeFinderModule.findAttribute(URI attributeType,
URI attributeId,
String issuer,
URI category,
EvaluationCtx context)
Tries to find attribute values based on the given designator data.
|
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
SelectorModule.findAttribute(String contextPath,
URI attributeType,
String contextSelector,
Node root,
EvaluationCtx context,
String xpathVersion) |
EvaluationResult |
CurrentEnvModule.findAttribute(URI attributeType,
URI attributeId,
String issuer,
URI category,
EvaluationCtx context)
Used to get the current time, date, or dateTime.
|
Copyright © 2015 WSO2. All rights reserved.