Class RpCertificateHealthIndicator
java.lang.Object
se.swedenconnect.bankid.idp.health.RpCertificateHealthIndicator
- All Implemented Interfaces:
HealthContributor
,HealthIndicator
Health check indicator for the installed BankID Relying Party certificates.
- Author:
- Martin Lindström, Felix Hellman
-
Constructor Summary
ConstructorsConstructorDescriptionRpCertificateHealthIndicator
(BankIdConfigurationProperties properties, PkiCredentialFactory pkiCredentialFactory) 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
-
RpCertificateHealthIndicator
public RpCertificateHealthIndicator(BankIdConfigurationProperties properties, PkiCredentialFactory pkiCredentialFactory) Constructor.- Parameters:
properties
- the BankID IdP configuration propertiespkiCredentialFactory
- for loading credentials
-
-
Method Details
-
health
Checks if the RP certificate has expired, or is about to.- Specified by:
health
in interfaceHealthIndicator
-