Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D E F G H I L M N O P R S T U W X

A

ACTION - Static variable in class com.sun.xacml.TargetMatch
An integer value indicating that this class represents an ActionMatch
AbstractPolicy - class com.sun.xacml.AbstractPolicy.
Represents an instance of an XACML policy.
AbstractPolicy() - Constructor for class com.sun.xacml.AbstractPolicy
Constructor used by PolicyReference, which supplies its own values for the methods in this class.
AbstractPolicy(URI, CombiningAlgorithm, String, Target) - Constructor for class com.sun.xacml.AbstractPolicy
Constructor used to create a policy from concrete components.
AbstractPolicy(URI, CombiningAlgorithm, String, Target, String) - Constructor for class com.sun.xacml.AbstractPolicy
Constructor used to create a policy from concrete components.
AbstractPolicy(URI, CombiningAlgorithm, String, Target, String, Set) - Constructor for class com.sun.xacml.AbstractPolicy
Constructor used to create a policy from concrete components.
AbstractPolicy(Node, String, String) - Constructor for class com.sun.xacml.AbstractPolicy
Constructor used by child classes to initialize the shared data from a DOM root node.
actionMap - Variable in class com.sun.xacml.BasicEvaluationCtx
 
actions - Variable in class com.sun.xacml.Target
 
assignments - Variable in class com.sun.xacml.Obligation
 
attrValue - Variable in class com.sun.xacml.TargetMatch
 
attributeFinder - Variable in class com.sun.xacml.PDP
 
attributeFinder - Variable in class com.sun.xacml.PDPConfig
 
attributeMap - Variable in class com.sun.xacml.ConfigurationStore
 

B

BasicEvaluationCtx - class com.sun.xacml.BasicEvaluationCtx.
A basic implementation of EvaluationCtx that is created from an XACML Request and falls back on an AttributeFinder if a requested value isn't available in the Request.
BasicEvaluationCtx(RequestCtx) - Constructor for class com.sun.xacml.BasicEvaluationCtx
Constructs a new BasicEvaluationCtx based on the given request.
BasicEvaluationCtx(RequestCtx, boolean) - Constructor for class com.sun.xacml.BasicEvaluationCtx
Constructs a new BasicEvaluationCtx based on the given request.
BasicEvaluationCtx(RequestCtx, AttributeFinder) - Constructor for class com.sun.xacml.BasicEvaluationCtx
Constructs a new BasicEvaluationCtx based on the given request, and supports looking outside the original request for attribute values using the AttributeFinder.
BasicEvaluationCtx(RequestCtx, AttributeFinder, boolean) - Constructor for class com.sun.xacml.BasicEvaluationCtx
Constructs a new BasicEvaluationCtx based on the given request, and supports looking outside the original request for attribute values using the AttributeFinder.

C

ConfigurationStore - class com.sun.xacml.ConfigurationStore.
This class supports run-time loading of configuration data.
ConfigurationStore() - Constructor for class com.sun.xacml.ConfigurationStore
Default constructor.
ConfigurationStore(File) - Constructor for class com.sun.xacml.ConfigurationStore
Constructor that explicitly specifies the configuration file to load.
callHelper(URI, URI, URI, URI, int) - Method in class com.sun.xacml.BasicEvaluationCtx
Private helper that calls the finder if it's non-null, or else returns an empty bag
checkSet(List, EvaluationCtx) - Method in class com.sun.xacml.Target
Helper function that determines whether there is at least one positive match between each section of the Target element and the input request
children - Variable in class com.sun.xacml.AbstractPolicy
 
com.sun.xacml - package com.sun.xacml
 
combiningAlg - Variable in class com.sun.xacml.AbstractPolicy
 
combiningMap - Variable in class com.sun.xacml.ConfigurationStore
 
condition - Variable in class com.sun.xacml.Rule
 
currentDate - Variable in class com.sun.xacml.BasicEvaluationCtx
 
currentDateTime - Variable in class com.sun.xacml.BasicEvaluationCtx
 
currentTime - Variable in class com.sun.xacml.BasicEvaluationCtx
 

D

DEFAULT_WIDTH - Static variable in class com.sun.xacml.Indenter
The default indentation width
defaultAttributeFactory - Variable in class com.sun.xacml.ConfigurationStore
 
defaultCombiningFactory - Variable in class com.sun.xacml.ConfigurationStore
 
defaultFunctionFactoryProxy - Variable in class com.sun.xacml.ConfigurationStore
 
defaultPDPConfig - Variable in class com.sun.xacml.ConfigurationStore
 
defaultVersion - Variable in class com.sun.xacml.AbstractPolicy
 
depth - Variable in class com.sun.xacml.Indenter
 
description - Variable in class com.sun.xacml.AbstractPolicy
 
description - Variable in class com.sun.xacml.Rule
 

E

EvaluationCtx - interface com.sun.xacml.EvaluationCtx.
Manages the context of a single policy evaluation.
effectAttr - Variable in class com.sun.xacml.Rule
 
encode(OutputStream) - Method in class com.sun.xacml.Obligation
Encodes this Obligation into its XML form and writes this out to the provided OutputStream with no indentation.
encode(OutputStream, Indenter) - Method in class com.sun.xacml.Obligation
Encodes this Obligation into its XML form and writes this out to the provided OutputStream with indentation.
encode(OutputStream) - Method in class com.sun.xacml.Policy
Encodes this Policy into its XML representation and writes this encoding to the given OutputStream with no indentation.
encode(OutputStream, Indenter) - Method in class com.sun.xacml.Policy
Encodes this Policy into its XML representation and writes this encoding to the given OutputStream with indentation.
encode(OutputStream) - Method in class com.sun.xacml.PolicyReference
Encodes this PolicyReference into its XML representation and writes this encoding to the given OutputStream with no indentation.
encode(OutputStream, Indenter) - Method in class com.sun.xacml.PolicyReference
Encodes this PolicyReference into its XML representation and writes this encoding to the given OutputStream with indentation.
encode(OutputStream) - Method in class com.sun.xacml.PolicySet
Encodes this PolicySet into its XML representation and writes this encoding to the given OutputStream with no indentation.
encode(OutputStream, Indenter) - Method in class com.sun.xacml.PolicySet
Encodes this PolicySet into its XML representation and writes this encoding to the given OutputStream with indentation.
encode(OutputStream) - Method in interface com.sun.xacml.PolicyTreeElement
Encodes this element into its XML representation and writes this encoding to the given OutputStream with no indentation.
encode(OutputStream, Indenter) - Method in interface com.sun.xacml.PolicyTreeElement
Encodes this element into its XML representation and writes this encoding to the given OutputStream with indentation.
encode(OutputStream) - Method in class com.sun.xacml.Rule
Encodes this Rule into its XML representation and writes this encoding to the given OutputStream with no indentation.
encode(OutputStream, Indenter) - Method in class com.sun.xacml.Rule
Encodes this Rule into its XML representation and writes this encoding to the given OutputStream with indentation.
encode(OutputStream) - Method in class com.sun.xacml.Target
Encodes this Target into its XML representation and writes this encoding to the given OutputStream with no indentation.
encode(OutputStream, Indenter) - Method in class com.sun.xacml.Target
Encodes this Target into its XML representation and writes this encoding to the given OutputStream with indentation.
encode(OutputStream) - Method in class com.sun.xacml.TargetMatch
Encodes this TargetMatch into its XML representation and writes this encoding to the given OutputStream with no indentation.
encode(OutputStream, Indenter) - Method in class com.sun.xacml.TargetMatch
Encodes this TargetMatch into its XML representation and writes this encoding to the given OutputStream with indentation.
encodeCommonElements(OutputStream, Indenter) - Method in class com.sun.xacml.AbstractPolicy
Routine used by Policy and PolicySet to encode some common elements.
encodeSection(PrintStream, Indenter, String, List) - Method in class com.sun.xacml.Target
Helper function that encodes a section of the target.
environmentMap - Variable in class com.sun.xacml.BasicEvaluationCtx
 
eval - Variable in class com.sun.xacml.TargetMatch
 
evaluate(EvaluationCtx) - Method in class com.sun.xacml.AbstractPolicy
Tries to evaluate the policy by calling the combining algorithm on the given policies or rules.
evaluate(RequestCtx) - Method in class com.sun.xacml.PDP
Attempts to evaluate the request against the policies known to this PDP.
evaluate(EvaluationCtx) - Method in class com.sun.xacml.PDP
Uses the given EvaluationCtx against the available policies to determine a response.
evaluate(InputStream) - Method in class com.sun.xacml.PDP
Deprecated. As of 1.2 this method should not be used. Instead, you should do your own stream handling, and then use one of the other evaluate methods. The problem with this method is that it often doesn't handle stream termination correctly (eg, with sockets).
evaluate(EvaluationCtx) - Method in class com.sun.xacml.PolicyReference
Tries to evaluate the policy by calling the combining algorithm on the given policies or rules.
evaluate(EvaluationCtx) - Method in interface com.sun.xacml.PolicyTreeElement
Evaluates this element in the policy tree, and therefore all elements underneath this element.
evaluate(EvaluationCtx) - Method in class com.sun.xacml.Rule
Evaluates the rule against the supplied context.
evaluateContext(EvaluationCtx) - Method in class com.sun.xacml.PDP
A private helper routine that resolves a policy for the given context, and then tries to evaluate based on the policy
evaluateMatch(List, EvaluationCtx) - Method in class com.sun.xacml.TargetMatch
Private helper that evaluates an individual match.

