java.lang.Object
edu.internet2.middleware.grouper.app.loader.ldap.LdapLookup

public class LdapLookup extends Object
  • Constructor Details

    • LdapLookup

      public LdapLookup()
  • Method Details

    • assignLdapConfigId

      public LdapLookup assignLdapConfigId(String theLdapConfigId)
      ldap config id
      Parameters:
      theLdapConfigId -
      Returns:
      this for chaining
    • assignSearchDn

      public LdapLookup assignSearchDn(String theSearchDn)
      search dn
      Parameters:
      theSearchDn -
      Returns:
      this for chaining
    • assignSearchScope

      public LdapLookup assignSearchScope(String theSearchScope)
      search scope, OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE
      Parameters:
      theSearchScope -
      Returns:
      this for chaining
    • assignFilter

      public LdapLookup assignFilter(String theFilter)
      Parameters:
      theFilter -
      Returns:
      this for chaining
    • assignAttributeNameResult

      public LdapLookup assignAttributeNameResult(String theAttributeNameResult)
      attribute name result
      Parameters:
      theAttributeNameResult -
      Returns:
      this for chaining
    • assignAttributeNameQuery

      public LdapLookup assignAttributeNameQuery(String theAttributeNameQuery)
      attribute name query
      Parameters:
      theAttributeNameQuery -
      Returns:
      this for chaining
    • assignTerm

      public LdapLookup assignTerm(String theTerm)
      assign term
      Parameters:
      theTerm -
      Returns:
      this for chaining
    • assignCacheForMinutes

      public LdapLookup assignCacheForMinutes(int theCacheForMinutes)
      assign cache for minutes
      Parameters:
      theCacheForMinutes -
      Returns:
      this
    • assignBulkLookup

      public LdapLookup assignBulkLookup(Boolean theBulkLookup)
      if this is a bulk lookup
      Parameters:
      theBulkLookup -
      Returns:
      this for training
    • doLookup

      public String doLookup()
      do the lookup
      Returns:
      the result
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: