com.malliina.auth.ldap

AbstractLdapUserManager

abstract class AbstractLdapUserManager extends CertUserManager with PasswordAuthenticator[String] with LdapManager with MembershipManagerImpl with Log

Abstract because there's no logging, so users are discouraged from using this directly. Instead, add mixins to complete your perfect user manager.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbstractLdapUserManager
  2. MembershipManagerImpl
  3. LdapManager
  4. PasswordAuthenticator
  5. CertUserManager
  6. DefaultCertificateAuthenticator
  7. Log
  8. CertificateAuthenticator
  9. Authenticator
  10. UserManager
  11. MembershipManager
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractLdapUserManager(connectionProvider: LDAPConnectionProvider, userInfo: DnInfo, groupInfo: GroupDnInfo)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addEntry(dn: String, attributes: BasicAttributes): Unit

    Definition Classes
    LdapManager
  7. def addGroup(group: String, attributes: BasicAttributes): Unit

  8. def addGroup(group: String): Unit

    Definition Classes
    AbstractLdapUserManagerUserManager
  9. def addGroups(groups: String*): Unit

    Definition Classes
    UserManager
  10. def addUser(user: String, attributes: BasicAttributes): Unit

  11. def addUser(user: String, password: String): Unit

    user
    Definition Classes
    AbstractLdapUserManagerUserManager
    Exceptions thrown
    Exception

    if that user already exists

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def assign(user: String, group: String): Unit

    user
    group
    Definition Classes
    MembershipManagerImplMembershipManager
    Exceptions thrown
    Exception

    if the group or user does not exist or if the user already exists in the group

  14. def assign(user: String, groups: Seq[String]): Unit

    Definition Classes
    MembershipManager
  15. def authenticate(user: String, password: String): String

  16. def authenticate(credential: UserPassContainer): String

    Definition Classes
    PasswordAuthenticator
  17. def authenticate(certChain: Seq[X509Certificate]): String

    Authenticates a user using the given credentials.

    Authenticates a user using the given credentials.

    If this method returns normally, the authentication was successful.

    returns

    the user object

    Definition Classes
    DefaultCertificateAuthenticatorCertificateAuthenticatorAuthenticator
    Exceptions thrown
    Exception

    if authentication fails

  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. val connectionProvider: LDAPConnectionProvider

    Definition Classes
    AbstractLdapUserManagerLdapManager
  20. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  22. def existsUser(user: String): Boolean

    Definition Classes
    UserManager
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. val groupInfo: GroupDnInfo

  26. def groups: Seq[String]

    Definition Classes
    AbstractLdapUserManagerUserManager
  27. def groups(user: String): Seq[String]

    Definition Classes
    MembershipManagerImpl
  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. def list(branch: String, keyPrefix: String): Seq[String]

    Definition Classes
    LdapManager
  31. val log: Logger

    Attributes
    protected
    Definition Classes
    Log
  32. def maxGid: Int

  33. def maxUid: Int

  34. def modifyEntry(dn: String, modifications: Array[ModificationItem]): Unit

    Definition Classes
    LdapManager
  35. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  36. final def notify(): Unit

    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  38. def read(dn: String, attribute: LdapAttribute): String

  39. def removeEntry(dn: String): Unit

    Definition Classes
    LdapManager
  40. def removeGroup(group: String): Unit

    group

    the group to remove

    Definition Classes
    AbstractLdapUserManagerUserManager
    Exceptions thrown
    UserManagementException

    if the group is not empty

  41. def removeGroups(groups: String*): Unit

    Definition Classes
    UserManager
  42. def removeUser(user: String): Unit

    Removes the user including any attributes like group membership.

    Removes the user including any attributes like group membership.

    user
    Definition Classes
    AbstractLdapUserManagerUserManager
    Exceptions thrown
    Exception

    if the user does not exist

  43. def replaceGroups(user: String, newGroups: Seq[String]): Unit

    Sets the group membership for the given user.

    Sets the group membership for the given user.

    Any pre-existing group membership not included in the supplied groups is revoked.

    user
    newGroups

    Definition Classes
    UserManager
  44. def revoke(user: String, group: String): Unit

    user
    group
    Definition Classes
    MembershipManagerImplMembershipManager
    Exceptions thrown
    Exception

    if the group or user does not exist or if the user does not exist in the group

  45. def revoke(user: String, groups: Seq[String]): Unit

    Definition Classes
    MembershipManager
  46. def search(tree: String, attributeName: LdapAttribute): Seq[AnyRef]

  47. def searchMulti(tree: String, attributeNames: LdapAttribute*): Seq[Map[LdapAttribute, AnyRef]]

  48. def setPassword(user: String, newPassword: String): Unit

    user
    newPassword
    Definition Classes
    AbstractLdapUserManagerUserManager
    Exceptions thrown
    Exception

    if the user doesn't exist or if the new password defies any policy

  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  50. def toString(): String

    Definition Classes
    AnyRef → Any
  51. def uidOf(user: String): Int

  52. val userInfo: DnInfo

  53. def users: Seq[String]

    Definition Classes
    AbstractLdapUserManagerUserManager
  54. def users(group: String): Seq[String]

    Definition Classes
    MembershipManagerImpl
  55. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MembershipManagerImpl

Inherited from LdapManager

Inherited from PasswordAuthenticator[String]

Inherited from CertUserManager

Inherited from Log

Inherited from CertificateAuthenticator[String]

Inherited from Authenticator[Seq[X509Certificate], String]

Inherited from UserManager[String]

Inherited from MembershipManager[String]

Inherited from AnyRef

Inherited from Any

Ungrouped