public class GrouperLoaderLdapServer extends Object
Constructor and Description |
---|
GrouperLoaderLdapServer()
empty constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getBaseDn()
get the base dn from the URL, e.g.
|
int |
getBatchSize()
batch size for results
|
String |
getConfigFileFromClasspath()
load this vt-ldap config file before the configs here.
|
int |
getCountLimit()
count limit for results
|
String |
getDriver()
db driver to use to login
|
int |
getExpirationTime()
if connections expire after a certain amount of time, this is it, in millis, defaults to 300000 (5 minutes)
|
int |
getMaxPoolSize()
maximum pool size
|
int |
getMinPoolSize()
minimum pool size
|
int |
getPagedResultsSize()
if the ldap server has a max page size, then this will get the results in pages
|
String |
getPass()
pass to login to db
|
int |
getPruneTimerPeriod()
period for which prune timer will run, in millis
|
String |
getReferral()
ldap.personLdap.referral: set to 'follow' if using AD and using paged results size
|
String |
getSaslAuthorizationId()
if using sasl, this is authz id
|
String |
getSaslRealm()
if using sasl, this is the realm
|
int |
getTimeLimit()
time limit is for of search operation
|
int |
getTimeout()
timeout is for connection timeouts
|
String |
getUrl()
note the URL should start with ldap: or ldaps: if it is SSL.
|
String |
getUser()
user to login to ldap e.g.
|
int |
getValidateTimerPeriod()
if validating periodically, this is the period in millis
|
boolean |
isTls()
optional, if you are using tls, set this to TRUE.
|
boolean |
isValidateOnCheckIn()
if should validate on check in to pool
|
boolean |
isValidateOnCheckOut()
if should validate on check out of pool (default true if all other validate methods are false)
|
boolean |
isValidatePeriodically()
if should validate periodically while in pool
|
void |
setBatchSize(int batchSize1)
batch size for results
|
void |
setConfigFileFromClasspath(String configFileFromClasspath1)
load this vt-ldap config file before the configs here.
|
void |
setCountLimit(int countLimit1)
count limit for results
|
void |
setDriver(String driver1)
db driver to use to login
|
void |
setExpirationTime(int expirationTime1)
if connections expire after a certain amount of time, this is it, in millis, defaults to 300000 (5 minutes)
|
void |
setMaxPoolSize(int maxPoolSize1)
maximum pool size
|
void |
setMinPoolSize(int minPoolSize1)
minimum pool size
|
void |
setPagedResultsSize(int pagedResultsSize1)
if the ldap server has a max page size, then this will get the results in pages
|
void |
setPass(String pass1)
pass to login to db
|
void |
setPruneTimerPeriod(int pruneTimerPeriod1)
period for which prune timer will run, in millis
|
void |
setReferral(String referral1)
ldap.personLdap.referral: set to 'follow' if using AD and using paged results size
|
void |
setSaslAuthorizationId(String saslAuthorizationId1)
if using sasl, this is authz id
|
void |
setSaslRealm(String saslRealm1)
if using sasl, this is the realm
|
void |
setTimeLimit(int timeLimit1)
time limit is for of search operation
|
void |
setTimeout(int timeout1)
timeout is for connection timeouts
|
void |
setTls(boolean tls1)
optional, if you are using tls, set this to TRUE.
|
void |
setUrl(String url1)
note the URL should start with ldap: or ldaps: if it is SSL.
|
void |
setUser(String user1)
user to login to ldap e.g.
|
void |
setValidateOnCheckIn(boolean validateOnCheckIn1)
if should validate on check in to pool
|
void |
setValidateOnCheckOut(boolean validateOnCheckOut1)
if should validate on check out of pool (default true if all other validate methods are false)
|
void |
setValidatePeriodically(boolean validatePeriodically1)
if should validate periodically while in pool
|
void |
setValidateTimerPeriod(int validateTimerPeriod1)
if validating periodically, this is the period in millis
|
String |
toString()
note, this is generated by eclipse, with the exception of password
|
public String getBaseDn()
public boolean isTls()
public void setTls(boolean tls1)
tls1
- public String getConfigFileFromClasspath()
public void setConfigFileFromClasspath(String configFileFromClasspath1)
configFileFromClasspath1
- the configFileFromClasspath to setpublic String getReferral()
public void setReferral(String referral1)
referral1
- the referral to setpublic int getPagedResultsSize()
public void setPagedResultsSize(int pagedResultsSize1)
pagedResultsSize1
- public String getSaslAuthorizationId()
public void setSaslAuthorizationId(String saslAuthorizationId1)
saslAuthorizationId1
- public String getSaslRealm()
public void setSaslRealm(String saslRealm1)
saslRealm1
- public int getBatchSize()
public void setBatchSize(int batchSize1)
batchSize1
- public int getCountLimit()
public void setCountLimit(int countLimit1)
countLimit1
- public int getTimeLimit()
public void setTimeLimit(int timeLimit1)
timeLimit1
- public int getTimeout()
public void setTimeout(int timeout1)
timeout1
- public int getMinPoolSize()
public void setMinPoolSize(int minPoolSize1)
minPoolSize1
- public int getMaxPoolSize()
public void setMaxPoolSize(int maxPoolSize1)
maxPoolSize1
- public boolean isValidateOnCheckIn()
public void setValidateOnCheckIn(boolean validateOnCheckIn1)
validateOnCheckIn1
- public boolean isValidateOnCheckOut()
public void setValidateOnCheckOut(boolean validateOnCheckOut1)
validateOnCheckOut1
- public boolean isValidatePeriodically()
public void setValidatePeriodically(boolean validatePeriodically1)
validatePeriodically1
- public int getValidateTimerPeriod()
public void setValidateTimerPeriod(int validateTimerPeriod1)
validateTimerPeriod1
- public int getPruneTimerPeriod()
public void setPruneTimerPeriod(int pruneTimerPeriod1)
pruneTimerPeriod1
- public int getExpirationTime()
public void setExpirationTime(int expirationTime1)
expirationTime1
- public String toString()
toString
in class Object
Object.toString()
public String getUser()
public void setUser(String user1)
user1
- the user to setpublic String getPass()
public void setPass(String pass1)
pass1
- the pass to setpublic String getUrl()
public void setUrl(String url1)
url1
- the url to setpublic String getDriver()
public void setDriver(String driver1)
driver1
- the driver to setCopyright © 2016 Internet2. All rights reserved.