F

finder - Variable in class com.sun.xacml.BasicEvaluationCtx
 
finder - Variable in class com.sun.xacml.PolicyReference
 
fulfillOn - Variable in class com.sun.xacml.Obligation
 
function - Variable in class com.sun.xacml.TargetMatch
 
functionMap - Variable in class com.sun.xacml.ConfigurationStore
 
functionParserHelper(Node, FunctionFactory) - Method in class com.sun.xacml.ConfigurationStore
Private helper used by the function factory code to load a specific target, condition, or general section.

G

getActionAttribute(URI, URI, URI) - Method in class com.sun.xacml.BasicEvaluationCtx
Returns attribute value(s) from the action section of the request.
getActionAttribute(URI, URI, URI) - Method in interface com.sun.xacml.EvaluationCtx
Returns available action attribute value(s).
getActions() - Method in class com.sun.xacml.Target
Returns an unmodifiable List that represents the Actions section of this target.
getArgs(Node) - Method in class com.sun.xacml.ConfigurationStore
Private helper that gets the constructor arguments for a given class.
getAssignments() - Method in class com.sun.xacml.Obligation
Returns the attribute assignment data in this obligation.
getAttribute(String, Node, URI, String) - Method in class com.sun.xacml.BasicEvaluationCtx
Returns the attribute value(s) retrieved using the given XPath expression.
getAttribute(String, Node, URI, String) - Method in interface com.sun.xacml.EvaluationCtx
Returns the attribute value(s) retrieved using the given XPath expression.
getAttributeFactory(String) - Method in class com.sun.xacml.ConfigurationStore
Returns the attribute factory with the given name.
getAttributeFinder() - Method in class com.sun.xacml.BasicEvaluationCtx
Returns the AttributeFinder used by this context.
getAttributeFinder() - Method in interface com.sun.xacml.EvaluationCtx
Deprecated. As of version 1.2, this method should not be used, as it provides access to a mutable interface. This method will be removed in the next major release.
getAttributeFinder() - Method in class com.sun.xacml.PDPConfig
Returns the AttributeFinder that was configured, or null if none was configured
getAttributes(Node, String, String) - Static method in class com.sun.xacml.Target
Helper method that parses the contents of the Subjects, Resources, or Actions types, depending on the input prefix, which must be either "Subject", "Resource", or "Action".
getChildren() - Method in class com.sun.xacml.AbstractPolicy
Returns the List of children under this node in the policy tree.
getChildren() - Method in class com.sun.xacml.PolicyReference
Returns the child policy nodes under this node in the policy tree.
getChildren() - Method in interface com.sun.xacml.PolicyTreeElement
Returns the List of PolicyTreeElement objects that are the children of this node.
getChildren() - Method in class com.sun.xacml.Rule
Since a rule is always a leaf in a policy tree because it can have no children, this always returns an empty List.
getCombiningAlg() - Method in class com.sun.xacml.AbstractPolicy
Returns the combining algorithm used by this policy
getCombiningAlg() - Method in class com.sun.xacml.PolicyReference
Returns the combining algorithm used by this policy.
getCombiningAlgFactory(String) - Method in class com.sun.xacml.ConfigurationStore
Returns the combiningAlg factory with the given name.
getCondition() - Method in class com.sun.xacml.Rule
Returns the condition for this Rule or null if there is no condition
getCurrentDate() - Method in class com.sun.xacml.BasicEvaluationCtx
Returns the cached value for the current date.
getCurrentDate() - Method in interface com.sun.xacml.EvaluationCtx
Returns the cached value for the current date.
getCurrentDateTime() - Method in class com.sun.xacml.BasicEvaluationCtx
Returns the cached value for the current dateTime.
getCurrentDateTime() - Method in interface com.sun.xacml.EvaluationCtx
Returns the cached value for the current dateTime.
getCurrentTime() - Method in class com.sun.xacml.BasicEvaluationCtx
Returns the cached value for the current time.
getCurrentTime() - Method in interface com.sun.xacml.EvaluationCtx
Returns the cached value for the current time.
getDefaultAttributeFactory() - Method in class com.sun.xacml.ConfigurationStore
Returns the default attribute factory.
getDefaultCombiningAlgFactory() - Method in class com.sun.xacml.ConfigurationStore
Returns the default combiningAlg factory.
getDefaultFunctionFactoryProxy() - Method in class com.sun.xacml.ConfigurationStore
Returns the default function factory proxy.
getDefaultPDPConfig() - Method in class com.sun.xacml.ConfigurationStore
Returns the default PDP configuration.
getDefaultVersion() - Method in class com.sun.xacml.AbstractPolicy
Returns the XPath version to use or null if none was specified
getDefaultVersion() - Method in class com.sun.xacml.PolicyReference
Returns the default version for this policy.
getDescription() - Method in class com.sun.xacml.AbstractPolicy
Returns the given description of this policy or null if there is no description
getDescription() - Method in class com.sun.xacml.PolicyReference
Returns the given description of this policy or null if there is no description.
getDescription() - Method in interface com.sun.xacml.PolicyTreeElement
Returns the given description of this element or null if there is no description
getDescription() - Method in class com.sun.xacml.Rule
Returns the given description of this Rule or null if there is no description
getEffect() - Method in class com.sun.xacml.Rule
Returns the effect that this Rule will return from the evaluate method (Permit or Deny) if the request applies.
getEnvironmentAttribute(URI, URI, URI) - Method in class com.sun.xacml.BasicEvaluationCtx
Returns attribute value(s) from the environment section of the request.
getEnvironmentAttribute(URI, URI, URI) - Method in interface com.sun.xacml.EvaluationCtx
Returns available environment attribute value(s).
getFulfillOn() - Method in class com.sun.xacml.Obligation
Returns effect that will cause this obligation to be included in a response
getFunctionFactoryProxy(String) - Method in class com.sun.xacml.ConfigurationStore
Returns the function factory proxy with the given name.
getGenericAttributes(URI, URI, URI, Map, URI, int) - Method in class com.sun.xacml.BasicEvaluationCtx
Helper function for the resource, action and environment methods to get an attribute.
getId() - Method in class com.sun.xacml.AbstractPolicy
Returns the id of this policy
getId() - Method in class com.sun.xacml.Obligation
Returns the id of this obligation
getId() - Method in class com.sun.xacml.PolicyReference
Returns the id of this policy.
getId() - Method in interface com.sun.xacml.PolicyTreeElement
Returns the id of this element
getId() - Method in class com.sun.xacml.Rule
Returns the id of this Rule
getInstance(Node) - Static method in class com.sun.xacml.Obligation
Creates an instance of Obligation based on the DOM root node.
getInstance(Node) - Static method in class com.sun.xacml.Policy
Creates an instance of a Policy object based on a DOM node.
getInstance(Node, PolicyFinder) - Static method in class com.sun.xacml.PolicyReference
Creates an instance of a PolicyReference object based on a DOM node.
getInstance(Node) - Static method in class com.sun.xacml.PolicySet
Creates an instance of a PolicySet object based on a DOM node.
getInstance(Node, PolicyFinder) - Static method in class com.sun.xacml.PolicySet
Creates an instance of a PolicySet object based on a DOM node.
getInstance(Node, String) - Static method in class com.sun.xacml.Rule
Returns a new instance of the Rule class based on a DOM node.
getInstance(Node, String) - Static method in class com.sun.xacml.Target
Creates a Target by parsing a node.
getInstance(Node, String, String) - Static method in class com.sun.xacml.TargetMatch
Creates a TargetMatch by parsing a node, using the input prefix to determine whether this is a SubjectMatch, ResourceMatch, or ActionMatch.
getMatchEvaluatable() - Method in class com.sun.xacml.TargetMatch
Returns the AttributeDesignator or AttributeSelector used by the matching function.
getMatchFunction() - Method in class com.sun.xacml.TargetMatch
Returns the Function used to do the matching.
getMatchValue() - Method in class com.sun.xacml.TargetMatch
Returns the AttributeValue used by the matching function.
getMatches(Node, String, String) - Static method in class com.sun.xacml.Target
Helper method that parses the contents of a SubjectMatch, ResourceMatch, or ActionMatch type, depending on the input prefix, which must be either "Subject", "Resource" or "Action"
getObligations() - Method in class com.sun.xacml.AbstractPolicy
Returns the Set of obligations for this policy, which may be empty
getObligations() - Method in class com.sun.xacml.PolicyReference
Returns the Set of obligations for this policy, which may be empty if there are no obligations.
getPDPConfig(String) - Method in class com.sun.xacml.ConfigurationStore
Returns the PDP configuration with the given name.
getPolicyFinder() - Method in class com.sun.xacml.PDPConfig
Returns the PolicyFinder that was configured, or null if none was configured
getRequestRoot() - Method in class com.sun.xacml.BasicEvaluationCtx
Returns the DOM root of the original RequestType XML document.
getRequestRoot() - Method in interface com.sun.xacml.EvaluationCtx
Returns the DOM root of the original RequestType XML document, if this context is backed by an XACML Request.
getResourceAttribute(URI, URI, URI) - Method in class com.sun.xacml.BasicEvaluationCtx
Returns attribute value(s) from the resource section of the request.
getResourceAttribute(URI, URI, URI) - Method in interface com.sun.xacml.EvaluationCtx
Returns available resource attribute value(s).
getResourceFinder() - Method in class com.sun.xacml.PDPConfig
Returns the ResourceFinder that was configured, or null if none was configured
getResourceId() - Method in class com.sun.xacml.BasicEvaluationCtx
Returns the resource named in the request as resource-id.
getResourceId() - Method in interface com.sun.xacml.EvaluationCtx
Returns the identifier for the resource being requested.
getResources() - Method in class com.sun.xacml.Target
Returns an unmodifiable List that represents the Resources section of this target.
getResult() - Method in class com.sun.xacml.MatchResult
Returns the applicable result
getRootNode(File) - Method in class com.sun.xacml.ConfigurationStore
Private helper that parses the file and sets up the DOM tree.
getScope() - Method in class com.sun.xacml.BasicEvaluationCtx
Returns the resource scope of the request, which will be one of the three fields denoting Immediate, Children, or Descendants.
getScope() - Method in interface com.sun.xacml.EvaluationCtx
Returns the resource scope, which will be one of the three fields denoting Immediate, Children, or Descendants.
getStatus() - Method in class com.sun.xacml.MatchResult
Returns the status if there was an error, or null if no error occurred
getSubjectAttribute(URI, URI, URI) - Method in class com.sun.xacml.BasicEvaluationCtx
Returns attribute value(s) from the subject section of the request that have no issuer.
getSubjectAttribute(URI, URI, URI, URI) - Method in class com.sun.xacml.BasicEvaluationCtx
Returns attribute value(s) from the subject section of the request.
getSubjectAttribute(URI, URI, URI) - Method in interface com.sun.xacml.EvaluationCtx
Returns available subject attribute value(s) ignoring the issuer.
getSubjectAttribute(URI, URI, URI, URI) - Method in interface com.sun.xacml.EvaluationCtx
Returns available subject attribute value(s).
getSubjects() - Method in class com.sun.xacml.Target
Returns an unmodifiable List that represents the Subjects section of this target.
getSupportedAttributeFactories() - Method in class com.sun.xacml.ConfigurationStore
Returns a set of identifiers representing each attribute factory available.
getSupportedCombiningAlgFactories() - Method in class com.sun.xacml.ConfigurationStore
Returns a set of identifiers representing each combiningAlg factory available.
getSupportedFunctionFactories() - Method in class com.sun.xacml.ConfigurationStore
Returns a set of identifiers representing each function factory proxy available.
getSupportedPDPConfigurations() - Method in class com.sun.xacml.ConfigurationStore
Returns a set of identifiers representing each PDP configuration available.
getTarget() - Method in class com.sun.xacml.AbstractPolicy
Returns the target for this policy
getTarget() - Method in class com.sun.xacml.PolicyReference
Returns the target for this policy.
getTarget() - Method in interface com.sun.xacml.PolicyTreeElement
Returns the target for this element or null if there is no target
getTarget() - Method in class com.sun.xacml.Rule
Returns the target for this Rule or null if there is no target
getType() - Method in class com.sun.xacml.TargetMatch
Returns the type of this TargetMatch, either SUBJECT, RESOURCE, or ACTION.

