Package org.opensaml.security

Examples of org.opensaml.security.MetadataCredentialResolver$MetadataProviderObserver


    public SignatureTrustEngineProvider(final MetadataProvider metadataProvider) {
        this.metadataProvider = metadataProvider;
    }

    public SignatureTrustEngine build() {
        MetadataCredentialResolver metadataResolver = new MetadataCredentialResolver(this.metadataProvider);
        return new ExplicitKeySignatureTrustEngine(metadataResolver, Configuration.getGlobalSecurityConfiguration()
                .getDefaultKeyInfoCredentialResolver());
    }
View Full Code Here


        Assert.notNull(keyManager, "Key manager must be set");
        Assert.notNull(metadata, "Metadata must be set");
        Assert.notNull(storageFactory, "MessageStorageFactory must be set");

        if (metadataResolver == null) {
            MetadataCredentialResolver resolver = new org.springframework.security.saml.trust.MetadataCredentialResolver(metadata, keyManager);
            resolver.setMeetAllCriteria(false);
            resolver.setUnevaluableSatisfies(true);
            this.metadataResolver = resolver;
        }

        if (pkixResolver == null) {
            pkixResolver = new PKIXInformationResolver(metadataResolver, metadata, keyManager);
View Full Code Here

TOP

Related Classes of org.opensaml.security.MetadataCredentialResolver$MetadataProviderObserver

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.