Index

B D G I M N O P R S T 
All Classes and Interfaces|All Packages

B

baseDir - Variable in class org.apache.neethi.PolicyTestCase
 
BasicTestCases - Class in org.apache.neethi
 
BasicTestCases() - Constructor for class org.apache.neethi.BasicTestCases
 

D

doTest(int) - Method in class org.apache.neethi.Normalize2Test
 
doTest(String, String, int) - Method in class org.apache.neethi.IntersectTest
 
doTest(String, String, int) - Method in class org.apache.neethi.MergeTest
 
doTest(String, String, int) - Method in class org.apache.neethi.NormalizeTest
 
doTest(String, String, int, List<String>) - Method in class org.apache.neethi.NormalizeTest
 

G

getPolicy(String) - Method in class org.apache.neethi.PolicyTestCase
 
getPolicy(String, int) - Method in class org.apache.neethi.PolicyTestCase
 
getResource(String) - Method in class org.apache.neethi.PolicyTestCase
 
getResourceAsDOM(String) - Method in class org.apache.neethi.PolicyTestCase
 
getResourceAsElement(String) - Method in class org.apache.neethi.PolicyTestCase
 
getResourceAsStax(String) - Method in class org.apache.neethi.PolicyTestCase
 

I

IntersectTest - Class in org.apache.neethi
 
IntersectTest() - Constructor for class org.apache.neethi.IntersectTest
 

M

MergeTest - Class in org.apache.neethi
 
MergeTest() - Constructor for class org.apache.neethi.MergeTest
 

N

Normalize2Test - Class in org.apache.neethi
 
Normalize2Test() - Constructor for class org.apache.neethi.Normalize2Test
 
NormalizeTest - Class in org.apache.neethi
 
NormalizeTest() - Constructor for class org.apache.neethi.NormalizeTest
 

O

org.apache.neethi - package org.apache.neethi
 
org.apache.neethi.builders - package org.apache.neethi.builders
 
org.apache.neethi.builders.converters - package org.apache.neethi.builders.converters
 
org.apache.neethi.util - package org.apache.neethi.util
 

P

PolicyComparatorTest - Class in org.apache.neethi.util
 
PolicyComparatorTest() - Constructor for class org.apache.neethi.util.PolicyComparatorTest
 
policyEngine - Variable in class org.apache.neethi.PolicyTestCase
 
PolicyModelTest - Class in org.apache.neethi
Unit tests for All, ExactlyOne, Policy, and the shared behaviour in AbstractPolicyOperator.
PolicyModelTest() - Constructor for class org.apache.neethi.PolicyModelTest
 
PolicyNormalizationDoSTest - Class in org.apache.neethi
Policy normalization computes a Cartesian cross-product of the alternatives inside nested All operators.
PolicyNormalizationDoSTest() - Constructor for class org.apache.neethi.PolicyNormalizationDoSTest
 
PolicyReferenceTest - Class in org.apache.neethi
Tests for PolicyReference URI scheme validation (CWE-918 / SSRF hardening).
PolicyReferenceTest() - Constructor for class org.apache.neethi.PolicyReferenceTest
 
PolicyRegistryImplTest - Class in org.apache.neethi
Unit tests for PolicyRegistryImpl.
PolicyRegistryImplTest() - Constructor for class org.apache.neethi.PolicyRegistryImplTest
 
PolicyTestCase - Class in org.apache.neethi
 
PolicyTestCase() - Constructor for class org.apache.neethi.PolicyTestCase
 
PrimitiveAssertionTest - Class in org.apache.neethi.builders
Unit tests for PrimitiveAssertion.
PrimitiveAssertionTest() - Constructor for class org.apache.neethi.builders.PrimitiveAssertionTest
 

R

registry - Variable in class org.apache.neethi.PolicyTestCase
 
runTest(String, String, String, String, int) - Method in class org.apache.neethi.IntersectTest
 
runTest(String, String, String, String, String, boolean, int) - Method in class org.apache.neethi.IntersectTest
 

S

StaxToDOMConverterTest - Class in org.apache.neethi.builders.converters
 
StaxToDOMConverterTest() - Constructor for class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 

T

testAddAttribute_roundtrip() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testAddAttributes_mergesAll() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testAll_addAssertion_appearsInAssertions() - Method in class org.apache.neethi.PolicyModelTest
 
testAll_addComponent_notEmpty() - Method in class org.apache.neethi.PolicyModelTest
 
testAll_addMultipleComponents() - Method in class org.apache.neethi.PolicyModelTest
 
testAll_addNullComponent_throwsIllegalArgument() - Method in class org.apache.neethi.PolicyModelTest
 
testAll_addPolicyComponents_addsAll() - Method in class org.apache.neethi.PolicyModelTest
 
testAll_constructorWithParent_addsItselfToParent() - Method in class org.apache.neethi.PolicyModelTest
 
testAll_equal_differentContent() - Method in class org.apache.neethi.PolicyModelTest
 
testAll_equal_sameContent() - Method in class org.apache.neethi.PolicyModelTest
 
