Package | Description |
---|---|
org.wso2.balana |
This is the root package, which contains the PDP class where most
people will want to start.
|
org.wso2.balana.attr |
Contains many of the classes related to attributes and attribute
retrieval.
|
org.wso2.balana.attr.xacml3 | |
org.wso2.balana.combine |
All of the combining algorithm support is in this package.
|
org.wso2.balana.combine.xacml2 | |
org.wso2.balana.combine.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.
|
org.wso2.balana.xacml2 | |
org.wso2.balana.xacml3 |
Modifier and Type | Method and Description |
---|---|
AbstractResult |
AbstractPolicy.evaluate(EvaluationCtx context)
Tries to evaluate the policy by calling the combining algorithm on the given policies or
rules.
|
AbstractResult |
PolicyTreeElement.evaluate(EvaluationCtx context)
Evaluates this element in the policy tree, and therefore all elements underneath this
element.
|
abstract ObligationResult |
AbstractObligation.evaluate(EvaluationCtx ctx)
Evaluates obligation and creates the results
|
ResponseCtx |
PDP.evaluate(EvaluationCtx context)
Uses the given
EvaluationCtx against the available policies to determine a
response. |
AbstractResult |
PolicyReference.evaluate(EvaluationCtx context)
Tries to evaluate the policy by calling the combining algorithm on the given policies or
rules.
|
AbstractResult |
Rule.evaluate(EvaluationCtx context)
Evaluates the rule against the supplied context.
|
MatchResult |
AbstractPolicy.match(EvaluationCtx context)
Given the input context sees whether or not the request matches this policy.
|
MatchResult |
PolicyTreeElement.match(EvaluationCtx context)
Given the input context sees whether or not the request matches this element's target.
|
MatchResult |
PolicyReference.match(EvaluationCtx context)
Given the input context sees whether or not the request matches this policy.
|
abstract MatchResult |
AbstractTarget.match(EvaluationCtx context)
Determines whether this
AbstractTarget matches the input request (whether it is
applicable). |
MatchResult |
TargetMatch.match(EvaluationCtx context)
Determines whether this
TargetMatch matches the input request (whether it is
applicable) |
MatchResult |
Rule.match(EvaluationCtx context)
Given the input context sees whether or not the request matches this
Rule 's
Target . |
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
AttributeDesignator.evaluate(EvaluationCtx evaluationCtx)
Evaluates the pre-assigned meta-data against the given context, trying to find some matching
values.
|
EvaluationResult |
AttributeValue.evaluate(EvaluationCtx context)
Implements the required interface from
Evaluatable . |
EvaluationResult |
AttributeSelector.evaluate(EvaluationCtx context)
Invokes the
AttributeFinder used by the given EvaluationCtx to try
to resolve an attribute value. |
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
AttributeDesignator.evaluate(EvaluationCtx context)
Evaluates the pre-assigned meta-data against the given context, trying to find some matching
values.
|
EvaluationResult |
AttributeSelector.evaluate(EvaluationCtx context)
Invokes the
AttributeFinder used by the given EvaluationCtx to try
to resolve an attribute value. |
Modifier and Type | Method and Description |
---|---|
abstract AbstractResult |
CombiningAlgorithm.combine(EvaluationCtx context,
List parameters,
List inputs)
Combines the results of the inputs based on the context to produce some unified result.
|
abstract AbstractResult |
RuleCombiningAlgorithm.combine(EvaluationCtx context,
List parameters,
List ruleElements)
Combines the rules based on the context to produce some unified result.
|
abstract AbstractResult |
PolicyCombiningAlgorithm.combine(EvaluationCtx context,
List parameters,
List policyElements)
Combines the policies based on the context to produce some unified result.
|
Modifier and Type | Method and Description |
---|---|
AbstractResult |
DenyOverridesRuleAlg.combine(EvaluationCtx context,
List parameters,
List ruleElements)
Applies the combining rule to the set of rules based on the evaluation context.
|
AbstractResult |
FirstApplicablePolicyAlg.combine(EvaluationCtx context,
List parameters,
List policyElements)
Applies the combining rule to the set of policies based on the evaluation context.
|
AbstractResult |
DenyOverridesPolicyAlg.combine(EvaluationCtx context,
List parameters,
List policyElements)
Applies the combining rule to the set of policies based on the evaluation context.
|
AbstractResult |
FirstApplicableRuleAlg.combine(EvaluationCtx context,
List parameters,
List ruleElements)
Applies the combining rule to the set of rules based on the evaluation context.
|
AbstractResult |
OnlyOneApplicablePolicyAlg.combine(EvaluationCtx context,
List parameters,
List policyElements)
Applies the combining rule to the set of policies based on the evaluation context.
|
AbstractResult |
PermitOverridesRuleAlg.combine(EvaluationCtx context,
List parameters,
List ruleElements)
Applies the combining rule to the set of rules based on the evaluation context.
|
AbstractResult |
PermitOverridesPolicyAlg.combine(EvaluationCtx context,
List parameters,
List policyElements)
Applies the combining rule to the set of policies based on the evaluation context.
|
Modifier and Type | Method and Description |
---|---|
AbstractResult |
DenyOverridesRuleAlg.combine(EvaluationCtx context,
List parameters,
List ruleElements)
Applies the combining rule to the set of rules based on the evaluation context.
|
AbstractResult |
PermitUnlessDenyRuleAlg.combine(EvaluationCtx context,
List parameters,
List ruleElements) |
AbstractResult |
DenyOverridesPolicyAlg.combine(EvaluationCtx context,
List parameters,
List policyElements)
Applies the combining rule to the set of policies based on the evaluation context.
|
AbstractResult |
DenyUnlessPermitRuleAlg.combine(EvaluationCtx context,
List parameters,
List ruleElements) |
AbstractResult |
DenyUnlessPermitPolicyAlg.combine(EvaluationCtx context,
List parameters,
List policyElements) |
AbstractResult |
PermitOverridesRuleAlg.combine(EvaluationCtx context,
List parameters,
List ruleElements)
Applies the combining rule to the set of rules based on the evaluation context.
|
AbstractResult |
PermitUnlessDenyPolicyAlg.combine(EvaluationCtx context,
List parameters,
List policyElements) |
AbstractResult |
PermitOverridesPolicyAlg.combine(EvaluationCtx context,
List parameters,
List policyElements)
Applies the combining rule to the set of policies based on the evaluation context.
|
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 |
Condition.evaluate(EvaluationCtx context)
Evaluates the
Condition by evaluating its child Expression . |
EvaluationResult |
Evaluatable.evaluate(EvaluationCtx context)
Evaluates the object using the given context, and either returns an error or a resulting
value.
|
EvaluationResult |
Apply.evaluate(EvaluationCtx context)
Evaluates the apply object using the given function.
|
EvaluationResult |
VariableReference.evaluate(EvaluationCtx context)
Evaluates the referenced expression using the given context, and either returns an error or a
resulting value.
|
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 |
AbsFunction.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 |
RoundFunction.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 |
DateMathFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
IPInRangeFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluates the ip-in-range function, which takes three
IPAddressAttribute values. |
EvaluationResult |
TimeInRangeFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluates the time-in-range function, which takes three
TimeAttribute values. |
EvaluationResult |
FloorFunction.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 |
ModFunction.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 |
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 |
NotFunction.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 |
GeneralSetFunction.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 |
GeneralBagFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
SubtractFunction.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 |
HigherOrderFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluates the function, using the specified parameters.
|
EvaluationResult |
MultiplyFunction.evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
EvaluationResult |
DivideFunction.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.
|
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
StringComparingFunction.evaluate(List<Evaluatable> inputs,
EvaluationCtx context) |
EvaluationResult |
XPathFunction.evaluate(List<Evaluatable> inputs,
EvaluationCtx context) |
EvaluationResult |
StringCreationFunction.evaluate(List<Evaluatable> inputs,
EvaluationCtx context) |
EvaluationResult |
StringConversionFunction.evaluate(List<Evaluatable> inputs,
EvaluationCtx context) |
EvaluationResult |
SubStringFunction.evaluate(List<Evaluatable> inputs,
EvaluationCtx context) |
Modifier and Type | Class and Description |
---|---|
class |
BasicEvaluationCtx
Implementation of
EvaluationCtx . |
Modifier and Type | Method and Description |
---|---|
EvaluationCtx |
EvaluationCtxFactory.getEvaluationCtx(AbstractRequestCtx requestCtx,
PDPConfig pdpConfig) |
Modifier and Type | Method and Description |
---|---|
AbstractResult |
ResultFactory.getResult(int decision,
EvaluationCtx evaluationCtx)
Returns instance of
AbstractResult based one the XACML version. |
AbstractResult |
ResultFactory.getResult(int decision,
List<ObligationResult> obligationResults,
List<Advice> advices,
EvaluationCtx evaluationCtx)
Returns instance of
AbstractResult based one the XACML version. |
AbstractResult |
ResultFactory.getResult(int decision,
Status status,
EvaluationCtx evaluationCtx)
Returns instance of
AbstractResult based one the XACML version. |
AbstractResult |
ResultFactory.getResult(int decision,
Status status,
List<ObligationResult> obligationResults,
List<Advice> advices,
EvaluationCtx evaluationCtx)
Returns instance of
AbstractResult based one the XACML version. |
Modifier and Type | Class and Description |
---|---|
class |
XACML2EvaluationCtx |
Modifier and Type | Class and Description |
---|---|
class |
XACML3EvaluationCtx
This is implementation of XACML3 evaluation context
|
Constructor and Description |
---|
Result(int decision,
Status status,
List<ObligationResult> obligationResults,
List<Advice> advices,
EvaluationCtx evaluationCtx) |
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.
|
ResourceFinderResult |
ResourceFinder.findChildResources(AttributeValue parentResourceId,
EvaluationCtx context)
Finds Resource Ids using the Children scope, and returns all resolved identifiers as well as
any errors that occurred.
|
ResourceFinderResult |
ResourceFinderModule.findChildResources(AttributeValue parentResourceId,
EvaluationCtx context)
Tries to find the child Resource Ids associated with the parent.
|
ResourceFinderResult |
ResourceFinder.findDescendantResources(AttributeValue parentResourceId,
EvaluationCtx context)
Finds Resource Ids using the Descendants scope, and returns all resolved identifiers as well
as any errors that occurred.
|
ResourceFinderResult |
ResourceFinderModule.findDescendantResources(AttributeValue parentResourceId,
EvaluationCtx context)
Tries to find the descendant Resource Ids associated with the parent.
|
PolicyFinderResult |
PolicyFinder.findPolicy(EvaluationCtx context)
Finds a policy based on a request's context.
|
PolicyFinderResult |
PolicyFinderModule.findPolicy(EvaluationCtx context)
Tries to find one and only one matching policy given the request represented by the context
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.
|
PolicyFinderResult |
FileBasedPolicyFinderModule.findPolicy(EvaluationCtx context) |
Modifier and Type | Method and Description |
---|---|
ObligationResult |
Obligation.evaluate(EvaluationCtx ctx) |
MatchResult |
Target.match(EvaluationCtx context)
Determines whether this
Target matches the input request (whether it is
applicable). |
MatchResult |
TargetSection.match(EvaluationCtx context)
Determines whether this
TargetSection matches
the input request (whether it is applicable). |
MatchResult |
TargetMatchGroup.match(EvaluationCtx context)
Determines whether this
TargetMatchGroup matches the input request (whether it
is applicable). |
Modifier and Type | Method and Description |
---|---|
Set<EvaluationCtx> |
MultipleCtxResult.getEvaluationCtxSet() |
Modifier and Type | Method and Description |
---|---|
Set<AttributeAssignment> |
AttributeAssignmentExpression.evaluate(EvaluationCtx ctx)
evaluates
Expression element and create new Set of
AttributeAssignment |
Advice |
AdviceExpression.evaluate(EvaluationCtx ctx)
return evaluation result of the advice expression
|
ObligationResult |
ObligationExpression.evaluate(EvaluationCtx ctx) |
MatchResult |
AllOfSelection.match(EvaluationCtx context)
Determines whether this
AllOfSelection matches the input request (whether it
is applicable). |
MatchResult |
AnyOfSelection.match(EvaluationCtx context)
Determines whether this
AnyOfSelection matches the input request (whether it
is applicable). |
MatchResult |
Target.match(EvaluationCtx context)
Determines whether this
Target matches the input request (whether it is
applicable). |
Constructor and Description |
---|
MultipleCtxResult(Set<EvaluationCtx> evaluationCtxSet)
Constructs a
MultipleCtxResult object with required data |
MultipleCtxResult(Set<EvaluationCtx> evaluationCtxSet,
Status status,
boolean indeterminate)
Constructs a
MultipleCtxResult object with required data |
Copyright © 2018 WSO2. All rights reserved.