spray.routing

authentication

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
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

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

    The BasicHttpAuthenticator implements HTTP Basic Auth.

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

    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]]

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

    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

  7. trait LdapAuthConfig[T] extends AnyRef

    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]

    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

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

    Simple case class model of a username/password combination.

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

Inherited from AnyRef

Inherited from Any

Ungrouped