Class LdapServiceRegistryProperties

All Implemented Interfaces:
Serializable, CasFeatureModule

@RequiresModule(name="cas-server-support-ldap-service-registry") public class LdapServiceRegistryProperties extends AbstractLdapSearchProperties
Since:
5.0.0
See Also:
  • Constructor Details

    • LdapServiceRegistryProperties

      public LdapServiceRegistryProperties()
  • Method Details

    • getSearchFilter

      public String getSearchFilter()
      Description copied from class: AbstractLdapSearchProperties
      User filter to use for searching. Syntax is cn={user} or cn={0}.

      You may also provide an external groovy script in the syntax of file:/path/to/GroovyScript.groovy to fully build the final filter template dynamically.

      Overrides:
      getSearchFilter in class AbstractLdapSearchProperties
    • getLoadFilter

      public String getLoadFilter()
    • getObjectClass

      public String getObjectClass()
      Object class used for the registered service entry in LDAP.
    • getIdAttribute

      public String getIdAttribute()
      ID attribute used for the registered service entry in LDAP to keep track of the service numeric identifier.
    • getServiceDefinitionAttribute

      public String getServiceDefinitionAttribute()
      Service definition attribute used for the registered service entry in LDAP to keep a representation of the service body.
    • setObjectClass

      public LdapServiceRegistryProperties setObjectClass(String objectClass)
      Object class used for the registered service entry in LDAP.
      Returns:
      this.
    • setIdAttribute

      public LdapServiceRegistryProperties setIdAttribute(String idAttribute)
      ID attribute used for the registered service entry in LDAP to keep track of the service numeric identifier.
      Returns:
      this.
    • setServiceDefinitionAttribute

      public LdapServiceRegistryProperties setServiceDefinitionAttribute(String serviceDefinitionAttribute)
      Service definition attribute used for the registered service entry in LDAP to keep a representation of the service body.
      Returns:
      this.
    • setLoadFilter

      public LdapServiceRegistryProperties setLoadFilter(String loadFilter)
      The load filter used to load entries by the objectClass. This is typically used to load all definitions that might be mapped to a service definition. The search filter used to load entries by the idAttribute. This is typically used to load a specific service definition by its id during search operations.
      Returns:
      this.