Class SamlMetadataHealthIndicator

java.lang.Object
se.swedenconnect.bankid.idp.health.SamlMetadataHealthIndicator
All Implemented Interfaces:
HealthContributor, HealthIndicator

@Component public class SamlMetadataHealthIndicator extends Object implements HealthIndicator
A HealthIndicator that monitors the SAML metadata feed.
Author:
Martin Lindström, Felix Hellman
  • Constructor Details

    • SamlMetadataHealthIndicator

      public SamlMetadataHealthIndicator(org.opensaml.saml.metadata.resolver.MetadataResolver metadataResolver, BankIdConfigurationProperties properties)
      Constructor.
      Parameters:
      metadataResolver - the SAML metadata feed
      properties - the BankID IdP configuration properties
  • Method Details

    • health

      public Health health()
      Ensures that the metadata records for each of the configured SP:s can be found.
      Specified by:
      health in interface HealthIndicator