testAll_getFirstPolicyComponent_emptyReturnsNull() - Method in class org.apache.neethi.PolicyModelTest
 
testAll_getFirstPolicyComponent_returnsFirst() - Method in class org.apache.neethi.PolicyModelTest
 
testAll_getPolicyComponents_returnsSameList() - Method in class org.apache.neethi.PolicyModelTest
 
testAll_getType() - Method in class org.apache.neethi.PolicyModelTest
 
testAll_newIsEmpty() - Method in class org.apache.neethi.PolicyModelTest
 
testCDataSection() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testChildInheritedNamespace() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testChildShadowsParent() - Method in class org.apache.neethi.PolicyRegistryImplTest
 
testCircularPolicyReferenceThrowsStackOverflow() - Method in class org.apache.neethi.PolicyReferenceTest
Test two policies that mutually reference each other cause unbounded recursion in AbstractPolicyOperator.normalizeOperator() when normalize(true) is called.
testComment() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testCommentAmongSiblings() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testCompare_differentTypes() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testCompareAll_bothEmpty() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testCompareAll_differentComponents() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testCompareAll_differentSizes() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testCompareAll_withMatchingComponents() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testCompareAssertions_differentName() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testCompareAssertions_sameName() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testCompareExactlyOne_bothEmpty() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testCompareExactlyOne_withMatchingAll() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testConstructorWithParent_setsParentCorrectly() - Method in class org.apache.neethi.PolicyRegistryImplTest
 
testDefaultConstructor_nullName() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testDefaultNamespace() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testDOM() - Method in class org.apache.neethi.IntersectTest
 
testDOM() - Method in class org.apache.neethi.MergeTest
 
testDOM() - Method in class org.apache.neethi.Normalize2Test
 
testDOM() - Method in class org.apache.neethi.NormalizeTest
 
testDOMW3C() - Method in class org.apache.neethi.NormalizeTest
 
testEntityReferenceProducesEntityReferenceNode() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
Reproduces Finding 6 (SECURITY_REPORT.md): on the unfixed code the ENTITY_REFERENCE case called createProcessingInstruction(getPITarget(), getPIData()), where getPITarget() throws IllegalStateException because the current event is not PROCESSING_INSTRUCTION.
testEqualPolicyComponent_differentAssertion() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testEqualPolicyComponent_nonAssertion() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testEqualPolicyComponent_reflexive() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testEqualPolicyComponent_sameAssertion() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testEquals_differentAttributes() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testEquals_differentIgnorable() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testEquals_differentName() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testEquals_differentOptional() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testEquals_differentTextValue() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testEquals_notPrimitiveAssertion() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testEquals_reflexive() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testEquals_symmetric() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testExactlyOne_addComponent_notEmpty() - Method in class org.apache.neethi.PolicyModelTest
 
testExactlyOne_addNullComponent_throwsIllegalArgument() - Method in class org.apache.neethi.PolicyModelTest
 
testExactlyOne_constructorWithParent_addsItselfToParent() - Method in class org.apache.neethi.PolicyModelTest
 
testExactlyOne_getType() - Method in class org.apache.neethi.PolicyModelTest
 
testExactlyOne_newIsEmpty() - Method in class org.apache.neethi.PolicyModelTest
 
testExponentialCrossProductIsRejectedWithAlternativeCountLimit() - Method in class org.apache.neethi.PolicyNormalizationDoSTest
Builds a Policy whose normalization produces 2^NESTING_DEPTH alternatives, then asserts that normalization throws a RuntimeException whose message indicates an alternative-count limit was enforced.
testFileSchemeIsRejected() - Method in class org.apache.neethi.PolicyReferenceTest
 
testFtpSchemeDoesNotTriggerOutboundConnection() - Method in class org.apache.neethi.PolicyReferenceTest
Verifies that a ftp:// URI is rejected BEFORE any TCP connection is made.
testFtpSchemeIsRejected() - Method in class org.apache.neethi.PolicyReferenceTest
 
testFullConstructor_attributesAndText() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testGetAttribute_absentReturnsNull() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testGetAttributes_emptyMapByDefault() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testGetAttributes_returnsCopy() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testGetPolicyFromPolicyReferenceFile() - Method in class org.apache.neethi.PolicyReferenceTest
Loads a policy from test-policy-reference.xml and verifies the policy name is parsed correctly.
testGetType() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testHashCode_consistent() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testHashCode_equalObjectsSameHash() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testHttpSchemeIsPermitted() - Method in class org.apache.neethi.PolicyReferenceTest
Verifies that http:// URIs are accepted by the scheme check (the connection will fail with a RuntimeException due to the server refusing/not existing, but the exception must NOT be about an unsupported scheme).
testHttpsSchemeIsPermitted() - Method in class org.apache.neethi.PolicyReferenceTest
 
testIgnorable_falseByDefault() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testIgnorableConstructor_ignorableSet() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testInvalidPolicyElementName() - Method in class org.apache.neethi.BasicTestCases
 
testJarSchemeIsRejected() - Method in class org.apache.neethi.PolicyReferenceTest
 
