Package org.ldaptive.provider.jldap
Class JLdapProviderConfig
- java.lang.Object
-
- org.ldaptive.AbstractConfig
-
- org.ldaptive.provider.ProviderConfig<com.novell.ldap.LDAPControl>
-
- org.ldaptive.provider.jldap.JLdapProviderConfig
-
public class JLdapProviderConfig extends ProviderConfig<com.novell.ldap.LDAPControl>
Contains configuration data for the JLdap provider.
-
-
Field Summary
Fields Modifier and Type Field Description private com.novell.ldap.LDAPConstraintsldapConstraintsConnection constraints.private ResultCode[]searchIgnoreResultCodesSearch result codes to ignore.private SSLSocketFactorysslSocketFactoryldap socket factory used for SSL and TLS.-
Fields inherited from class org.ldaptive.provider.ProviderConfig
logger
-
-
Constructor Summary
Constructors Constructor Description JLdapProviderConfig()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.novell.ldap.LDAPConstraintsgetLDAPConstraints()Returns the connection constraints.ResultCode[]getSearchIgnoreResultCodes()Returns the search ignore result codes.SSLSocketFactorygetSslSocketFactory()Returns the SSL socket factory to use for TLS/SSL connections.voidsetLDAPConstraints(com.novell.ldap.LDAPConstraints constraints)Sets the connection constraints.voidsetSearchIgnoreResultCodes(ResultCode[] codes)Sets the search ignore result codes.voidsetSslSocketFactory(SSLSocketFactory sf)Sets the SSL socket factory to use for TLS/SSL connections.StringtoString()-
Methods inherited from class org.ldaptive.provider.ProviderConfig
getControlProcessor, getOperationExceptionResultCodes, getProperties, setControlProcessor, setOperationExceptionResultCodes, setProperties
-
Methods inherited from class org.ldaptive.AbstractConfig
checkImmutable, checkStringInput, makeImmutable
-
-
-
-
Field Detail
-
ldapConstraints
private com.novell.ldap.LDAPConstraints ldapConstraints
Connection constraints.
-
searchIgnoreResultCodes
private ResultCode[] searchIgnoreResultCodes
Search result codes to ignore.
-
sslSocketFactory
private SSLSocketFactory sslSocketFactory
ldap socket factory used for SSL and TLS.
-
-
Method Detail
-
getLDAPConstraints
public com.novell.ldap.LDAPConstraints getLDAPConstraints()
Returns the connection constraints.- Returns:
- ldap connection constraints
-
setLDAPConstraints
public void setLDAPConstraints(com.novell.ldap.LDAPConstraints constraints)
Sets the connection constraints.- Parameters:
constraints- ldap connection constraints
-
getSearchIgnoreResultCodes
public ResultCode[] getSearchIgnoreResultCodes()
Returns the search ignore result codes.- Returns:
- result codes to ignore
-
setSearchIgnoreResultCodes
public void setSearchIgnoreResultCodes(ResultCode[] codes)
Sets the search ignore result codes.- Parameters:
codes- to ignore
-
getSslSocketFactory
public SSLSocketFactory getSslSocketFactory()
Returns the SSL socket factory to use for TLS/SSL connections.- Returns:
- SSL socket factory
-
setSslSocketFactory
public void setSslSocketFactory(SSLSocketFactory sf)
Sets the SSL socket factory to use for TLS/SSL connections.- Parameters:
sf- SSL socket factory
-
toString
public String toString()
- Overrides:
toStringin classProviderConfig<com.novell.ldap.LDAPControl>
-
-