The BasicHttpAuthenticator implements HTTP Basic Auth.
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.
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.
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.
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.
Simple case class model of a username/password combination.