Package | Description |
---|---|
org.jboss.security.xacml.bridge | |
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.finder |
The
finder package supports all of the pieces of the
XACML specification that require custom implementation. |
org.jboss.security.xacml.sunxacml.finder.impl |
The few included finder modules are provided in this package.
|
org.jboss.security.xacml.sunxacml.support.finder | |
org.jboss.security.xacml.util |
Modifier and Type | Class and Description |
---|---|
class |
JBossPolicyFinder
Represents a consolidated PolicyFinder
that can contain all the PolicyFinderModules
- Use this in the creation of the PolicySet
from the PolicyFactory
|
Modifier and Type | Field and Description |
---|---|
protected PolicyFinder |
WrapperPolicyFinderModule.policyFinder |
protected PolicyFinder |
PolicySetFinderModule.policyFinder |
Modifier and Type | Method and Description |
---|---|
void |
WrapperPolicyFinderModule.init(PolicyFinder policyFinder) |
void |
PolicySetFinderModule.init(PolicyFinder finder) |
Modifier and Type | Method and Description |
---|---|
PolicyFinder |
PDPConfig.getPolicyFinder()
Returns the
PolicyFinder that was configured, or
null if none was configured |
Modifier and Type | Method and Description |
---|---|
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. |
Constructor and Description |
---|
PDPConfig(AttributeFinder attributeFinder,
PolicyFinder policyFinder,
ResourceFinder resourceFinder)
Constructor that creates a
PDPConfig from components. |
PolicyReference(URI reference,
int policyType,
PolicyFinder finder,
PolicyMetaData parentMetaData)
Creates a new
PolicyReference instance. |
PolicyReference(URI reference,
int policyType,
VersionConstraints constraints,
PolicyFinder finder,
PolicyMetaData parentMetaData)
Creates a new
PolicyReference instance with version
constraints. |
Modifier and Type | Method and Description |
---|---|
abstract void |
PolicyFinderModule.init(PolicyFinder finder)
Initializes this module for use by the given finder.
|
Modifier and Type | Method and Description |
---|---|
void |
FilePolicyModule.init(PolicyFinder finder)
Initializes the
FilePolicyModule by loading
the policies contained in the collection of files associated
with this module. |
static AbstractPolicy |
FilePolicyModule.loadPolicy(String filename,
PolicyFinder finder)
Loads a policy from the specified filename and uses the specified
PolicyFinder to help with instantiating PolicySets. |
static AbstractPolicy |
FilePolicyModule.loadPolicy(String filename,
PolicyFinder finder,
File schemaFile,
ErrorHandler handler)
Loads a policy from the specified filename, using the specified
PolicyFinder to help with instantiating PolicySets,
and using the specified input as the schema file to validate
policies against. |
Modifier and Type | Method and Description |
---|---|
void |
BasicPolicyFinderModule.init(PolicyFinder finder)
Initialize this module.
|
void |
StaticRefPolicyFinderModule.init(PolicyFinder finder)
Initialize this module.
|
void |
StaticPolicyFinderModule.init(PolicyFinder finder)
Initialize this module.
|
void |
FilePolicyModule.init(PolicyFinder finder)
Initializes the
FilePolicyModule by loading
the policies contained in the collection of files associated
with this module. |
void |
URLPolicyFinderModule.init(PolicyFinder finder)
Initialize this module.
|
Constructor and Description |
---|
PolicyReader(PolicyFinder finder,
Logger logger)
Creates a
PolicyReader that does not schema-validate
policies. |
PolicyReader(PolicyFinder finder,
Logger logger,
File schemaFile)
Creates a
PolicyReader that may schema-validate policies. |
Modifier and Type | Method and Description |
---|---|
AbstractPolicy |
XACMLPolicyUtil.create(InputStream is,
PolicyFinder finder)
Construct
AbstractPolicy |
PolicySet |
XACMLPolicyUtil.createPolicySet(InputStream is,
PolicyFinder finder)
Create a policyset
|
PolicySet |
XACMLPolicyUtil.createPolicySet(URL location,
PolicyFinder finder)
Create a PolicySet
|
Copyright © 2023 JBoss by Red Hat. All rights reserved.