public interface LdapConnectionManagerConfig
LdapConnectionManager configuration.
This interface was introduced to retain forward compatibility of
<=2.3.0 config files, which configure a single UnboundidDirectoryProvider
bean. As of this writing, that class now implements this interface as a
mixin and makes itself available to the LdapConnectionManager
as a side-effect of UnboundidDirectoryProvider.init().
| Modifier and Type | Method and Description |
|---|---|
int |
getBatchSize() |
String[] |
getLdapHost() |
String |
getLdapPassword() |
int[] |
getLdapPort() |
String |
getLdapUser() |
int |
getMaxResultSize() |
int |
getOperationTimeout() |
int |
getPoolMaxConns() |
boolean |
isAutoBind()
Access the LDAP auto-bind configuration
|
boolean |
isFollowReferrals()
Access LDAP referral following configuration
|
boolean |
isSecureConnection()
If
true, connect to LDAP over a secure protocol. |
void |
setAutoBind(boolean autoBind)
Configure the LDAP auto-bind configuration
param autoBind if
true connection allocation
(LdapConnectionManager#getConnection()) will include a
bind attempt |
void |
setBatchSize(int batchSize) |
void |
setEnableAid(boolean enable) |
void |
setFollowReferrals(boolean followReferrals)
Configures LDAP referral following
|
void |
setLdapHost(String[] ldapHost) |
void |
setLdapPassword(String ldapPassword) |
void |
setLdapPort(int[] ldapPort) |
void |
setLdapUser(String ldapUser) |
void |
setMaxResultSize(int maxResultSize) |
void |
setOperationTimeout(int operationTimeout) |
void |
setPoolMaxConns(int maxConns) |
void |
setSecureConnection(boolean secureConnection)
Set to
true if LDAP connections
should occur over a secure protocol. |
boolean isSecureConnection()
true, connect to LDAP over a secure protocol.void setSecureConnection(boolean secureConnection)
true if LDAP connections
should occur over a secure protocol.int getOperationTimeout()
void setOperationTimeout(int operationTimeout)
operationTimeout - the directory operation timeout to set.String[] getLdapHost()
void setLdapHost(String[] ldapHost)
ldapHost - The LDAP host address or name.int[] getLdapPort()
void setLdapPort(int[] ldapPort)
ldapPort - The LDAP connection port to set.String getLdapUser()
void setLdapUser(String ldapUser)
ldapUser - The user to bind to LDAP as, typically a manager acct,
leave blank for anonymous.String getLdapPassword()
getLdapUser()void setLdapPassword(String ldapPassword)
ldapPassword - the LDAP password corresponding to the
current default bind-as user.boolean isFollowReferrals()
true, directory accesses will
follow referralsvoid setFollowReferrals(boolean followReferrals)
followReferrals - if true, directory
accesses will follow referralsboolean isAutoBind()
true connection allocation
(LdapConnectionManager#getConnection()) will include a
bind attemptvoid setAutoBind(boolean autoBind)
true connection allocation
(LdapConnectionManager#getConnection()) will include a
bind attemptint getPoolMaxConns()
void setPoolMaxConns(int maxConns)
maxConns - The maximum number of physical connections in the poolint getBatchSize()
void setBatchSize(int batchSize)
batchSize - The maximum number objects to lookup in one query.int getMaxResultSize()
void setMaxResultSize(int maxResultSize)
maxResultSize - The maximum number of results to ever get back from LDAP.void setEnableAid(boolean enable)
enable - If true then perform searches for users by Authentication ID.Copyright © 2005–2019 Sakai Project Contributor see (see NOTICE.txt). All rights reserved.