H

handleDefaults(Node) - Method in class com.sun.xacml.AbstractPolicy
There used to be multiple things in the defaults type, but now there's just the one string that must be a certain value, so it doesn't seem all that useful to have a class for this...we could always bring it back, however, if it started to do more

I

INDETERMINATE - Static variable in class com.sun.xacml.MatchResult
An integer value indicating the the result is Indeterminate
Indenter - class com.sun.xacml.Indenter.
Provides flexible indenting for XML encoding.
Indenter() - Constructor for class com.sun.xacml.Indenter
Constructs an Indenter with the default indent width.
Indenter(int) - Constructor for class com.sun.xacml.Indenter
Constructs an Indenter with a user-supplied indent width.
id - Variable in class com.sun.xacml.Obligation
 
idAttr - Variable in class com.sun.xacml.AbstractPolicy
 
idAttr - Variable in class com.sun.xacml.Rule
 
in() - Method in class com.sun.xacml.Indenter
Move in one width.

L

loadClass(String, Node) - Method in class com.sun.xacml.ConfigurationStore
Private helper that is used by all the code to load an instance of the given class...this assumes that the class is in the classpath, both for simplicity and for stronger security
logger - Static variable in class com.sun.xacml.AbstractPolicy
 
logger - Static variable in class com.sun.xacml.BasicEvaluationCtx
 
logger - Static variable in class com.sun.xacml.ConfigurationStore
 
logger - Static variable in class com.sun.xacml.PDP
 
logger - Static variable in class com.sun.xacml.PolicyReference
 
logger - Static variable in class com.sun.xacml.Target
 

M

MATCH - Static variable in class com.sun.xacml.MatchResult
An integer value indicating the the target matches the request
MatchResult - class com.sun.xacml.MatchResult.
This is used as the return value for the various target matching functions.
MatchResult(int) - Constructor for class com.sun.xacml.MatchResult
Constructor that creates a MatchResult with no Status
MatchResult(int, Status) - Constructor for class com.sun.xacml.MatchResult
Constructor that creates a MatchResult, including Status data
makeString() - Method in class com.sun.xacml.Indenter
Create a String of spaces for indentation based on the current depth.
mapAttributes(Set, Map) - Method in class com.sun.xacml.BasicEvaluationCtx
Generic routine for resource, attribute and environment attributes to build the lookup map for each.
match(EvaluationCtx) - Method in class com.sun.xacml.AbstractPolicy
Given the input context sees whether or not the request matches this policy.
match(EvaluationCtx) - Method in class com.sun.xacml.PolicyReference
Given the input context sees whether or not the request matches this policy.
match(EvaluationCtx) - Method in interface com.sun.xacml.PolicyTreeElement
Given the input context sees whether or not the request matches this element's target.
match(EvaluationCtx) - Method in class com.sun.xacml.Rule
Given the input context sees whether or not the request matches this Rule's Target.
match(EvaluationCtx) - Method in class com.sun.xacml.Target
Determines whether this Target matches the input request (whether it is applicable).
match(EvaluationCtx) - Method in class com.sun.xacml.TargetMatch
Determines whether this TargetMatch matches the input request (whether it is applicable)

