com.malliina.auth

UserManager

trait UserManager[T] extends MembershipManager[T]

T

type of user

Linear Supertypes
MembershipManager[T], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UserManager
  2. MembershipManager
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def addGroup(group: String): Unit

  2. abstract def addUser(user: T, password: String): Unit

    user
    Exceptions thrown
    Exception

    if that user already exists

  3. abstract def assign(user: T, group: String): Unit

    user
    group
    Definition Classes
    MembershipManager
    Exceptions thrown
    Exception

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

  4. abstract def groups: Seq[String]

  5. abstract def groups(user: T): Seq[String]

  6. abstract def removeGroup(group: String): Unit

    group

    the group to remove

    Exceptions thrown
    UserManagementException

    if the group is not empty

  7. abstract def removeUser(user: T): Unit

    Removes the user including any attributes like group membership.

    Removes the user including any attributes like group membership.

    user
    Exceptions thrown
    Exception

    if the user does not exist

  8. abstract def revoke(user: T, group: String): Unit

    user
    group
    Definition Classes
    MembershipManager
    Exceptions thrown
    Exception

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

  9. abstract def setPassword(user: T, newPassword: String): Unit

    user
    newPassword
    Exceptions thrown
    Exception

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

  10. abstract def users: Seq[T]

  11. abstract def users(group: String): Seq[T]

Concrete 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 addGroups(groups: String*): Unit

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def assign(user: T, groups: Seq[String]): Unit

    Definition Classes
    MembershipManager
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def existsUser(user: T): Boolean

  13. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

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

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  20. def removeGroups(groups: String*): Unit

  21. def replaceGroups(user: T, 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

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

    Definition Classes
    MembershipManager
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MembershipManager[T]

Inherited from AnyRef

Inherited from Any

Ungrouped