Class SamlMetadataHealthIndicator
java.lang.Object
se.swedenconnect.bankid.idp.health.SamlMetadataHealthIndicator
- All Implemented Interfaces:
HealthContributor,HealthIndicator
@Component
@Profile("!integrationtest")
public class SamlMetadataHealthIndicator
extends Object
implements HealthIndicator
A
HealthIndicator that monitors the SAML metadata feed.- Author:
- Martin Lindström, Felix Hellman
-
Constructor Summary
ConstructorsConstructorDescriptionSamlMetadataHealthIndicator(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, waitMethods 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:
healthin interfaceHealthIndicator
-