N

NO_MATCH - Static variable in class com.sun.xacml.MatchResult
An integer value indicating that the target doesn't match the request

O

Obligation - class com.sun.xacml.Obligation.
Represents the ObligationType XML type in XACML.
Obligation(URI, int, List) - Constructor for class com.sun.xacml.Obligation
Constructor that takes all the data associated with an obligation.
obligations - Variable in class com.sun.xacml.AbstractPolicy
 
out() - Method in class com.sun.xacml.Indenter
Move out one width.

P

PDP - class com.sun.xacml.PDP.
This is the core class for the XACML engine, providing the starting point for request evaluation.
PDP(PDPConfig) - Constructor for class com.sun.xacml.PDP
Constructs a new PDP object with the given configuration information.
PDPConfig - class com.sun.xacml.PDPConfig.
This class is used as a container that holds configuration information for the PDP, which includes the AttributeFinder, PolicyFinder, and ResourceFinder that the PDP should use.
PDPConfig(AttributeFinder, PolicyFinder, ResourceFinder) - Constructor for class com.sun.xacml.PDPConfig
Constructor that creates a PDPConfig from components.
PDP_CONFIG_PROPERTY - Static variable in class com.sun.xacml.ConfigurationStore
Property used to specify the configuration file.
POLICYSET_REFERENCE - Static variable in class com.sun.xacml.PolicyReference
Identifies this as a reference to a PolicySet
POLICY_REFERENCE - Static variable in class com.sun.xacml.PolicyReference
Identifies this as a reference to a Policy
ParsingException - exception com.sun.xacml.ParsingException.
Exception that gets thrown if any general parsing error occurs.
ParsingException() - Constructor for class com.sun.xacml.ParsingException
Constructs a new ParsingException with no message or cause.
ParsingException(String) - Constructor for class com.sun.xacml.ParsingException
Constructs a new ParsingException with a message, but no cause.
ParsingException(Throwable) - Constructor for class com.sun.xacml.ParsingException
Constructs a new ParsingException with a cause, but no message.
ParsingException(String, Throwable) - Constructor for class com.sun.xacml.ParsingException
Constructs a new ParsingException with a message and a cause.
Policy - class com.sun.xacml.Policy.
Represents one of the two top-level constructs in XACML, the PolicyType.
Policy(URI, RuleCombiningAlgorithm, Target) - Constructor for class com.sun.xacml.Policy
Creates a new Policy with only the required elements.
Policy(URI, RuleCombiningAlgorithm, Target, List) - Constructor for class com.sun.xacml.Policy
Creates a new Policy with only the required elements plus some rules.
Policy(URI, RuleCombiningAlgorithm, Target, String, List) - Constructor for class com.sun.xacml.Policy
Creates a new Policy with the required elements plus some rules and policy defaults.
Policy(URI, RuleCombiningAlgorithm, String, Target, List) - Constructor for class com.sun.xacml.Policy
Creates a new Policy with the required elements plus some rules and a String description.
Policy(URI, RuleCombiningAlgorithm, String, Target, String, List) - Constructor for class com.sun.xacml.Policy
Creates a new Policy with the required elements plus some rules, a String description and policy defaults.
Policy(URI, RuleCombiningAlgorithm, String, Target, String, List, Set) - Constructor for class com.sun.xacml.Policy
Creates a new Policy with the required elements plus some rules, a String description, policy defaults, and obligations.
Policy(Node) - Constructor for class com.sun.xacml.Policy
Creates a new Policy based on the given root node.
PolicyReference - class com.sun.xacml.PolicyReference.
This class is used as a placeholder for the PolicyIdReference and PolicySetIdReference fields in a PolicySetType.
PolicyReference(URI, int, PolicyFinder) - Constructor for class com.sun.xacml.PolicyReference
Creates a new PolicyReference.
PolicySet - class com.sun.xacml.PolicySet.
Represents one of the two top-level constructs in XACML, the PolicySetType.
PolicySet(URI, PolicyCombiningAlgorithm, Target) - Constructor for class com.sun.xacml.PolicySet
Creates a new PolicySet with only the required elements.
PolicySet(URI, PolicyCombiningAlgorithm, Target, List) - Constructor for class com.sun.xacml.PolicySet
Creates a new PolicySet with only the required elements, plus some policies.
PolicySet(URI, PolicyCombiningAlgorithm, Target, List, String) - Constructor for class com.sun.xacml.PolicySet
Creates a new PolicySet with the required elements plus some policies and policy defaults.
PolicySet(URI, PolicyCombiningAlgorithm, String, Target, List) - Constructor for class com.sun.xacml.PolicySet
Creates a new PolicySet with the required elements plus some policies and a String description.
PolicySet(URI, PolicyCombiningAlgorithm, String, Target, List, String) - Constructor for class com.sun.xacml.PolicySet
Creates a new PolicySet with the required elements plus some policies, a String description, and policy defaults.
PolicySet(URI, PolicyCombiningAlgorithm, String, Target, List, String, Set) - Constructor for class com.sun.xacml.PolicySet
Creates a new PolicySet with the required elements plus some policies, a String description, policy defaults, and obligations.
PolicySet(Node, PolicyFinder) - Constructor for class com.sun.xacml.PolicySet
Creates a new PolicySet based on the given root node.
PolicyTreeElement - interface com.sun.xacml.PolicyTreeElement.
This represents a single node in a policy tree.
ProcessingException - exception com.sun.xacml.ProcessingException.
Runtime exception that's thrown if any unexpected error occurs.
ProcessingException() - Constructor for class com.sun.xacml.ProcessingException
Constructs a new ProcessingException with no message or cause.
ProcessingException(String) - Constructor for class com.sun.xacml.ProcessingException
Constructs a new ProcessingException with a message, but no cause.
ProcessingException(Throwable) - Constructor for class com.sun.xacml.ProcessingException
Constructs a new ProcessingException with a cause, but no message.
ProcessingException(String, Throwable) - Constructor for class com.sun.xacml.ProcessingException
Constructs a new ProcessingException with a message and a cause.
parseAttributeFactory(Node) - Method in class com.sun.xacml.ConfigurationStore
Private helper that handles the attributeFactory elements.
parseCombiningAlgFactory(Node) - Method in class com.sun.xacml.ConfigurationStore
Private helper that handles the combiningAlgFactory elements.
parseFunctionFactory(Node) - Method in class com.sun.xacml.ConfigurationStore
Private helper that handles the functionFactory elements.
parseObligations(Node) - Method in class com.sun.xacml.AbstractPolicy
Helper routine to parse the obligation data
parsePDPConfig(Node) - Method in class com.sun.xacml.ConfigurationStore
Private helper that handles the pdp elements.
pdpConfigMap - Variable in class com.sun.xacml.ConfigurationStore
 
