public class UnboundIDProviderConfig extends ProviderConfig<com.unboundid.ldap.sdk.Control>
Modifier and Type | Field and Description |
---|---|
private com.unboundid.ldap.sdk.LDAPConnectionOptions |
connectionOptions
Connection options.
|
private ResultCode[] |
searchIgnoreResultCodes
Search result codes to ignore.
|
private SocketFactory |
socketFactory
socket factory for ldap connections.
|
private SSLSocketFactory |
sslSocketFactory
socket factory for ldaps and startTLS connections.
|
logger
Constructor and Description |
---|
UnboundIDProviderConfig()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
com.unboundid.ldap.sdk.LDAPConnectionOptions |
getConnectionOptions()
Returns the connection options.
|
ResultCode[] |
getSearchIgnoreResultCodes()
Returns the search ignore result codes.
|
SocketFactory |
getSocketFactory()
Returns the socket factory to use for LDAP connections.
|
SSLSocketFactory |
getSSLSocketFactory()
Returns the SSL socket factory to use for LDAPS and startTLS connections.
|
void |
setConnectionOptions(com.unboundid.ldap.sdk.LDAPConnectionOptions options)
Sets the connection options.
|
void |
setSearchIgnoreResultCodes(ResultCode[] codes)
Sets the search ignore result codes.
|
void |
setSocketFactory(SocketFactory sf)
Sets the socket factory to use for LDAP connections.
|
void |
setSSLSocketFactory(SSLSocketFactory sf)
Sets the SSL socket factory to use for LDAPS and startTLS connections.
|
String |
toString() |
getControlProcessor, getOperationExceptionResultCodes, getProperties, setControlProcessor, setOperationExceptionResultCodes, setProperties
checkImmutable, checkStringInput, makeImmutable
private com.unboundid.ldap.sdk.LDAPConnectionOptions connectionOptions
private SocketFactory socketFactory
private SSLSocketFactory sslSocketFactory
private ResultCode[] searchIgnoreResultCodes
public com.unboundid.ldap.sdk.LDAPConnectionOptions getConnectionOptions()
public void setConnectionOptions(com.unboundid.ldap.sdk.LDAPConnectionOptions options)
options
- ldap connection optionspublic SocketFactory getSocketFactory()
public void setSocketFactory(SocketFactory sf)
sf
- socket factorypublic SSLSocketFactory getSSLSocketFactory()
public void setSSLSocketFactory(SSLSocketFactory sf)
sf
- socket factorypublic ResultCode[] getSearchIgnoreResultCodes()
public void setSearchIgnoreResultCodes(ResultCode[] codes)
codes
- to ignorepublic String toString()
toString
in class ProviderConfig<com.unboundid.ldap.sdk.Control>
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.