testLookupMissingKey_returnsNull() - Method in class org.apache.neethi.PolicyRegistryImplTest
 
testMalformedUriIsRejected() - Method in class org.apache.neethi.PolicyReferenceTest
 
testMixedContent() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testMultiChildren() - Method in class org.apache.neethi.BasicTestCases
 
testMultipleAttributes() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testMultipleSiblings() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testMyTest() - Method in class org.apache.neethi.IntersectTest
 
testNamespacedAttribute() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testNamespacedElement() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testNeethi15() - Method in class org.apache.neethi.IntersectTest
 
testNestedElements() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testNoParent_missingKeyReturnsNull() - Method in class org.apache.neethi.PolicyRegistryImplTest
 
testNormalize_nonOptional_returnsSelf() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testNormalize_optional_returnsPolicy() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testOM() - Method in class org.apache.neethi.IntersectTest
 
testOM() - Method in class org.apache.neethi.MergeTest
 
testOM() - Method in class org.apache.neethi.Normalize2Test
 
testOM() - Method in class org.apache.neethi.NormalizeTest
 
testOMW3C() - Method in class org.apache.neethi.NormalizeTest
 
testOptional_falseByDefault() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testOptionalConstructor_optionalSet() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testParentDelegation_childMissLookesInParent() - Method in class org.apache.neethi.PolicyRegistryImplTest
 
testParentNotConsulted_whenChildHasKey() - Method in class org.apache.neethi.PolicyRegistryImplTest
 
testPolicy_addAndGetAttribute() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_defaultConstructor_noNameNoId() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_getAttribute_absentKeyReturnsNull() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_getAttributes_containsAll() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_getNamespace() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_getType() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_merge_componentCounts() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_merge_doesNotMutateOriginals() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_normalize_preservesNameAndId() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_normalize_resolvesRegistryRef() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_normalize_unresolvableRef_throws() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_normalizeEmpty_resultsInEmptyAlternatives() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_normalizeSingleAssertion() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_registryRoundtrip() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_setGetId() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_setGetName() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicy_setPolicyRegistry() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicyChildren() - Method in class org.apache.neethi.BasicTestCases
 
testPolicyComparison_bothNullName() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testPolicyComparison_differentIds() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testPolicyComparison_differentNames() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testPolicyComparison_differentNamespaces() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testPolicyComparison_oneNullId() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testPolicyComparison_oneNullOneName() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testPolicyComparison_sameIds() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testPolicyComparison_sameNames() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testPolicyComparison_sameNamespaceAndName() - Method in class org.apache.neethi.util.PolicyComparatorTest
 
testPolicyReference_equal_differentURI() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicyReference_equal_sameURI() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicyReference_equal_wrongType() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicyReference_getType() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicyReference_setGetURI() - Method in class org.apache.neethi.PolicyModelTest
 
testPolicyWritingNamespaces() - Method in class org.apache.neethi.BasicTestCases
 
testPrimitiveBuilder() - Method in class org.apache.neethi.BasicTestCases
 
testProcessingInstruction() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testProcessingInstructionNoData() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testQNameConstructor_nameSet() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testRegisterAndLookup() - Method in class org.apache.neethi.PolicyRegistryImplTest
 
testRegisterOverwrite_replacesOldValue() - Method in class org.apache.neethi.PolicyRegistryImplTest
 
testRemove_makesLookupReturnNull() - Method in class org.apache.neethi.PolicyRegistryImplTest
 
testRemove_nonExistentKey_doesNotThrow() - Method in class org.apache.neethi.PolicyRegistryImplTest
 
testResourceDir - Variable in class org.apache.neethi.PolicyTestCase
 
testSetAndGetParent() - Method in class org.apache.neethi.PolicyRegistryImplTest
 
testSetIgnorable_roundtrip() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testSetName_roundtrip() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testSetOptional_roundtrip() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testSetParent_enablesDelegation() - Method in class org.apache.neethi.PolicyRegistryImplTest
 
testSetTextValue_roundtrip() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testSimpleElement() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testStax() - Method in class org.apache.neethi.IntersectTest
 
testStax() - Method in class org.apache.neethi.MergeTest
 
testStax() - Method in class org.apache.neethi.Normalize2Test
 
testStax() - Method in class org.apache.neethi.NormalizeTest
 
testStream() - Method in class org.apache.neethi.IntersectTest
 
testStream() - Method in class org.apache.neethi.MergeTest
 
testStream() - Method in class org.apache.neethi.Normalize2Test
 
testStream() - Method in class org.apache.neethi.NormalizeTest
 
testTextContent() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testTextValue_nullByDefault() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testToString_containsName() - Method in class org.apache.neethi.builders.PrimitiveAssertionTest
 
testUnprefixedAttribute() - Method in class org.apache.neethi.builders.converters.StaxToDOMConverterTest
 
testW3CDOM() - Method in class org.apache.neethi.IntersectTest
 
testW3CDOM() - Method in class org.apache.neethi.MergeTest
 
testW3COM() - Method in class org.apache.neethi.MergeTest
 
B D G I M N O P R S T 
All Classes and Interfaces|All Packages