Class SpringCredentialConfigurationProperties.MonitoringProperties

java.lang.Object
se.swedenconnect.security.credential.spring.autoconfigure.SpringCredentialConfigurationProperties.MonitoringProperties
Enclosing class:
SpringCredentialConfigurationProperties

public static class SpringCredentialConfigurationProperties.MonitoringProperties extends Object
For monitoring.
Author:
Martin Lindström
  • Constructor Details

    • MonitoringProperties

      public MonitoringProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Tells whether credential monitoring is enabled.
      Returns:
      whether credential monitoring is enabled
    • setEnabled

      public void setEnabled(boolean enabled)
      Assigns whether credential monitoring is enabled.
      Parameters:
      enabled - whether credential monitoring is enabled
    • getTestInterval

      public Duration getTestInterval()
      Gets the interval between tests of credentials.
      Returns:
      the interval between tests of credentials
    • setTestInterval

      public void setTestInterval(Duration testInterval)
      Assigns the interval between tests of credentials.
      Parameters:
      testInterval - the interval between tests of credentials
    • isHealthEndpointEnabled

      public boolean isHealthEndpointEnabled()
      Tells whether a HealthEndpoint for monitoring should be set up.
      Returns:
      whether a HealthEndpoint for monitoring should be set up
    • setHealthEndpointEnabled

      public void setHealthEndpointEnabled(boolean healthEndpointEnabled)
      Assigns whether a HealthEndpoint for monitoring should be set up.
      Parameters:
      healthEndpointEnabled - whether a HealthEndpoint for monitoring should be set up