final class QueryFactory extends AnyRef

A factory for common types of directory service search queries.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryFactory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueryFactory(conf: KyuubiConf)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def customQuery(searchFilter: String): Query

    Returns a query object created for the custom filter.

    Returns a query object created for the custom filter.
    This query is configured to return a group membership attribute as part of the search result.

    searchFilter

    custom search filter

    returns

    an instance of Query

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def findDnByPattern(rdn: String): Query

    Returns a query for finding user DN based on DN pattern.

    Returns a query for finding user DN based on DN pattern.
    Name of this method was derived from the original implementation of LDAP authentication. This method should be replaced by QueryFactory.findUserDnByRdn.

    rdn

    user RDN

    returns

    an instance of Query

  11. def findGroupDnById(groupId: String): Query

    Returns a query for finding Group DN based on group unique ID.

    Returns a query for finding Group DN based on group unique ID.

    groupId

    group unique identifier

    returns

    an instance of Query

  12. def findGroupsForUser(userName: String, userDn: String): Query

    Returns a query for finding groups to which the user belongs.

    Returns a query for finding groups to which the user belongs.

    userName

    username

    userDn

    user DN

    returns

    an instance of Query

  13. def findUserDnByName(userName: String): Query

    Returns a query for finding user DN based on user unique name.

    Returns a query for finding user DN based on user unique name.

    userName

    user unique name (uid or sAMAccountName)

    returns

    an instance of Query

  14. def findUserDnByRdn(userRdn: String): Query

    Returns a query for finding user DN based on user RDN.

    Returns a query for finding user DN based on user RDN.

    userRdn

    user RDN

    returns

    an instance of Query

  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isUserMemberOfGroup(userId: String, groupDn: String): Query

    Returns a query for checking whether specified user is a member of specified group.

    Returns a query for checking whether specified user is a member of specified group.

    The query requires KyuubiConf.AUTHENTICATION_LDAP_USER_MEMBERSHIP_KEY configuration property to be set.

    userId

    user unique identifier

    groupDn

    group DN

    returns

    an instance of Query

    See also

    KyuubiConf.AUTHENTICATION_LDAP_USER_MEMBERSHIP_KEY

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped