com.malliina.auth.crypto

PasswordHashing

trait PasswordHashing[U] extends UserManager[String] with AuthHashing[U]

TODO: Self-type?

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PasswordHashing
  2. AuthHashing
  3. Hashing
  4. PasswordAuthenticator
  5. UserManager
  6. MembershipManager
  7. AnyRef
  8. 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

    Definition Classes
    UserManager
  2. abstract def assign(user: String, 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

  3. abstract def groups: Seq[String]

    Definition Classes
    UserManager
  4. abstract def groups(user: String): Seq[String]

    Definition Classes
    UserManager
  5. abstract def removeGroup(group: String): Unit

    group

    the group to remove

    Definition Classes
    UserManager
    Exceptions thrown
    UserManagementException

    if the group is not empty

  6. abstract 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
    UserManager
    Exceptions thrown
    Exception

    if the user does not exist

  7. abstract def revoke(user: String, 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

  8. abstract def users: Seq[String]

    Definition Classes
    UserManager
  9. abstract def users(group: String): Seq[String]

    Definition Classes
    UserManager

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

    Definition Classes
    UserManager
  7. def addUser(user: String, password: String): Unit

    user
    Definition Classes
    PasswordHashingUserManager
    Exceptions thrown
    Exception

    if that user already exists

  8. final def asInstanceOf[T0]: T0

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

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

    Definition Classes
    AuthHashingPasswordAuthenticator
  11. def authenticate(credential: UserPassContainer): U

    Definition Classes
    PasswordAuthenticator
  12. def clone(): AnyRef

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

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

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

    Definition Classes
    UserManager
  16. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  18. def hash(username: String, password: String): String

    Definition Classes
    Hashing
  19. def hashCode(): Int

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

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

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

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

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

    Definition Classes
    UserManager
  25. 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
  26. def revoke(user: String, groups: Seq[String]): Unit

    Definition Classes
    MembershipManager
  27. def setPassword(user: String, newPassword: String): Unit

    user
    newPassword
    Definition Classes
    PasswordHashingUserManager
    Exceptions thrown
    Exception

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

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

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AuthHashing[U]

Inherited from Hashing

Inherited from PasswordAuthenticator[U]

Inherited from UserManager[String]

Inherited from MembershipManager[String]

Inherited from AnyRef

Inherited from Any

Ungrouped