|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.app.loader.ldap.GrouperLoaderLdapServer
public class GrouperLoaderLdapServer
db profile from grouper.properties (or possibly grouper.hibernate.properties)
Constructor Summary | |
---|---|
GrouperLoaderLdapServer()
empty constructor |
Method Summary | |
---|---|
java.lang.String |
getBaseDn()
get the base dn from the URL, e.g. ldaps://server/baseDn would return baseDn |
int |
getBatchSize()
batch size for results |
java.lang.String |
getConfigFileFromClasspath()
load this vt-ldap config file before the configs here. |
int |
getCountLimit()
count limit for results |
java.lang.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 |
java.lang.String |
getPass()
pass to login to db |
int |
getPruneTimerPeriod()
period for which prune timer will run, in millis |
java.lang.String |
getReferral()
ldap.personLdap.referral: set to 'follow' if using AD and using paged results size |
java.lang.String |
getSaslAuthorizationId()
if using sasl, this is authz id |
java.lang.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 |
java.lang.String |
getUrl()
note the URL should start with ldap: or ldaps: if it is SSL. |
java.lang.String |
getUser()
user to login to ldap e.g. uid=someapp,ou=people,dc=myschool,dc=edu |
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(java.lang.String configFileFromClasspath1)
load this vt-ldap config file before the configs here. |
void |
setCountLimit(int countLimit1)
count limit for results |
void |
setDriver(java.lang.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(java.lang.String pass1)
pass to login to db |
void |
setPruneTimerPeriod(int pruneTimerPeriod1)
period for which prune timer will run, in millis |
void |
setReferral(java.lang.String referral1)
ldap.personLdap.referral: set to 'follow' if using AD and using paged results size |
void |
setSaslAuthorizationId(java.lang.String saslAuthorizationId1)
if using sasl, this is authz id |
void |
setSaslRealm(java.lang.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(java.lang.String url1)
note the URL should start with ldap: or ldaps: if it is SSL. |
void |
setUser(java.lang.String user1)
user to login to ldap e.g. uid=someapp,ou=people,dc=myschool,dc=edu |
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 |
java.lang.String |
toString()
note, this is generated by eclipse, with the exception of password |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GrouperLoaderLdapServer()
Method Detail |
---|
public java.lang.String getBaseDn()
public boolean isTls()
public void setTls(boolean tls1)
tls1
- public java.lang.String getConfigFileFromClasspath()
public void setConfigFileFromClasspath(java.lang.String configFileFromClasspath1)
configFileFromClasspath1
- the configFileFromClasspath to setpublic java.lang.String getReferral()
public void setReferral(java.lang.String referral1)
referral1
- the referral to setpublic int getPagedResultsSize()
public void setPagedResultsSize(int pagedResultsSize1)
pagedResultsSize1
- public java.lang.String getSaslAuthorizationId()
public void setSaslAuthorizationId(java.lang.String saslAuthorizationId1)
saslAuthorizationId1
- public java.lang.String getSaslRealm()
public void setSaslRealm(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String getUser()
public void setUser(java.lang.String user1)
user1
- the user to setpublic java.lang.String getPass()
public void setPass(java.lang.String pass1)
pass1
- the pass to setpublic java.lang.String getUrl()
public void setUrl(java.lang.String url1)
url1
- the url to setpublic java.lang.String getDriver()
public void setDriver(java.lang.String driver1)
driver1
- the driver to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |