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.proxy |
This package defines proxy classes for all of the standard
datatypes.
|
org.wso2.balana.attr.proxy.xacml3 | |
org.wso2.balana.attr.xacml3 | |
org.wso2.balana.combine |
All of the combining algorithm support is in this package.
|
org.wso2.balana.cond |
Support for Conditions is in this package.
|
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. |
Modifier and Type | Method and Description |
---|---|
AttributeValue |
TargetMatch.getMatchValue()
Returns the
AttributeValue used by the matching function. |
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 |
AnyURIAttribute
Representation of an xs:anyURI value.
|
class |
BagAttribute
Represents a bag used in the XACML spec as return values from functions and designators/selectors
that provide more than one value.
|
class |
Base64BinaryAttribute
Representation of an xsi:base64Binary value.
|
class |
BooleanAttribute
Representation of an xs:boolean value.
|
class |
DateAttribute
Representation of an xs:date value.
|
class |
DateTimeAttribute
Representation of an xs:dateTime value.
|
class |
DayTimeDurationAttribute
Representation of an xf:dayTimeDuration value.
|
class |
DNSNameAttribute
Represents the DNSName datatype introduced in XACML 2.0.
|
class |
DoubleAttribute
Representation of an xsi:double value.
|
class |
HexBinaryAttribute
Representation of an xsi:hexBinary value.
|
class |
IntegerAttribute
Representation of an xs:integer value.
|
class |
IPAddressAttribute
Represents the IPAddress datatype introduced in XACML 2.0.
|
class |
IPv4AddressAttribute
Subclass of
IPAddressAttribute that handles the specifics of IPv4. |
class |
IPv6AddressAttribute
Subclass of
IPAddressAttribute that handles the specifics of IPv6. |
class |
RFC822NameAttribute
Representation of an rfc822Name (ie, an email address).
|
class |
StringAttribute
Representation of an xs:string value.
|
class |
TimeAttribute
Representation of an xs:time value.
|
class |
X500NameAttribute
Representation of an X500 Name.
|
class |
YearMonthDurationAttribute
Representation of an xf:yearMonthDuration value.
|
Modifier and Type | Method and Description |
---|---|
abstract AttributeValue |
AttributeFactory.createValue(Node root)
Creates a value based on the given DOM root node.
|
AttributeValue |
BaseAttributeFactory.createValue(Node root)
Creates a value based on the given DOM root node.
|
abstract AttributeValue |
AttributeFactory.createValue(Node root,
String type)
Creates a value based on the given DOM root node and data type.
|
AttributeValue |
BaseAttributeFactory.createValue(Node root,
String type)
Creates a value based on the given DOM root node and data type.
|
abstract AttributeValue |
AttributeFactory.createValue(Node root,
URI dataType)
Creates a value based on the given DOM root node and data type.
|
AttributeValue |
BaseAttributeFactory.createValue(Node root,
URI dataType)
Creates a value based on the given DOM root node and data type.
|
AttributeValue |
AttributeFactory.createValue(URI dataType,
String value)
Creates a value based on the given data type and text-encoded value.
|
abstract AttributeValue |
AttributeFactory.createValue(URI dataType,
String value,
String[] params)
Creates a value based on the given data type and text-encoded value.
|
AttributeValue |
BaseAttributeFactory.createValue(URI dataType,
String value,
String[] params)
Creates a value based on the given data type and text-encoded value.
|
AttributeValue |
AttributeProxy.getInstance(Node root)
Tries to create a new
AttributeValue based on the given DOM root node. |
AttributeValue |
AttributeProxy.getInstance(String value,
String[] params)
Tries to create a new
AttributeValue based on the given String data. |
Modifier and Type | Method and Description |
---|---|
boolean |
BagAttribute.contains(AttributeValue value)
Returns true if this set contains the specified value.
|
Constructor and Description |
---|
BagAttribute(URI type,
List<AttributeValue> bag)
Creates a new
BagAttribute that represents the Collection of
AttributeValue s supplied. |
Modifier and Type | Method and Description |
---|---|
AttributeValue |
RFC822NameAttributeProxy.getInstance(Node root) |
AttributeValue |
AnyURIAttributeProxy.getInstance(Node root) |
AttributeValue |
DateTimeAttributeProxy.getInstance(Node root) |
AttributeValue |
TimeAttributeProxy.getInstance(Node root) |
AttributeValue |
BooleanAttributeProxy.getInstance(Node root) |
AttributeValue |
YearMonthDurationAttributeProxy.getInstance(Node root) |
AttributeValue |
StringAttributeProxy.getInstance(Node root) |
AttributeValue |
DNSNameAttributeProxy.getInstance(Node root) |
AttributeValue |
HexBinaryAttributeProxy.getInstance(Node root) |
AttributeValue |
Base64BinaryAttributeProxy.getInstance(Node root) |
AttributeValue |
DateAttributeProxy.getInstance(Node root) |
AttributeValue |
IPAddressAttributeProxy.getInstance(Node root) |
AttributeValue |
DoubleAttributeProxy.getInstance(Node root) |
AttributeValue |
X500NameAttributeProxy.getInstance(Node root) |
AttributeValue |
IntegerAttributeProxy.getInstance(Node root) |
AttributeValue |
DayTimeDurationAttributeProxy.getInstance(Node root) |
AttributeValue |
RFC822NameAttributeProxy.getInstance(String value) |
AttributeValue |
AnyURIAttributeProxy.getInstance(String value) |
AttributeValue |
DateTimeAttributeProxy.getInstance(String value) |
AttributeValue |
TimeAttributeProxy.getInstance(String value) |
AttributeValue |
BooleanAttributeProxy.getInstance(String value) |
abstract AttributeValue |
AbstractAttributeProxy.getInstance(String value)
Tries to create a new
AttributeValue based on the given String data. |
AttributeValue |
YearMonthDurationAttributeProxy.getInstance(String value) |
AttributeValue |
StringAttributeProxy.getInstance(String value) |
AttributeValue |
DNSNameAttributeProxy.getInstance(String value) |
AttributeValue |
HexBinaryAttributeProxy.getInstance(String value) |
AttributeValue |
Base64BinaryAttributeProxy.getInstance(String value) |
AttributeValue |
DateAttributeProxy.getInstance(String value) |
AttributeValue |
IPAddressAttributeProxy.getInstance(String value) |
AttributeValue |
DoubleAttributeProxy.getInstance(String value) |
AttributeValue |
X500NameAttributeProxy.getInstance(String value) |
AttributeValue |
IntegerAttributeProxy.getInstance(String value) |
AttributeValue |
DayTimeDurationAttributeProxy.getInstance(String value) |
AttributeValue |
AbstractAttributeProxy.getInstance(String value,
String[] params) |
Modifier and Type | Method and Description |
---|---|
AttributeValue |
XPathAttributeProxy.getInstance(Node root) |
AttributeValue |
XPathAttributeProxy.getInstance(String value,
String[] params) |
Modifier and Type | Class and Description |
---|---|
class |
XPathAttribute
Representation of Xpath attribute type
|
Modifier and Type | Method and Description |
---|---|
AttributeValue |
CombinerParameter.getValue()
Returns the value provided by this parameter.
|
Constructor and Description |
---|
CombinerParameter(String name,
AttributeValue value)
Creates a new CombinerParameter.
|
Modifier and Type | Method and Description |
---|---|
AttributeValue |
EvaluationResult.getAttributeValue()
Returns the attribute value, or null if there was an error
|
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.
|
Constructor and Description |
---|
EvaluationResult(AttributeValue value)
Constructor that creates an
EvaluationResult containing a single
AttributeValue |
Modifier and Type | Class and Description |
---|---|
class |
AttributeAssignment
Represents AttributeAssignmentType in the XACML 3.0 and 2.0 policy schema
This is used for including arguments in obligations and advices
|
Modifier and Type | Method and Description |
---|---|
AttributeValue |
Attribute.getValue()
a
AttributeValue of this attribute,
or null if no value was included |
Modifier and Type | Method and Description |
---|---|
List<AttributeValue> |
Attribute.getValues()
List of AttributeValue of this attribute,
or null if no value was included |
Constructor and Description |
---|
Attribute(URI id,
String issuer,
DateTimeAttribute issueInstant,
AttributeValue value,
boolean includeInResult,
int version)
Creates a new
Attribute of the type specified in the given
AttributeValue .for XACML 3 with one AttributeValue |
Attribute(URI id,
String issuer,
DateTimeAttribute issueInstant,
AttributeValue value,
int version)
Creates a new
Attribute for XACML 2 and XACML 1.X with one AttributeValue |
Constructor and Description |
---|
Attribute(URI id,
URI type,
String issuer,
DateTimeAttribute issueInstant,
List<AttributeValue> attributeValues,
boolean includeInResult,
int xacmlVersion)
Creates a new
Attribute |
MissingAttributeDetail(URI id,
URI type,
URI category,
List<AttributeValue> attributeValues,
int xacmlVersion)
Creates a new
MissingAttributeDetail |
MissingAttributeDetail(URI id,
URI type,
URI category,
String issuer,
List<AttributeValue> attributeValues,
int xacmlVersion)
Creates a new
MissingAttributeDetail |
Modifier and Type | Method and Description |
---|---|
AttributeValue |
XACML2EvaluationCtx.getResourceId()
Returns the resource named in the request as resource-id.
|
Modifier and Type | Method and Description |
---|---|
void |
XACML2EvaluationCtx.setResourceId(AttributeValue resourceId,
Set<Attributes> attributesSet)
Changes the value of the resource-id attribute in this context.
|
Modifier and Type | Method and Description |
---|---|
void |
XACML3EvaluationCtx.setResourceId(AttributeValue resourceId,
Set<Attributes> attributesSet)
Changes the value of the resource-id attribute in this context.
|
Modifier and Type | Method and Description |
---|---|
Set<AttributeValue> |
ResourceFinderResult.getResources()
Returns the
Set of successfully resolved Resource Id AttributeValue
s, which will be empty if no resources were successfully resolved. |
Modifier and Type | Method and Description |
---|---|
ResourceFinderResult |
ResourceFinder.findChildResources(AttributeValue parentResourceId)
Deprecated.
As of version 1.2, replaced by
ResourceFinder.findChildResources(AttributeValue,EvaluationCtx) . This version does not
provide the evaluation context to the modules, and will be removed in a future
release. |
ResourceFinderResult |
ResourceFinderModule.findChildResources(AttributeValue parentResourceId)
Deprecated.
As of version 1.2, replaced by
ResourceFinderModule.findChildResources(AttributeValue,EvaluationCtx) . This version does not
provide the evaluation context, and will be removed in a future release. Also,
not that this will never get called when using the default PDP. |
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)
Deprecated.
As of version 1.2, replaced by
ResourceFinder.findDescendantResources(AttributeValue,EvaluationCtx) . This version does
not provide the evaluation context to the modules, and will be removed in a
future release. |
ResourceFinderResult |
ResourceFinderModule.findDescendantResources(AttributeValue parentResourceId)
Deprecated.
As of version 1.2, replaced by
ResourceFinderModule.findDescendantResources(AttributeValue,EvaluationCtx) . This version does
not provide the evaluation context, and will be removed in a future release.
Also, not that this will never get called when using the default PDP. |
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.
|
Constructor and Description |
---|
ResourceFinderResult(Set<AttributeValue> resources)
Creates a result containing the given
Set of resource identifiers. |
Copyright © 2021 WSO2. All rights reserved.