Class LdapValidatorProperties
java.lang.Object
org.apereo.cas.configuration.model.support.ldap.LdapValidatorProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-ldap")
public class LdapValidatorProperties
extends Object
implements Serializable
This is
LdapValidatorProperties
.- Since:
- 5.3.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAttribute name to use for the compare validator.Attribute values to use for the compare validator.Base DN to use for the search request of the search validator.getDn()
DN to compare to use for the compare validator.getScope()
Search scope to use for the search request of the search validator.Search filter to use for the search request of the search validator.getType()
Determine the LDAP validator type.setAttributeName
(String attributeName) Attribute name to use for the compare validator.setAttributeValue
(String attributeValue) Attribute values to use for the compare validator.Base DN to use for the search request of the search validator.DN to compare to use for the compare validator.Search scope to use for the search request of the search validator.setSearchFilter
(String searchFilter) Search filter to use for the search request of the search validator.Determine the LDAP validator type.
-
Constructor Details
-
LdapValidatorProperties
public LdapValidatorProperties()
-
-
Method Details
-
getType
Determine the LDAP validator type.The following LDAP validators can be used to test connection health status:
search
: Validates a connection is healthy by performing a search operation. Validation is considered successful if the search result size is greater than zero.none
: No validation takes place.compare
: Validates a connection is healthy by performing a compare operation.
-
getBaseDn
Base DN to use for the search request of the search validator. -
getSearchFilter
Search filter to use for the search request of the search validator. -
getScope
Search scope to use for the search request of the search validator. -
getAttributeName
Attribute name to use for the compare validator. -
getAttributeValue
Attribute values to use for the compare validator. -
getDn
DN to compare to use for the compare validator. -
setType
Determine the LDAP validator type.The following LDAP validators can be used to test connection health status:
search
: Validates a connection is healthy by performing a search operation. Validation is considered successful if the search result size is greater than zero.none
: No validation takes place.compare
: Validates a connection is healthy by performing a compare operation.
- Returns:
this
.
-
setBaseDn
Base DN to use for the search request of the search validator.- Returns:
this
.
-
setSearchFilter
Search filter to use for the search request of the search validator.- Returns:
this
.
-
setScope
Search scope to use for the search request of the search validator.- Returns:
this
.
-
setAttributeName
Attribute name to use for the compare validator.- Returns:
this
.
-
setAttributeValue
Attribute values to use for the compare validator.- Returns:
this
.
-
setDn
DN to compare to use for the compare validator.- Returns:
this
.
-