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.
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 TypeMethodDescriptionorg.opensaml.saml.saml2.metadata.EntityDescriptor
resolveMetadata
(String entityID, IntegrationServiceConfiguration config) 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 IdPconfig
- policy configuration- Returns:
- the IdP metadata
- Throws:
MetadataException
- if no valid metadata can be found, or any other error occur
-