Class SamlMetadataHealthIndicator
java.lang.Object
se.swedenconnect.bankid.idp.health.SamlMetadataHealthIndicator
- All Implemented Interfaces:
HealthContributor
,HealthIndicator
A
HealthIndicator
that monitors the SAML metadata feed.- Author:
- Martin Lindström, Felix Hellman
-
Constructor Summary
ConstructorDescriptionSamlMetadataHealthIndicator
(org.opensaml.saml.metadata.resolver.MetadataResolver metadataResolver, BankIdConfigurationProperties properties) Constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.boot.actuate.health.HealthIndicator
getHealth
-
Constructor Details
-
SamlMetadataHealthIndicator
public SamlMetadataHealthIndicator(org.opensaml.saml.metadata.resolver.MetadataResolver metadataResolver, BankIdConfigurationProperties properties) Constructor.- Parameters:
metadataResolver
- the SAML metadata feedproperties
- the BankID IdP configuration properties
-
-
Method Details
-
health
Ensures that the metadata records for each of the configured SP:s can be found.- Specified by:
health
in interfaceHealthIndicator
-