Package | Description |
---|---|
org.jboss.security.xacml.core.ext | |
org.jboss.security.xacml.sunxacml |
This is the root package, which contains the PDP class where most
people will want to start.
|
org.jboss.security.xacml.sunxacml.attr |
Contains many of the classes related to attributes and attribute
retrieval.
|
org.jboss.security.xacml.sunxacml.attr.proxy |
This package defines proxy classes for all of the standard
datatypes.
|
org.jboss.security.xacml.sunxacml.combine |
All of the combining algorithm support is in this package.
|
org.jboss.security.xacml.sunxacml.cond |
Support for Conditions is in this package.
|
org.jboss.security.xacml.sunxacml.ctx |
All of the classes that support the context schema are in this
package.
|
org.jboss.security.xacml.sunxacml.support | |
org.jboss.security.xacml.sunxacml.support.finder |
Modifier and Type | Method and Description |
---|---|
AttributeValue |
ExtendedAttributeFactory.createValue(Node root,
String type) |
AttributeValue |
ExtendedAttributeFactory.createValue(Node root,
URI dataType) |
AttributeValue |
ExtendedAttributeFactory.createValue(URI dataType,
String value) |
Modifier and Type | Method and Description |
---|---|
static PolicySet |
PolicySet.getInstance(Node root)
Creates an instance of a
PolicySet object based on a
DOM node. |
static Obligation |
Obligation.getInstance(Node root)
Creates an instance of
Obligation based on the DOM root
node. |
static Policy |
Policy.getInstance(Node root)
Creates an instance of a
Policy object based on a
DOM node. |
static TargetMatch |
TargetMatch.getInstance(Node root,
int matchType,
PolicyMetaData metaData)
Creates a
TargetMatch by parsing a node, using the
input prefix to determine whether this is a SubjectMatch, ResourceMatch,
or ActionMatch. |
static TargetMatchGroup |
TargetMatchGroup.getInstance(Node root,
int matchType,
PolicyMetaData metaData)
Creates a
Target based on its DOM node. |
static TargetSection |
TargetSection.getInstance(Node root,
int matchType,
PolicyMetaData metaData)
Creates a
Target by parsing a node. |
static PolicySet |
PolicySet.getInstance(Node root,
PolicyFinder finder)
Creates an instance of a
PolicySet object based on a
DOM node. |
static PolicyReference |
PolicyReference.getInstance(Node root,
PolicyFinder finder)
Deprecated.
As of 2.0 you should avoid using this method and should
instead use the version that takes a
PolicyMetaData instance. This method will
only work for XACML 1.x policies. |
static PolicyReference |
PolicyReference.getInstance(Node root,
PolicyFinder finder,
PolicyMetaData metaData)
Creates an instance of a
PolicyReference object based on
a DOM node. |
static Target |
Target.getInstance(Node root,
PolicyMetaData metaData)
Creates a
Target by parsing a node. |
static Rule |
Rule.getInstance(Node root,
PolicyMetaData metaData,
VariableManager manager)
Returns a new instance of the
Rule class based on a
DOM node. |
static Target |
Target.getInstance(Node root,
String xpathVersion)
Deprecated.
As of 2.0 you should avoid using this method and should
instead use the version that takes a
PolicyMetaData instance. This method will
only work for XACML 1.x policies. |
static Rule |
Rule.getInstance(Node root,
String xpathVersion)
Deprecated.
As of 2.0 you should avoid using this method and should
instead use the version that takes a
PolicyMetaData instance. This method will
only work for XACML 1.x policies. |
static TargetMatch |
TargetMatch.getInstance(Node root,
String prefix,
String xpathVersion)
Deprecated.
As of 2.0 you should avoid using this method and should
instead use the version that takes a
PolicyMetaData instance. This method will
only work for XACML 1.x policies. |
Constructor and Description |
---|
AbstractPolicy(Node root,
String policyPrefix,
String combiningName)
Constructor used by child classes to initialize the shared data from
a DOM root node.
|
BasicEvaluationCtx(RequestCtx request)
Constructs a new
BasicEvaluationCtx based on the given
request. |
BasicEvaluationCtx(RequestCtx request,
AttributeFinder finder)
Constructs a new
BasicEvaluationCtx based on the given
request, and supports looking outside the original request for attribute
values using the AttributeFinder . |
BasicEvaluationCtx(RequestCtx request,
AttributeFinder finder,
boolean cacheEnvValues)
Constructs a new
BasicEvaluationCtx based on the given
request, and supports looking outside the original request for attribute
values using the AttributeFinder . |
BasicEvaluationCtx(RequestCtx request,
boolean cacheEnvValues)
Constructs a new
BasicEvaluationCtx based on the given
request. |
ConfigurationStore()
Default constructor.
|
ConfigurationStore(File configFile)
Constructor that explicitly specifies the configuration file to load.
|
Modifier and Type | Method and Description |
---|---|
static AttributeValue |
AttributeFactory.createAttribute(Node root)
Deprecated.
As of version 1.2, replaced by
AttributeFactory.createValue(Node) .
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 AttributeValue |
AttributeFactory.createAttribute(Node root,
String type)
Deprecated.
As of version 1.2, replaced by
AttributeFactory.createValue(Node,String) .
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 AttributeValue |
AttributeFactory.createAttribute(Node root,
URI dataType)
Deprecated.
As of version 1.2, replaced by
AttributeFactory.createValue(Node,URI) .
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 AttributeValue |
AttributeFactory.createAttribute(URI dataType,
String value)
Deprecated.
As of version 1.2, replaced by
AttributeFactory.createValue(URI,String) .
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 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.
|
abstract AttributeValue |
AttributeFactory.createValue(URI dataType,
String value)
Creates a value based on the given data type and text-encoded value.
|
AttributeValue |
BaseAttributeFactory.createValue(URI dataType,
String value)
Creates a value based on the given data type and text-encoded value.
|
static HexBinaryAttribute |
HexBinaryAttribute.getInstance(Node root)
Returns a new
HexBinaryAttribute that represents
the xsi:hexBinary at a particular DOM node. |
static TimeAttribute |
TimeAttribute.getInstance(Node root)
Returns a new
TimeAttribute that represents
the xs:time at a particular DOM node. |
static DNSNameAttribute |
DNSNameAttribute.getInstance(Node root)
Returns a new
DNSNameAttribute that represents
the name at a particular DOM node. |
static IPAddressAttribute |
IPAddressAttribute.getInstance(Node root)
Returns a new
IPAddressAttribute that represents
the name at a particular DOM node. |
static DayTimeDurationAttribute |
DayTimeDurationAttribute.getInstance(Node root)
Returns a new
DayTimeDurationAttribute that represents
the xf:dayTimeDuration at a particular DOM node. |
static DateTimeAttribute |
DateTimeAttribute.getInstance(Node root)
Returns a new
DateTimeAttribute that represents
the xs:dateTime at a particular DOM node. |
static Base64BinaryAttribute |
Base64BinaryAttribute.getInstance(Node root)
Returns a new
Base64BinaryAttribute that represents
the xsi:base64Binary at a particular DOM node. |
static YearMonthDurationAttribute |
YearMonthDurationAttribute.getInstance(Node root)
Returns a new
YearMonthDurationAttribute that represents
the xf:yearMonthDuration at a particular DOM node. |
static BooleanAttribute |
BooleanAttribute.getInstance(Node root)
Returns a
BooleanAttribute that represents
the xs:boolean at a particular DOM node. |
static AttributeDesignator |
AttributeDesignator.getInstance(Node root,
int target)
Deprecated.
As of 2.0 you should avoid using this method and should
instead use the version that takes a
PolicyMetaData instance. This method will
only work for XACML 1.x policies. |
static AttributeDesignator |
AttributeDesignator.getInstance(Node root,
int target,
PolicyMetaData metaData)
Creates a new
AttributeDesignator based on the DOM
root of the XML data. |
static AttributeSelector |
AttributeSelector.getInstance(Node root,
PolicyMetaData metaData)
Creates a new
AttributeSelector based on the DOM root
of the XML type. |
static AttributeSelector |
AttributeSelector.getInstance(Node root,
String xpathVersion)
Deprecated.
As of 2.0 you should avoid using this method and should
instead use the version that takes a
PolicyMetaData instance. This method will
only work for XACML 1.x policies. |
static HexBinaryAttribute |
HexBinaryAttribute.getInstance(String value)
Returns a new
HexBinaryAttribute that represents
the xsi:hexBinary value indicated by the string provided. |
static TimeAttribute |
TimeAttribute.getInstance(String value)
Returns a new
TimeAttribute that represents
the xs:time value indicated by the string provided. |
static DNSNameAttribute |
DNSNameAttribute.getInstance(String value)
Returns a new
DNSNameAttribute that represents
the name indicated by the String provided. |
static IPAddressAttribute |
IPAddressAttribute.getInstance(String value)
Returns a new
IPAddressAttribute that represents
the name indicated by the String provided. |
static DayTimeDurationAttribute |
DayTimeDurationAttribute.getInstance(String value)
Returns a new
DayTimeDurationAttribute that represents
the xf:dayTimeDuration value indicated by the string provided. |
static DateTimeAttribute |
DateTimeAttribute.getInstance(String value)
Returns a new
DateTimeAttribute that represents
the xs:dateTime value indicated by the string provided. |
static Base64BinaryAttribute |
Base64BinaryAttribute.getInstance(String value)
Returns a new
Base64BinaryAttribute that represents
the xsi:base64Binary value indicated by the string provided. |
static YearMonthDurationAttribute |
YearMonthDurationAttribute.getInstance(String value)
Returns a new
YearMonthDurationAttribute that represents
the xf:yearMonthDuration value indicated by the string provided. |
static BooleanAttribute |
BooleanAttribute.getInstance(String value)
Returns a
BooleanAttribute that represents
the xs:boolean value indicated by the string provided. |
Constructor and Description |
---|
DNSNameAttribute(String hostname)
Creates the new
DNSNameAttribute with only the required
hostname component. |
DNSNameAttribute(String hostname,
PortRange range)
Creates the new
DNSNameAttribute with the optional
port range component. |
Modifier and Type | Method and Description |
---|---|
AttributeValue |
DNSNameAttributeProxy.getInstance(Node root) |
AttributeValue |
IPAddressAttributeProxy.getInstance(Node root) |
AttributeValue |
DNSNameAttributeProxy.getInstance(String value) |
AttributeValue |
IPAddressAttributeProxy.getInstance(String value) |
Modifier and Type | Method and Description |
---|---|
static CombinerParameter |
CombinerParameter.getInstance(Node root)
Returns a new instance of the
CombinerParameter class
based on a DOM node. |
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.
|
static Apply |
Apply.getConditionInstance(Node root,
String xpathVersion)
Deprecated.
As of 2.0 you should avoid using this method, since it
does not provide a
Condition instance and
does not handle XACML 2.0 policies correctly. If you need
a similar method you can use the new version that
accepts a VariableManager . This will return
an Apply instance for XACML 1.x policies. |
static Apply |
Apply.getConditionInstance(Node root,
String xpathVersion,
VariableManager manager)
Returns an instance of an
Apply based on the given DOM
root node. |
static Apply |
Apply.getInstance(Node root,
PolicyMetaData metaData,
VariableManager manager)
Returns an instance of
Apply based on the given DOM root. |
static VariableDefinition |
VariableDefinition.getInstance(Node root,
PolicyMetaData metaData,
VariableManager manager)
Returns a new instance of the
VariableDefinition class
based on a DOM node. |
static Condition |
Condition.getInstance(Node root,
PolicyMetaData metaData,
VariableManager manager)
Returns an instance of
Condition based on the given
DOM root. |
static VariableReference |
VariableReference.getInstance(Node root,
PolicyMetaData metaData,
VariableManager manager)
Returns a new instance of the
VariableReference class
based on a DOM node. |
static Apply |
Apply.getInstance(Node root,
String xpathVersion)
Deprecated.
As of 2.0 you should avoid using this method, since it
does not handle XACML 2.0 policies correctly. If you need
a similar method you can use the new version that
accepts a
VariableManager . This will return
an Apply instance for XACML 1.x policies. |
Modifier and Type | Method and Description |
---|---|
static RequestCtx |
RequestCtx.getInstance(InputStream input)
Creates a new
RequestCtx by parsing XML from an
input stream. |
static ResponseCtx |
ResponseCtx.getInstance(InputStream input)
Creates a new
ResponseCtx by parsing XML from an
input stream. |
static RequestCtx |
RequestCtx.getInstance(Node root)
Create a new
RequestCtx by parsing a node. |
static Result |
Result.getInstance(Node root)
Creates a new instance of a
Result based on the given
DOM root node. |
static Attribute |
Attribute.getInstance(Node root)
Creates an instance of an
Attribute based on the root DOM
node of the XML data. |
static StatusDetail |
StatusDetail.getInstance(Node root)
Creates an instance of a
StatusDetail object based on
the given DOM root node. |
static Status |
Status.getInstance(Node root)
Creates a new instance of
Status based on the given
DOM root node. |
static ResponseCtx |
ResponseCtx.getInstance(Node root)
Creates a new instance of
ResponseCtx based on the given
DOM root node. |
Constructor and Description |
---|
StatusDetail(String encoded)
Constructor that takes the text-encoded form of the XML to use as
the status data.
|
Modifier and Type | Method and Description |
---|---|
ResponseCtx |
SimplePDP.evaluate(String requestFile)
Evaluates the given request and returns the Response that the PDP
will hand back to the PEP.
|
Modifier and Type | Method and Description |
---|---|
AbstractPolicy |
PolicyReader.readPolicy(File file)
Tries to read an XACML policy or policy set from the given file.
|
AbstractPolicy |
PolicyReader.readPolicy(InputStream input)
Tries to read an XACML policy or policy set from the given stream.
|
AbstractPolicy |
PolicyReader.readPolicy(URL url)
Tries to read an XACML policy or policy set based on the given URL.
|
Copyright © 2023 JBoss by Red Hat. All rights reserved.