public class LDAPConfiguration extends JSONClaimSourceConfig
Created by Jeff Gaynor
on 5/3/16 at 11:17 AM
jsonObject
enabled, failOnError, id, jsonPostProcessorDone, jsonPreProcessorDone, name, notifyOnFail
Constructor and Description |
---|
LDAPConfiguration() |
Modifier and Type | Method and Description |
---|---|
LDAPConfiguration |
clone() |
boolean |
equals(Object obj) |
void |
fromJSON(net.sf.json.JSONObject json) |
int |
getAuthType()
This will return the corresponding number for the security authorization (see constants in
LDAPConfigurationUtil )
which can be used for switch statements. |
String |
getContextName()
The name of the context for the JNDI
DirContext.search(Name, Attributes) function. |
String |
getPassword() |
int |
getPort() |
Map<String,LDAPConfigurationUtil.AttributeEntry> |
getSearchAttributes()
Search attributes are recorded as a map.
|
String |
getSearchBase() |
String |
getSearchFilterAttribute() |
String |
getSearchNameKey() |
String |
getSecurityPrincipal() |
String |
getServer()
This is a raw string of addresses (possibly plural) all comma separated.
|
SSLConfiguration |
getSslConfiguration() |
boolean |
hasJSONObject() |
void |
setAuthType(int authType) |
void |
setContextName(String contextName) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setSearchAttributes(Map<String,LDAPConfigurationUtil.AttributeEntry> searchAttributes) |
void |
setSearchBase(String searchBase) |
void |
setSearchFilterAttribute(String searchFilterAttribute) |
void |
setSearchNameKey(String searchNameKey) |
void |
setSecurityPrincipal(String securityPrincipal) |
void |
setServer(String server) |
void |
setSslConfiguration(SSLConfiguration sslConfiguration) |
net.sf.json.JSONObject |
toJSON() |
String |
toString() |
getId, getJSONPostProcessing, getJSONPreProcessing, getName, getOmitList, getProperty, getRawPostProcessor, getRawPreProcessor, hasJSONPostProcessing, hasJSONPreProcessing, isEnabled, isFailOnError, isNotifyOnFail, makeProcessor, setEnabled, setFailOnError, setId, setName, setNotifyOnFail, setOmitList, setProperties, setRawPostProcessor, setRawPreProcessor
public String getSearchNameKey()
public void setSearchNameKey(String searchNameKey)
public String getSecurityPrincipal()
public void setSecurityPrincipal(String securityPrincipal)
public String getSearchBase()
public void setSearchBase(String searchBase)
public Map<String,LDAPConfigurationUtil.AttributeEntry> getSearchAttributes()
public void setSearchAttributes(Map<String,LDAPConfigurationUtil.AttributeEntry> searchAttributes)
public String getSearchFilterAttribute()
public void setSearchFilterAttribute(String searchFilterAttribute)
public String getPassword()
public void setPassword(String password)
public int getPort()
public void setPort(int port)
public String getServer()
public void setServer(String server)
public SSLConfiguration getSslConfiguration()
public void setSslConfiguration(SSLConfiguration sslConfiguration)
public int getAuthType()
LDAPConfigurationUtil
)
which can be used for switch statements.public void setAuthType(int authType)
public String getContextName()
DirContext.search(Name, Attributes)
function. If this is omitted
in the configuration, then it is set to the empty string.public void setContextName(String contextName)
public LDAPConfiguration clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public String toString()
toString
in class ClaimSourceConfiguration
public void fromJSON(net.sf.json.JSONObject json)
fromJSON
in class JSONClaimSourceConfig
public net.sf.json.JSONObject toJSON()
toJSON
in class JSONClaimSourceConfig
public boolean hasJSONObject()
hasJSONObject
in class JSONClaimSourceConfig
Copyright © 2019. All Rights Reserved.