Package org.picketlink.identity.federation.core.saml.md.providers

Examples of org.picketlink.identity.federation.core.saml.md.providers.FileBasedEntityMetadataProvider


* @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a>
*/
public class FileBasedMetadataProviderUnitTestCase extends TestCase {

    public void testFileBasedEntityMetadataProvider() {
        FileBasedEntityMetadataProvider metadataProvider = new FileBasedEntityMetadataProvider();
        EntityDescriptorType metadata = getMetadata(metadataProvider, "saml2/metadata/sp-entitydescriptor.xml");

        assertEquals(metadata.getEntityID(), "https://service.example.org/shibboleth");
        SPSSODescriptorType spSSODescriptor = CoreConfigUtil.getSPDescriptor(metadata);
        assertNull(spSSODescriptor.isAuthnRequestsSigned());
View Full Code Here

TOP

Related Classes of org.picketlink.identity.federation.core.saml.md.providers.FileBasedEntityMetadataProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.