Package

spray.routing

authentication

Permalink

package authentication

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

Type Members

  1. type Authentication[T] = Either[Rejection, T]

    Permalink
  2. class BasicHttpAuthenticator[U] extends HttpAuthenticator[U]

    Permalink

    The BasicHttpAuthenticator implements HTTP Basic Auth.

  3. case class BasicUserContext(username: String) extends Product with Serializable

    Permalink

    A very basic user context object.

    A very basic user context object. In your application you probably want to use some more specific custom class.

  4. type ContextAuthenticator[T] = (RequestContext) ⇒ Future[Authentication[T]]

    Permalink
  5. trait HttpAuthenticator[U] extends ContextAuthenticator[U]

    Permalink

    An HttpAuthenticator is a ContextAuthenticator that uses credentials passed to the server via the HTTP Authorization header to authenticate the user and extract a user object.

  6. case class LdapAttribute(id: String, ordered: Boolean, values: Seq[String]) extends Product with Serializable

    Permalink
  7. trait LdapAuthConfig[T] extends AnyRef

    Permalink

    The LdapAuthenticator faciliates user/password authentication against an LDAP server.

    The LdapAuthenticator faciliates user/password authentication against an LDAP server. It delegates the application specific parts of the LDAP configuration to the given LdapAuthConfig instance, which is also responsible for creating the object representing the application-specific user context.

    Authentication against an LDAP server is done in two separate steps: First, some "search credentials" are used to log into the LDAP server and perform a search for the directory entry matching a given user name. If exactly one user entry is found another LDAP bind operation is performed using the principal DN of the found user entry to validate the password.

  8. class LdapAuthenticator[T] extends UserPassAuthenticator[T]

    Permalink

    The LdapAuthenticator faciliates user/password authentication against an LDAP server.

    The LdapAuthenticator faciliates user/password authentication against an LDAP server. It delegates the application specific parts of the LDAP configuration to the given LdapAuthConfig instance, which is also responsible for creating the object representing the application-specific user context.

    Authentication against an LDAP server is done in two separate steps: First, some "search credentials" are used to log into the LDAP server and perform a search for the directory entry matching a given user name. If exactly one user entry is found another LDAP bind operation is performed using the principal DN of the found user entry to validate the password.

  9. case class LdapQueryResult(name: String, fullName: String, className: String, relative: Boolean, obj: AnyRef, attrs: Map[String, LdapAttribute]) extends Product with Serializable

    Permalink
  10. case class UserPass(user: String, pass: String) extends Product with Serializable

    Permalink

    Simple case class model of a username/password combination.

  11. type UserPassAuthenticator[T] = (Option[UserPass]) ⇒ Future[Option[T]]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped