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

Quick Search    Search Deep
A B C E F G I L M N P R S T

A

areEquivalent(ResponseCtx, ResponseCtx) - Static method in class com.sun.xacml.test.TestUtil
Returns whether two XACML Responses are equivalent.
areEquivalent(Status, Status) - Static method in class com.sun.xacml.test.TestUtil
Compares two XACML Status elements to see if they're equivalent.
areEquivalent(Set, Set) - Static method in class com.sun.xacml.test.TestUtil
Compares two sets to see if they contain equivalent obligations

B

BasicGroupTest - class com.sun.xacml.test.BasicGroupTest.
A basic implementation of a group of tests.
BasicGroupTest(String, boolean, List) - Constructor for class com.sun.xacml.test.BasicGroupTest
Constructor that accepts all the required values
BasicTest - class com.sun.xacml.test.BasicTest.
A simple implementation of a single conformance test case.
BasicTest(PDP, TestPolicyFinderModule, Set, Map, Map, String, boolean, boolean) - Constructor for class com.sun.xacml.test.BasicTest
Constructor that accepts all values associatd with a test.

C

com.sun.xacml.test - package com.sun.xacml.test
 
configurePDP() - Method in class com.sun.xacml.test.TestDriver
Private helper that configures the pdp and the factories based on the settings in the run-time configuration file.

E

equals(String, String) - Static method in class com.sun.xacml.test.TestUtil
Private helper that sees if two strings are equal, handling null cases.
errorExpected - Variable in class com.sun.xacml.test.BasicTest
 
experimental - Variable in class com.sun.xacml.test.BasicGroupTest
 
experimental - Variable in class com.sun.xacml.test.BasicTest
 

F

findAttribute(URI, URI, URI, URI, EvaluationCtx, int) - Method in class com.sun.xacml.test.TestAttributeFinderModule
Supports the retrieval of exactly one kind of attribute.
findChildResources(AttributeValue, EvaluationCtx) - Method in class com.sun.xacml.test.TestResourceFinderModule
Finds the children resources associated with the given root, assuming the hierarchy is one that this module handles.
findDescendantResources(AttributeValue, EvaluationCtx) - Method in class com.sun.xacml.test.TestResourceFinderModule
Finds the children resources associated with the given root, assuming the hierarchy is one that this module handles.
findPolicy(EvaluationCtx) - Method in class com.sun.xacml.test.TestPolicyFinderModule
Finds the applicable policy (if there is one) for the given context.
findPolicy(URI, int) - Method in class com.sun.xacml.test.TestPolicyFinderModule
Resolves the reference to a policy or policy set, if possible.
finder - Variable in class com.sun.xacml.test.TestPolicyFinderModule
 

G

getInstance(Node, PDP, TestPolicyFinderModule) - Static method in class com.sun.xacml.test.BasicGroupTest
Creates an instance of a group of tests from its XML representation.
getInstance(Node, PDP, TestPolicyFinderModule) - Static method in class com.sun.xacml.test.BasicTest
Creates an instance of a test from its XML representation.
getName() - Method in class com.sun.xacml.test.BasicGroupTest
 
getName() - Method in class com.sun.xacml.test.BasicTest
 
getName() - Method in interface com.sun.xacml.test.Test
Returns the name of this test.
getRootNode(String) - Method in class com.sun.xacml.test.TestDriver
Private helper that parses the file and sets up the DOM tree.
getSupportedDesignatorTypes() - Method in class com.sun.xacml.test.TestAttributeFinderModule
Returns only SUBJECT_TARGET since this module only supports Subject attributes.
getSupportedIds() - Method in class com.sun.xacml.test.TestAttributeFinderModule
Returns the one identifer this module supports.
getTests() - Method in class com.sun.xacml.test.BasicGroupTest
Returns the tests contained in this group.

I

init(PolicyFinder) - Method in class com.sun.xacml.test.TestPolicyFinderModule
Initializes this module with the given finder.
isAttrTrue(NamedNodeMap, String) - Static method in class com.sun.xacml.test.BasicTest
Private helper that reads a attribute to see if it's set, and if so if its value is "true".
isChildSupported() - Method in class com.sun.xacml.test.TestResourceFinderModule
Always returns true, since child resource resolution is supported.
isDescendantSupported() - Method in class com.sun.xacml.test.TestResourceFinderModule
Always returns true, since descendant resource resolution is supported.
isDesignatorSupported() - Method in class com.sun.xacml.test.TestAttributeFinderModule
Always returns true, since designators are supported.
isErrorExpected() - Method in class com.sun.xacml.test.BasicGroupTest
 
isErrorExpected() - Method in class com.sun.xacml.test.BasicTest
 
isErrorExpected() - Method in interface com.sun.xacml.test.Test
Returns whether an error is expected to happen (and is therefore a success case).
isExperimental() - Method in class com.sun.xacml.test.BasicGroupTest
 
