|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.AbstractConfig
org.ldaptive.provider.ProviderConfig<Control>
org.ldaptive.provider.jndi.JndiProviderConfig
public class JndiProviderConfig
Contains configuration data for the JNDI provider.
| Field Summary | |
|---|---|
protected static String |
ALLOW_ANY_HOSTNAME
Boolean property that indicates whether hostname verification should be disabled for StartTLS connections. |
| Fields inherited from class org.ldaptive.provider.ProviderConfig |
|---|
logger |
| Constructor Summary | |
|---|---|
JndiProviderConfig()
Default constructor. |
|
| Method Summary | |
|---|---|
Map<String,Object> |
getEnvironment()
Returns the context environment. |
HostnameVerifier |
getHostnameVerifier()
Returns the hostname verifier to use for startTLS connections. |
boolean |
getRemoveDnUrls()
Returns whether the URL will be removed from any DNs which are not relative. |
ResultCode[] |
getSearchIgnoreResultCodes()
Returns the search ignore result codes. |
SSLSocketFactory |
getSslSocketFactory()
Returns the SSL socket factory to use for SSL and startTLS connections. |
OutputStream |
getTracePackets()
Returns the output stream used to print ASN.1 BER packets. |
void |
setEnvironment(Map<String,Object> env)
Sets the context environment. |
void |
setHostnameVerifier(HostnameVerifier verifier)
Sets the hostname verifier to use for startTLS connections. |
void |
setProperties(Map<String,Object> props)
Sets provider specific properties. |
void |
setRemoveDnUrls(boolean b)
Sets whether the URL will be removed from any DNs which are not relative The default value is true. |
void |
setSearchIgnoreResultCodes(ResultCode... codes)
Sets the search ignore result codes. |
void |
setSslSocketFactory(SSLSocketFactory sf)
Sets the SSL socket factory to use for SSL and startTLS connections. |
void |
setTracePackets(OutputStream stream)
Sets the output stream to print ASN.1 BER packets to. |
String |
toString()
|
| Methods inherited from class org.ldaptive.provider.ProviderConfig |
|---|
getConnectionStrategy, getControlProcessor, getOperationExceptionResultCodes, getProperties, setConnectionStrategy, setControlProcessor, setOperationExceptionResultCodes |
| Methods inherited from class org.ldaptive.AbstractConfig |
|---|
checkImmutable, checkStringInput, makeImmutable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final String ALLOW_ANY_HOSTNAME
| Constructor Detail |
|---|
public JndiProviderConfig()
| Method Detail |
|---|
public Map<String,Object> getEnvironment()
public void setEnvironment(Map<String,Object> env)
env - ldap context environmentpublic OutputStream getTracePackets()
public void setTracePackets(OutputStream stream)
stream - to output topublic boolean getRemoveDnUrls()
public void setRemoveDnUrls(boolean b)
b - whether the URL will be removed from DNspublic ResultCode[] getSearchIgnoreResultCodes()
public void setSearchIgnoreResultCodes(ResultCode... codes)
codes - to ignorepublic SSLSocketFactory getSslSocketFactory()
public void setSslSocketFactory(SSLSocketFactory sf)
sf - SSL socket factorypublic HostnameVerifier getHostnameVerifier()
public void setHostnameVerifier(HostnameVerifier verifier)
verifier - for hostnamespublic void setProperties(Map<String,Object> props)
setProperties in class ProviderConfig<Control>props - map of additional provider propertiespublic String toString()
toString in class ProviderConfig<Control>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||