SilverStripe\LDAP\Authenticators\LDAPAuthenticator
Class LDAPAuthenticator
Authenticate a user against LDAP, without the single sign-on component.
Synopsis
class LDAPAuthenticator
extends MemberAuthenticator
{
- // 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::class;
- // methods
- public static string get_name()
- public static LDAPLoginForm get_login_form()
- public null|Member authenticate()
- protected null|Member fallbackAuthenticate()
- public void getLoginHandler()
- public void supportedServices()
- public void getLostPasswordHandler()
- public LDAPChangePasswordHandler getChangePasswordHandler()
- public void checkPassword()
Hierarchy
Extends
- SilverStripe\Security\MemberAuthenticator\MemberAuthenticator
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
- fallbackAuthenticate() — 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.
- checkPassword()
- getChangePasswordHandler()
- getLoginHandler()
- getLostPasswordHandler()
- get_login_form()
- get_name()
- supportedServices()