Examples of persistTrustedProviders()


Examples of org.picketlink.identity.federation.core.saml.v2.metadata.store.FileBasedMetadataConfigurationStore.persistTrustedProviders()

    public void testTrustedProviders() throws Exception {
        FileBasedMetadataConfigurationStore fbd = new FileBasedMetadataConfigurationStore();
        Map<String, String> trustedProviders = new HashMap<String, String>();
        trustedProviders.put("idp1", "http://localhost:8080/idp1/metadata");
        trustedProviders.put("idp2", "http://localhost:8080/idp2/metadata");
        fbd.persistTrustedProviders(id, trustedProviders);

        // Lets get back
        Map<String, String> loadTP = fbd.loadTrustedProviders(id);
        assertNotNull("Loaded Trusted Providers not null", loadTP);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.