Class SamlMetadataHealthIndicator
java.lang.Object
se.swedenconnect.bankid.idp.health.SamlMetadataHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor,org.springframework.boot.actuate.health.HealthIndicator
@Component
@Profile("!integrationtest")
public class SamlMetadataHealthIndicator
extends Object
implements org.springframework.boot.actuate.health.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
Modifier and TypeMethodDescriptionorg.springframework.boot.actuate.health.Healthhealth()Ensures that the metadata records for each of the configured SP:s can be found.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
public org.springframework.boot.actuate.health.Health health()Ensures that the metadata records for each of the configured SP:s can be found.- Specified by:
healthin interfaceorg.springframework.boot.actuate.health.HealthIndicator
-