Package | Description |
---|---|
org.jboss.security.xacml.bridge | |
org.jboss.security.xacml.locators | |
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.combine |
All of the combining algorithm support is in this package.
|
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 | Method and Description |
---|---|
void |
PolicySetFinderModule.set(PolicySet ps,
List<AbstractPolicy> policies) |
Constructor and Description |
---|
PolicySetFinderModule(PolicySet policySet,
List<AbstractPolicy> policies) |
Modifier and Type | Method and Description |
---|---|
protected void |
JBossPolicySetLocator.recursivePopulate(XACMLPolicy policy,
List<AbstractPolicy> policies,
PolicySetFinderModule psfm) |
Modifier and Type | Class and Description |
---|---|
class |
Policy
Represents one of the two top-level constructs in XACML, the PolicyType.
|
class |
PolicyReference
This class is used as a placeholder for the PolicyIdReference and
PolicySetIdReference fields in a PolicySetType.
|
class |
PolicySet
Represents one of the two top-level constructs in XACML, the PolicySetType.
|
Modifier and Type | Method and Description |
---|---|
AbstractPolicy |
PolicyCombinerElement.getPolicy()
Returns the
AbstractPolicy in this element. |
Constructor and Description |
---|
PolicyCombinerElement(AbstractPolicy policy)
Constructor that only takes an AbstractPolicy
|
PolicyCombinerElement(AbstractPolicy policy,
List parameters)
Constructor that takes both the
AbstractPolicy to combine
and its associated combiner parameters. |
Modifier and Type | Method and Description |
---|---|
AbstractPolicy |
PolicyFinderResult.getPolicy()
Returns the found policy, or null if there was an error or no policy
was found.
|
Constructor and Description |
---|
PolicyFinderResult(AbstractPolicy policy)
Creates a result containing a single applicable policy.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
AbstractPolicy |
PolicyCollection.getPolicy(EvaluationCtx context)
Attempts to retrieve a policy based on the given context.
|
AbstractPolicy |
PolicyCollection.getPolicy(String identifier,
int type,
VersionConstraints constraints)
Attempts to retrieve a policy based on the given identifier and other
constraints.
|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BasicPolicyFinderModule.addPolicy(AbstractPolicy policy)
Adds a policy that will be available both by reference and by
matching to a context.
|
boolean |
PolicyCollection.addPolicy(AbstractPolicy policy)
Adds a new policy to the collection, and uses the policy's identifier
as the reference identifier.
|
boolean |
PolicyCollection.addPolicy(AbstractPolicy policy,
String identifier)
Adds a new policy to the collection using the given identifier as
the reference identifier.
|
boolean |
BasicPolicyFinderModule.addPolicyNoRef(AbstractPolicy policy)
Adds a policy that will be available only by matching to a context.
|
boolean |
BasicPolicyFinderModule.addPolicyOnlyRef(AbstractPolicy policy)
Adds a policy that will be available only by reference.
|
Modifier and Type | Method and Description |
---|---|
AbstractPolicy |
XACMLPolicyUtil.create(InputStream is,
PolicyFinder finder)
Construct
AbstractPolicy |
Copyright © 2023 JBoss by Red Hat. All rights reserved.