public class LdapConfiguration extends Object implements Serializable
Constructor and Description |
---|
LdapConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addExtraProperty(Object key,
String value)
Method addExtraProperty.
|
String |
getAuthenticationMethod()
Get the LDAP authenticationMethod.
|
String |
getBaseDn()
Get the LDAP base dn.
|
String |
getBaseGroupsDn()
Get the LDAP base dn for groups (if empty baseDn is used).
|
String |
getBindDn()
Get the LDAP bind dn.
|
String |
getContextFactory()
Get contextFactory to use.
|
Map |
getExtraProperties()
Method getExtraProperties.
|
String |
getHostName()
Get the LDAP host.
|
String |
getPassword()
Get the LDAP password.
|
int |
getPort()
Get the LDAP port.
|
boolean |
isBindAuthenticatorEnabled()
Get the LDAP authenticator enabled.
|
boolean |
isSsl()
Get ssl LDAP connection.
|
boolean |
isUseRoleNameAsGroup()
Get will use role name as LDAP group.
|
boolean |
isWritable()
Get lDAP writable.
|
void |
setAuthenticationMethod(String authenticationMethod)
Set the LDAP authenticationMethod.
|
void |
setBaseDn(String baseDn)
Set the LDAP base dn.
|
void |
setBaseGroupsDn(String baseGroupsDn)
Set the LDAP base dn for groups (if empty baseDn is used).
|
void |
setBindAuthenticatorEnabled(boolean bindAuthenticatorEnabled)
Set the LDAP authenticator enabled.
|
void |
setBindDn(String bindDn)
Set the LDAP bind dn.
|
void |
setContextFactory(String contextFactory)
Set contextFactory to use.
|
void |
setExtraProperties(Map extraProperties)
Set additional properties to use for ldap connection.
|
void |
setHostName(String hostName)
Set the LDAP host.
|
void |
setPassword(String password)
Set the LDAP password.
|
void |
setPort(int port)
Set the LDAP port.
|
void |
setSsl(boolean ssl)
Set ssl LDAP connection.
|
void |
setUseRoleNameAsGroup(boolean useRoleNameAsGroup)
Set will use role name as LDAP group.
|
void |
setWritable(boolean writable)
Set lDAP writable.
|
public LdapConfiguration()
public void addExtraProperty(Object key, String value)
key
- value
- public String getAuthenticationMethod()
public String getBaseGroupsDn()
public String getContextFactory()
public Map getExtraProperties()
public String getHostName()
public String getPassword()
public int getPort()
public boolean isBindAuthenticatorEnabled()
public boolean isSsl()
public boolean isUseRoleNameAsGroup()
public boolean isWritable()
public void setAuthenticationMethod(String authenticationMethod)
authenticationMethod
- public void setBaseGroupsDn(String baseGroupsDn)
baseGroupsDn
- public void setBindAuthenticatorEnabled(boolean bindAuthenticatorEnabled)
bindAuthenticatorEnabled
- public void setContextFactory(String contextFactory)
contextFactory
- public void setExtraProperties(Map extraProperties)
extraProperties
- public void setHostName(String hostName)
hostName
- public void setPassword(String password)
password
- public void setPort(int port)
port
- public void setSsl(boolean ssl)
ssl
- public void setUseRoleNameAsGroup(boolean useRoleNameAsGroup)
useRoleNameAsGroup
- public void setWritable(boolean writable)
writable
- Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.