Class LdapMonitorProperties

java.lang.Object
org.apereo.cas.configuration.model.support.ldap.AbstractLdapProperties
org.apereo.cas.configuration.model.core.monitor.LdapMonitorProperties
All Implemented Interfaces:
Serializable, CasFeatureModule

@RequiresModule(name="cas-server-support-ldap-monitor") public class LdapMonitorProperties extends AbstractLdapProperties
Since:
6.2.0
See Also:
  • Constructor Details

    • LdapMonitorProperties

      public LdapMonitorProperties()
      Initialize minPoolSize for the monitor to zero. This prevents a bad ldap connection from causing server to fail startup. User can override this default via configuration.
  • Method Details

    • getMaxWait

      public String getMaxWait()
      When monitoring the LDAP connection pool, indicates the amount of time the operation must wait before it times outs and considers the pool in bad shape.
    • isEnabled

      public boolean isEnabled()
      Whether LDAP monitoring should be enabled.
    • getPool

      public ConnectionPoolingProperties getPool()
      Options that define the thread pool that will ping on the ldap pool.
    • setMaxWait

      public LdapMonitorProperties setMaxWait(String maxWait)
      When monitoring the LDAP connection pool, indicates the amount of time the operation must wait before it times outs and considers the pool in bad shape.
      Returns:
      this.
    • setEnabled

      public LdapMonitorProperties setEnabled(boolean enabled)
      Whether LDAP monitoring should be enabled.
      Returns:
      this.
    • setPool

      Options that define the thread pool that will ping on the ldap pool.
      Returns:
      this.