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.cond |
Support for Conditions is in this package.
|
org.wso2.balana.cond.cluster |
This package defines the
FunctionCluster interface that
is used to define a cluster of functions that are all implemented by
some common class. |
org.wso2.balana.cond.cluster.xacml3 | |
org.wso2.balana.cond.xacml3 |
Modifier and Type | Method and Description |
---|---|
Function |
TargetMatch.getMatchFunction()
Returns the
Function used to do the matching. |
Constructor and Description |
---|
TargetMatch(Function function,
Evaluatable eval,
AttributeValue attrValue)
Constructor that creates a
TargetMatch from components. |
TargetMatch(int type,
Function function,
Evaluatable eval,
AttributeValue attrValue)
Constructor that creates a
TargetMatch from components. |
Modifier and Type | Class and Description |
---|---|
class |
AbsFunction
A class that implements all the *-abs functions.
|
class |
AddFunction
A class that implements all the *-add functions.
|
class |
BagFunction
Represents all of the Bag functions, though the actual implementations are in two sub-classes
specific to the condition and general bag functions.
|
class |
ComparisonFunction
A class that implements all of the standard comparison functions.
|
class |
ConditionBagFunction
Specific
BagFunction class that supports the single condition bag function:
type-is-in. |
class |
ConditionSetFunction
Specific
SetFunction class that supports all of the condition set functions:
type-at-least-one-member-of, type-subset, and type-set-equals. |
class |
DateMathFunction
A class that implements several of the date math functions.
|
class |
DivideFunction
A class that implements all the *-divide functions.
|
class |
EqualFunction
A class that implements all the *-equal functions.
|
class |
FloorFunction
A class that implements the floor function.
|
class |
FunctionBase
An abstract utility superclass for functions.
|
class |
GeneralBagFunction
Specific
BagFunction class that supports all of the general-purpose bag functions:
type-one-and-only, type-bag-size, and type-bag. |
class |
GeneralSetFunction
Specific
SetFunction class that supports all of the general-purpose set functions:
type-intersection and type-union. |
class |
HigherOrderFunction
Represents all of the higher order bag functions, except map, which has its own class due to the
issues with its return type.
|
class |
IPInRangeFunction
IP range function developed for Balana.
|
class |
LogicalFunction
A class that implements the logical functions "or" and "and".
|
class |
MatchFunction
Implements the standard matching and regular expression functions.
|
class |
ModFunction
A class that implements the integer-mod function.
|
class |
MultiplyFunction
A class that implements all the *-multiply functions.
|
class |
NOfFunction
A class that implements the n-of function.
|
class |
NotFunction
A class that implements the not function.
|
class |
NumericConvertFunction
A class that implements all the numeric type conversion functions (double-to-integer and
integer-to-double).
|
class |
RoundFunction
A class that implements the round function.
|
class |
SetFunction
Represents all of the Set functions, though the actual implementations are in two sub-classes
specific to the condition and general set functions.
|
class |
StringFunction
This class implements the string-concatenate function from XACML 2.0.
|
class |
StringNormalizeFunction
A class that implements all the string conversion functions (string-normalize-space and
string-normalize-to-lower-case).
|
class |
SubtractFunction
A class that implements all the *-subtract functions.
|
class |
TimeInRangeFunction
This class implements the time-in-range function, which takes three time values and returns true
if the first value falls between the second and the third value.
|
class |
URLStringCatFunction
Represents the XACML 2.0 url-string-concatenate function.
|
Modifier and Type | Method and Description |
---|---|
abstract Function |
FunctionFactory.createAbstractFunction(String identity,
Node root)
Tries to get an instance of the specified abstract function.
|
Function |
BaseFunctionFactory.createAbstractFunction(String identity,
Node root)
Tries to get an instance of the specified abstract function.
|
abstract Function |
FunctionFactory.createAbstractFunction(String identity,
Node root,
String xpathVersion)
Tries to get an instance of the specified abstract function.
|
Function |
BaseFunctionFactory.createAbstractFunction(String identity,
Node root,
String xpathVersion)
Tries to get an instance of the specified abstract function.
|
abstract Function |
FunctionFactory.createAbstractFunction(URI identity,
Node root)
Tries to get an instance of the specified abstract function.
|
Function |
BaseFunctionFactory.createAbstractFunction(URI identity,
Node root)
Tries to get an instance of the specified abstract function.
|
abstract Function |
FunctionFactory.createAbstractFunction(URI identity,
Node root,
String xpathVersion)
Tries to get an instance of the specified abstract function.
|
Function |
BaseFunctionFactory.createAbstractFunction(URI identity,
Node root,
String xpathVersion)
Tries to get an instance of the specified abstract function.
|
abstract Function |
FunctionFactory.createFunction(String identity)
Tries to get an instance of the specified function.
|
Function |
BaseFunctionFactory.createFunction(String identity)
Tries to get an instance of the specified function.
|
abstract Function |
FunctionFactory.createFunction(URI identity)
Tries to get an instance of the specified function.
|
Function |
BaseFunctionFactory.createFunction(URI identity)
Tries to get an instance of the specified function.
|
Function |
Apply.getFunction()
Returns the
Function used by this Apply . |
Function |
Condition.getFunction()
Returns the
Function used by this Condition if this is a 1.x
condition, or null if this is a 2.0 condition. |
static Function |
ExpressionHandler.getFunction(Node root,
PolicyMetaData metaData,
FunctionFactory factory)
Helper method that tries to get a function instance
|
Function |
FunctionProxy.getInstance(Node root,
String xpathVersion)
Creates an instance of some abstract function.
|
Function |
MapFunctionProxy.getInstance(Node root,
String xpathVersion) |
Modifier and Type | Method and Description |
---|---|
static void |
FunctionFactory.addConditionFunction(Function function)
Deprecated.
As of version 1.2, replaced by
FunctionFactory.addFunction(Function) . The new factory
system requires you to get a factory instance and then call the non-static
methods on that factory. The static versions of these methods have been left in
for now, but are slower and will be removed in a future version. |
abstract void |
FunctionFactory.addFunction(Function function)
Adds the function to the factory.
|
void |
StandardFunctionFactory.addFunction(Function function)
Always throws an exception, since support for new functions may not be added to a standard
factory.
|
void |
BaseFunctionFactory.addFunction(Function function)
Adds the function to the factory.
|
static void |
FunctionFactory.addGeneralFunction(Function function)
Deprecated.
As of version 1.2, replaced by
FunctionFactory.addFunction(Function) . The new factory
system requires you to get a factory instance and then call the non-static
methods on that factory. The static versions of these methods have been left in
for now, but are slower and will be removed in a future version. |
static void |
FunctionFactory.addTargetFunction(Function function)
Deprecated.
As of version 1.2, replaced by
FunctionFactory.addFunction(Function) . The new factory
system requires you to get a factory instance and then call the non-static
methods on that factory. The static versions of these methods have been left in
for now, but are slower and will be removed in a future version. |
Constructor and Description |
---|
Apply(Function function,
List xprs)
Constructs an
Apply instance. |
Apply(Function function,
List xprs,
boolean isCondition)
Deprecated.
As of 2.0
Apply is no longer used for Conditions, so the
isCondition parameter is no longer needed. You should now use the 2
parameter constructor. This constructor will be removed in a future release. |
Condition(Function function,
List expressions)
Constructs a
Condition as used in XACML 1.x. |
Modifier and Type | Method and Description |
---|---|
Set<Function> |
AddFunctionCluster.getSupportedFunctions() |
Set<Function> |
RoundFunctionCluster.getSupportedFunctions() |
Set<Function> |
GeneralBagFunctionCluster.getSupportedFunctions() |
Set<Function> |
HigherOrderFunctionCluster.getSupportedFunctions() |
Set<Function> |
MultiplyFunctionCluster.getSupportedFunctions() |
Set<Function> |
NOfFunctionCluster.getSupportedFunctions() |
Set<Function> |
NotFunctionCluster.getSupportedFunctions() |
Set<Function> |
StringNormalizeFunctionCluster.getSupportedFunctions() |
Set<Function> |
NumericConvertFunctionCluster.getSupportedFunctions() |
Set<Function> |
AbsFunctionCluster.getSupportedFunctions() |
Set<Function> |
GeneralSetFunctionCluster.getSupportedFunctions() |
Set<Function> |
SubtractFunctionCluster.getSupportedFunctions() |
Set<Function> |
FloorFunctionCluster.getSupportedFunctions() |
Set<Function> |
LogicalFunctionCluster.getSupportedFunctions() |
Set<Function> |
ConditionSetFunctionCluster.getSupportedFunctions() |
Set<Function> |
EqualFunctionCluster.getSupportedFunctions() |
Set<Function> |
ComparisonFunctionCluster.getSupportedFunctions() |
Set<Function> |
StringFunctionCluster.getSupportedFunctions() |
Set<Function> |
DivideFunctionCluster.getSupportedFunctions() |
Set<Function> |
ModFunctionCluster.getSupportedFunctions() |
Set<Function> |
FunctionCluster.getSupportedFunctions()
Returns a single instance of each of the functions supported by some class.
|
Set<Function> |
DateMathFunctionCluster.getSupportedFunctions() |
Set<Function> |
ConditionBagFunctionCluster.getSupportedFunctions() |
Set<Function> |
MatchFunctionCluster.getSupportedFunctions() |
Modifier and Type | Method and Description |
---|---|
Set<Function> |
XPathFunctionCluster.getSupportedFunctions() |
Set<Function> |
SubStringFunctionCluster.getSupportedFunctions() |
Set<Function> |
StringCreationFunctionCluster.getSupportedFunctions() |
Set<Function> |
StringComparingFunctionCluster.getSupportedFunctions() |
Set<Function> |
StringConversionFunctionCluster.getSupportedFunctions() |
Modifier and Type | Class and Description |
---|---|
class |
StringComparingFunction
A class that implements all the *-start-with functions.
|
class |
StringConversionFunction
String conversion functions that creates different data-types from String type
|
class |
StringCreationFunction
String creation function that creates String from other data types
|
class |
SubStringFunction
Sub string functions .
|
class |
XPathFunction
The class that implement all XPath based functions.
|
Copyright © 2018 WSO2. All rights reserved.