Class EndpointMetadataIndexTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.metadata.resolver.index.impl.EndpointMetadataIndexTest
-
public class EndpointMetadataIndexTest extends XMLObjectBaseTestCase
-
-
Field Summary
Fields Modifier and Type Field Description private EntityDescriptordescriptorprivate AssertionConsumerServiceendpoint1private ArtifactResolutionServiceendpoint2private MetadataIndexKeyendpointKey1private MetadataIndexKeyendpointKey2private StringentityIDprivate ArtifactResolutionServiceidpEndpointprivate MetadataIndexKeyidpEndpointKeyprivate StringidpLocationprivate IDPSSODescriptoridpRoleDescriptorprivate Stringlocation1private Stringlocation2private MetadataIndexKeyresponseEndpointKey1private StringresponseLocation1private SPSSODescriptorspRoleDescriptor-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description EndpointMetadataIndexTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()voidtestDefaultEndpointSelectionPredicate()voidtestEndpointKey()voidtestGenerateKeysFromCriteria()voidtestGenerateKeysFromDescriptorAlwaysFalseSelector()voidtestGenerateKeysFromDescriptorDefaultCtor()voidtestGenerateKeysFromDescriptorIndexOnlyACS()voidtestGenerateKeysFromDescriptorTwoRoles()voidtestGenerateKeysFromDescriptorWithResponseLocation()-
Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElement
-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Field Detail
-
entityID
private String entityID
-
descriptor
private EntityDescriptor descriptor
-
spRoleDescriptor
private SPSSODescriptor spRoleDescriptor
-
idpRoleDescriptor
private IDPSSODescriptor idpRoleDescriptor
-
endpoint1
private AssertionConsumerService endpoint1
-
endpoint2
private ArtifactResolutionService endpoint2
-
idpEndpoint
private ArtifactResolutionService idpEndpoint
-
location1
private String location1
-
location2
private String location2
-
responseLocation1
private String responseLocation1
-
idpLocation
private String idpLocation
-
endpointKey1
private MetadataIndexKey endpointKey1
-
endpointKey2
private MetadataIndexKey endpointKey2
-
responseEndpointKey1
private MetadataIndexKey responseEndpointKey1
-
idpEndpointKey
private MetadataIndexKey idpEndpointKey
-
-
Method Detail
-
setUp
@BeforeMethod protected void setUp()
-
testGenerateKeysFromCriteria
public void testGenerateKeysFromCriteria()
-
testGenerateKeysFromDescriptorAlwaysFalseSelector
public void testGenerateKeysFromDescriptorAlwaysFalseSelector()
-
testGenerateKeysFromDescriptorDefaultCtor
public void testGenerateKeysFromDescriptorDefaultCtor()
-
testGenerateKeysFromDescriptorTwoRoles
public void testGenerateKeysFromDescriptorTwoRoles()
-
testGenerateKeysFromDescriptorWithResponseLocation
public void testGenerateKeysFromDescriptorWithResponseLocation()
-
testGenerateKeysFromDescriptorIndexOnlyACS
public void testGenerateKeysFromDescriptorIndexOnlyACS()
-
testDefaultEndpointSelectionPredicate
public void testDefaultEndpointSelectionPredicate()
-
testEndpointKey
public void testEndpointKey() throws UnsupportedEncodingException, NoSuchAlgorithmException
-
-