isExperimental() - Method in class com.sun.xacml.test.BasicTest
 
isExperimental() - Method in interface com.sun.xacml.test.Test
Returns whether or not this is an experimental test, and therefore not part of the required test cases.
isIdReferenceSupported() - Method in class com.sun.xacml.test.TestPolicyFinderModule
Always returns true, since reference-based retrieval is supported.
isRequestSupported() - Method in class com.sun.xacml.test.TestPolicyFinderModule
Always returns true, since request-based retrieval is supported.

L

loadPolicy(String, PolicyFinder) - Method in class com.sun.xacml.test.TestPolicyFinderModule
Private helper that tries to load the given file-based policy, and returns null if any error occurs.
loadTests(String) - Method in class com.sun.xacml.test.TestDriver
Private helper that loads the tree of test cases

M

main(String[]) - Static method in class com.sun.xacml.test.TestDriver
Main-line.
module - Variable in class com.sun.xacml.test.BasicTest
 

N

name - Variable in class com.sun.xacml.test.BasicGroupTest
 
name - Variable in class com.sun.xacml.test.BasicTest
 

P

pdp - Variable in class com.sun.xacml.test.BasicTest
 
pdp - Variable in class com.sun.xacml.test.TestDriver
 
policies - Variable in class com.sun.xacml.test.BasicTest
 
policies - Variable in class com.sun.xacml.test.TestPolicyFinderModule
 
policyModule - Variable in class com.sun.xacml.test.TestDriver
 
policyRefPrefix - Variable in class com.sun.xacml.test.TestPolicyFinderModule
 
policyRefs - Variable in class com.sun.xacml.test.BasicTest
 
policyRefs - Variable in class com.sun.xacml.test.TestPolicyFinderModule
 
policySetRefPrefix - Variable in class com.sun.xacml.test.TestPolicyFinderModule
 
policySetRefs - Variable in class com.sun.xacml.test.BasicTest
 
policySetRefs - Variable in class com.sun.xacml.test.TestPolicyFinderModule
 

R

ROLE_IDENTIFIER - Static variable in class com.sun.xacml.test.TestAttributeFinderModule
The example identifier this module supports
requestApplies(AttributeValue) - Method in class com.sun.xacml.test.TestResourceFinderModule
Private helper method that checks if the given resource is the root of a hierarchy that we know how to handle.
run(String) - Method in class com.sun.xacml.test.BasicGroupTest
 
run(String) - Method in class com.sun.xacml.test.BasicTest
 
run(String) - Method in interface com.sun.xacml.test.Test
Runs the test.
runTests(String) - Method in class com.sun.xacml.test.TestDriver
Runs the tests, in order, using the given location of the test data.

S

setPolicies(String) - Method in class com.sun.xacml.test.TestPolicyFinderModule
Re-sets the policies known to this module to the single policy provided in the given file.
setPolicies(Set) - Method in class com.sun.xacml.test.TestPolicyFinderModule
Re-sets the policies known to this module to those contained in the given files.
setPolicyRefs(Map, String) - Method in class com.sun.xacml.test.TestPolicyFinderModule
Re-sets the policy reference mapping used for policies.
setPolicySetRefs(Map, String) - Method in class com.sun.xacml.test.TestPolicyFinderModule
Re-sets the policy reference mapping used for policy sets.
subjectIdentifier - Static variable in class com.sun.xacml.test.TestAttributeFinderModule
 

T

Test - interface com.sun.xacml.test.Test.
Simple interface that defines what a single test does.
TestAttributeFinderModule - class com.sun.xacml.test.TestAttributeFinderModule.
An AttributeFinderModule used to handle the example role attribute used by the conformance tests.
TestAttributeFinderModule() - Constructor for class com.sun.xacml.test.TestAttributeFinderModule
Default constructor.
TestDriver - class com.sun.xacml.test.TestDriver.
Simple driver class that sets up and runs the tests.
TestDriver(String) - Constructor for class com.sun.xacml.test.TestDriver
Constructor that sets up the tests for running.
TestPolicyFinderModule - class com.sun.xacml.test.TestPolicyFinderModule.
A PolicyFinderModule used to handle all policies in the conformance tests.
TestPolicyFinderModule() - Constructor for class com.sun.xacml.test.TestPolicyFinderModule
Default constructor.
TestResourceFinderModule - class com.sun.xacml.test.TestResourceFinderModule.
A ResourceFinderModule used to handle the hierarchical resources in the conformance tests.
TestResourceFinderModule() - Constructor for class com.sun.xacml.test.TestResourceFinderModule
Default constructor.
TestUtil - class com.sun.xacml.test.TestUtil.
Simple utility class that provides some equality methods for testing whether evaluation results match.
TestUtil() - Constructor for class com.sun.xacml.test.TestUtil
 
tests - Variable in class com.sun.xacml.test.BasicGroupTest
 
tests - Variable in class com.sun.xacml.test.TestDriver
 

A B C E F G I L M N P R S T