policyFinder - Variable in class com.sun.xacml.PDP
 
policyFinder - Variable in class com.sun.xacml.PDPConfig
 
policyType - Variable in class com.sun.xacml.PolicyReference
 

R

RESOURCE - Static variable in class com.sun.xacml.TargetMatch
An integer value indicating that this class represents a ResourceMatch
RESOURCE_ID - Static variable in interface com.sun.xacml.EvaluationCtx
The standard URI for listing a resource's id
RESOURCE_SCOPE - Static variable in interface com.sun.xacml.EvaluationCtx
The standard URI for listing a resource's scope
Rule - class com.sun.xacml.Rule.
Represents the RuleType XACML type.
Rule(URI, int, String, Target, Apply) - Constructor for class com.sun.xacml.Rule
Creates a new Rule object.
reference - Variable in class com.sun.xacml.PolicyReference
 
requestRoot - Variable in class com.sun.xacml.BasicEvaluationCtx
 
resolvePolicy() - Method in class com.sun.xacml.PolicyReference
Private helper method that tried to resolve the policy
resourceFinder - Variable in class com.sun.xacml.PDP
 
resourceFinder - Variable in class com.sun.xacml.PDPConfig
 
resourceId - Variable in class com.sun.xacml.BasicEvaluationCtx
 
resourceMap - Variable in class com.sun.xacml.BasicEvaluationCtx
 
