Class PredicateFilteringTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.metadata.resolver.impl.PredicateFilteringTest
-
public class PredicateFilteringTest extends XMLObjectBaseTestCase
Test metadata predicate-based filtering code implemented inAbstractMetadataResolverandAbstractBatchMetadataResolver, usingFilesystemMetadataResolver.
-
-
Field Summary
Fields Modifier and Type Field Description private CriteriaSetcriteriaSetprivate StringentityIDprivate FilemdFileprivate FilesystemMetadataResolvermetadataProvider-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description PredicateFilteringTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()voidtestResolveByEntityIDAndFilterByRole()voidtestResolveByRoleViaPredicatesOnly()voidtestResolveByRoleWithoutViaPredicatesOnly()-
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
-
metadataProvider
private FilesystemMetadataResolver metadataProvider
-
mdFile
private File mdFile
-
entityID
private String entityID
-
criteriaSet
private CriteriaSet criteriaSet
-
-
Method Detail
-
testResolveByEntityIDAndFilterByRole
public void testResolveByEntityIDAndFilterByRole() throws ResolverException, ComponentInitializationException
-
testResolveByRoleViaPredicatesOnly
public void testResolveByRoleViaPredicatesOnly() throws ResolverException, ComponentInitializationException
-
testResolveByRoleWithoutViaPredicatesOnly
public void testResolveByRoleWithoutViaPredicatesOnly() throws ResolverException, ComponentInitializationException
-
-