public class LdapConfiguration
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
LdapConfiguration.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
LdapConfiguration() |
LdapConfiguration(java.lang.String authType,
java.lang.Boolean enabled,
java.lang.String groupSearchBaseDN,
java.lang.String groupSearchCustomFilter,
java.lang.String groupSearchType,
java.lang.String searchBindDN,
java.lang.String[] serverURIs,
java.lang.String userDNTemplate,
java.lang.String userSearchBaseDN,
java.lang.String userSearchFilter) |
Modifier and Type | Method and Description |
---|---|
LdapConfiguration.Builder |
asBuilder() |
static LdapConfiguration.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAuthType()
Identifies which user authentcation method will be used.
|
java.lang.Boolean |
getEnabled()
Identifies whether or not the system is enabled for LDAP.
|
java.lang.String |
getGroupSearchBaseDN()
The base DN of the tree to start the group search (will do a subtree search from here).
|
java.lang.String |
getGroupSearchCustomFilter()
The custom search filter used.
|
java.lang.String |
getGroupSearchType()
Controls the default group search filter used, can be one of the following:
NoGroups: No group support.
|
java.lang.String |
getSearchBindDN()
A fully qualified DN to log in with to perform an LDAP search for the user (needs read access to the LDAP directory).
|
java.lang.String[] |
getServerURIs()
A comma-separated list of LDAP server URIs (examples: "ldap://1.2.3.4" and ldaps://1.2.3.4:123")
|
java.lang.String |
getUserDNTemplate()
A string that is used to form a fully qualified user DN.
|
java.lang.String |
getUserSearchBaseDN()
The base DN of the tree used to start the search (will do a subtree search from here).
|
java.lang.String |
getUserSearchFilter()
The LDAP filter used.
|
int |
hashCode() |
void |
setAuthType(java.lang.String authType) |
void |
setEnabled(java.lang.Boolean enabled) |
void |
setGroupSearchBaseDN(java.lang.String groupSearchBaseDN) |
void |
setGroupSearchCustomFilter(java.lang.String groupSearchCustomFilter) |
void |
setGroupSearchType(java.lang.String groupSearchType) |
void |
setSearchBindDN(java.lang.String searchBindDN) |
void |
setServerURIs(java.lang.String[] serverURIs) |
void |
setUserDNTemplate(java.lang.String userDNTemplate) |
void |
setUserSearchBaseDN(java.lang.String userSearchBaseDN) |
void |
setUserSearchFilter(java.lang.String userSearchFilter) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public LdapConfiguration(java.lang.String authType, java.lang.Boolean enabled, java.lang.String groupSearchBaseDN, java.lang.String groupSearchCustomFilter, java.lang.String groupSearchType, java.lang.String searchBindDN, java.lang.String[] serverURIs, java.lang.String userDNTemplate, java.lang.String userSearchBaseDN, java.lang.String userSearchFilter)
public java.lang.String getAuthType()
public void setAuthType(java.lang.String authType)
public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean enabled)
public java.lang.String getGroupSearchBaseDN()
public void setGroupSearchBaseDN(java.lang.String groupSearchBaseDN)
public java.lang.String getGroupSearchCustomFilter()
public void setGroupSearchCustomFilter(java.lang.String groupSearchCustomFilter)
public java.lang.String getGroupSearchType()
public void setGroupSearchType(java.lang.String groupSearchType)
public java.lang.String getSearchBindDN()
public void setSearchBindDN(java.lang.String searchBindDN)
public java.lang.String[] getServerURIs()
public void setServerURIs(java.lang.String[] serverURIs)
public java.lang.String getUserDNTemplate()
public void setUserDNTemplate(java.lang.String userDNTemplate)
public java.lang.String getUserSearchBaseDN()
public void setUserSearchBaseDN(java.lang.String userSearchBaseDN)
public java.lang.String getUserSearchFilter()
public void setUserSearchFilter(java.lang.String userSearchFilter)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static LdapConfiguration.Builder builder()
public final LdapConfiguration.Builder asBuilder()