resources - Variable in class com.sun.xacml.Target
 
result - Variable in class com.sun.xacml.MatchResult
 

S

SCOPE_CHILDREN - Static variable in interface com.sun.xacml.EvaluationCtx
Resource scope of Children (the given resource and its direct children)
SCOPE_DESCENDANTS - Static variable in interface com.sun.xacml.EvaluationCtx
Resource scope of Descendants (the given resource and all descendants at any depth or distance)
SCOPE_IMMEDIATE - Static variable in interface com.sun.xacml.EvaluationCtx
Resource scope of Immediate (only the given resource)
SUBJECT - Static variable in class com.sun.xacml.TargetMatch
An integer value indicating that this class represents a SubjectMatch
scope - Variable in class com.sun.xacml.BasicEvaluationCtx
 
setChildren(List) - Method in class com.sun.xacml.AbstractPolicy
Sets the child policy tree elements for this node, which are passed to the combining algorithm on evaluation.
setCurrentDate(DateAttribute) - Method in class com.sun.xacml.BasicEvaluationCtx
Sets the current date for this evaluation.
setCurrentDate(DateAttribute) - Method in interface com.sun.xacml.EvaluationCtx
Sets the current date for this evaluation.
setCurrentDateTime(DateTimeAttribute) - Method in class com.sun.xacml.BasicEvaluationCtx
Sets the current dateTime for this evaluation.
setCurrentDateTime(DateTimeAttribute) - Method in interface com.sun.xacml.EvaluationCtx
Sets the current dateTime for this evaluation.
setCurrentTime(TimeAttribute) - Method in class com.sun.xacml.BasicEvaluationCtx
Sets the current time for this evaluation.
setCurrentTime(TimeAttribute) - Method in interface com.sun.xacml.EvaluationCtx
Sets the current time for this evaluation.
setResourceId(AttributeValue) - Method in class com.sun.xacml.BasicEvaluationCtx
Changes the value of the resource-id attribute in this context.
setResourceId(AttributeValue) - Method in interface com.sun.xacml.EvaluationCtx
Changes the value of the resource-id attribute in this context.
setupConfig(File) - Method in class com.sun.xacml.ConfigurationStore
Private helper function used by both constructors to actually load the configuration data.
setupResource(Set) - Method in class com.sun.xacml.BasicEvaluationCtx
This basically does the same thing that the other types need to do, except that we also look for a resource-id attribute, not because we're going to use, but only to make sure that it's actually there, and for the optional scope attribute, to see what the scope of the attribute is
setupSubjects(Set) - Method in class com.sun.xacml.BasicEvaluationCtx
This is quick helper function to provide a little structure for the subject attributes so we can search for them (somewhat) quickly.
status - Variable in class com.sun.xacml.MatchResult
 
subjectMap - Variable in class com.sun.xacml.BasicEvaluationCtx
 
subjects - Variable in class com.sun.xacml.Target
 

T

Target - class com.sun.xacml.Target.
Represents the TargetType XML type in XACML.
Target(List, List, List) - Constructor for class com.sun.xacml.Target
Constructor that creates a Target from components.
TargetMatch - class com.sun.xacml.TargetMatch.
Represents the SubjectMatch, ResourceMatch, or ActionMatch XML types in XACML, depending on the value of the type field.
TargetMatch(int, Function, Evaluatable, AttributeValue) - Constructor for class com.sun.xacml.TargetMatch
Constructor that creates a TargetMatch from components.
target - Variable in class com.sun.xacml.AbstractPolicy
 
target - Variable in class com.sun.xacml.Rule
 
type - Variable in class com.sun.xacml.TargetMatch
 

U

UnknownIdentifierException - exception com.sun.xacml.UnknownIdentifierException.
Exception that gets thrown if an unknown identifier was used, such as the identifier used in any of the standard factories.
UnknownIdentifierException() - Constructor for class com.sun.xacml.UnknownIdentifierException
Creates an UnknownIdentifierException with no data
UnknownIdentifierException(String) - Constructor for class com.sun.xacml.UnknownIdentifierException
Creates an UnknownIdentifierException with a message
useCachedEnvValues - Variable in class com.sun.xacml.BasicEvaluationCtx
 
useDefaultFactories() - Method in class com.sun.xacml.ConfigurationStore
Uses the default configuration to re-set the default factories used by the system (attribute, combining algorithm, and function).
useStandard(Node, String) - Method in class com.sun.xacml.ConfigurationStore
Private helper used by the three factory routines to see if the given factory should be based on the standard setup

W

width - Variable in class com.sun.xacml.Indenter
 

X

XPATH_1_0_VERSION - Static variable in class com.sun.xacml.AbstractPolicy
XPath 1.0 identifier, the only version we support right now

A B C D E F G H I L M N O P R S T U W X