Interface IdpMetadataResolver

All Known Implementing Classes:
DefaultIdpMetadataResolver, OpenSAMLIdpMetadataResolver, ProfileIdpMetadataResolver
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IdpMetadataResolver
Interface used by the SignService Integration Service to obtain SAML metadata for an IdP before the encryption process.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opensaml.saml.saml2.metadata.EntityDescriptor
    Gets the (valid) metadata for the given SAML IdP.
  • Method Details

    • resolveMetadata

      org.opensaml.saml.saml2.metadata.EntityDescriptor resolveMetadata(@Nonnull String entityID, @Nonnull IntegrationServiceConfiguration config) throws MetadataException
      Gets the (valid) metadata for the given SAML IdP.
      Parameters:
      entityID - the entityID for the IdP
      config - policy configuration
      Returns:
      the IdP metadata
      Throws:
      MetadataException - if no valid metadata can be found, or any other error occur