Class LdapLookup
java.lang.Object
edu.internet2.middleware.grouper.app.loader.ldap.LdapLookup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignAttributeNameQuery(String theAttributeNameQuery) attribute name queryassignAttributeNameResult(String theAttributeNameResult) attribute name resultassignBulkLookup(Boolean theBulkLookup) if this is a bulk lookupassignCacheForMinutes(int theCacheForMinutes) assign cache for minutesassignFilter(String theFilter) assignLdapConfigId(String theLdapConfigId) ldap config idassignSearchDn(String theSearchDn) search dnassignSearchScope(String theSearchScope) search scope, OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPEassignTerm(String theTerm) assign termdoLookup()do the lookuptoString()
-
Constructor Details
-
LdapLookup
public LdapLookup()
-
-
Method Details
-
assignLdapConfigId
ldap config id- Parameters:
theLdapConfigId-- Returns:
- this for chaining
-
assignSearchDn
search dn- Parameters:
theSearchDn-- Returns:
- this for chaining
-
assignSearchScope
search scope, OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE- Parameters:
theSearchScope-- Returns:
- this for chaining
-
assignFilter
- Parameters:
theFilter-- Returns:
- this for chaining
-
assignAttributeNameResult
attribute name result- Parameters:
theAttributeNameResult-- Returns:
- this for chaining
-
assignAttributeNameQuery
attribute name query- Parameters:
theAttributeNameQuery-- Returns:
- this for chaining
-
assignTerm
assign term- Parameters:
theTerm-- Returns:
- this for chaining
-
assignCacheForMinutes
assign cache for minutes- Parameters:
theCacheForMinutes-- Returns:
- this
-
assignBulkLookup
if this is a bulk lookup- Parameters:
theBulkLookup-- Returns:
- this for training
-
doLookup
do the lookup- Returns:
- the result
-
toString
-