\LDAPAuthenticator
Class LDAPAuthenticator
Authenticate a user against LDAP, without the single sign-on component.
See SAMLAuthenticator for further information.
Synopsis
class LDAPAuthenticator
extends Authenticator
{
- // members
- private string $name = 'LDAP';
- private static string $allow_email_login = 'no';
- private static string $fallback_authenticator = 'no';
- private static string $fallback_authenticator_class = 'MemberAuthenticator';
- // methods
- public static string get_name()
- public static LDAPLoginForm get_login_form()
- public static bool|Member|void authenticate()
- protected static null|Member fallback_authenticate()
Hierarchy
Extends
- Authenticator
Members
private
- $allow_email_login
—
string
Set to 'yes' to indicate if this module should look up usernames in LDAP by matching the email addresses. - $fallback_authenticator
—
string
Set to 'yes' to fallback login attempts to {@link $fallback_authenticator}. - $fallback_authenticator_class
—
string
The class of {@link Authenticator} to use as the fallback authenticator. - $name — string
Methods
protected
- fallback_authenticate() — Try to authenticate using the fallback authenticator.
public
- authenticate() — Performs the login, but will also create and sync the Member record on-the-fly, if not found.
- get_login_form()
- get_name()