\LDAPLoginForm
Class LDAPLoginForm
This not very interesting in itself. It's pretty much boiler-plate code to access the authenticator.
Synopsis
class LDAPLoginForm
extends MemberLoginForm
{
- // constants
- const RESPONSE_TIME = 2;
- // members
- public string $loggedInAsField = 'FirstName';
- protected string $authenticator_class = 'LDAPAuthenticator';
- protected LDAPSecurityController $ldapSecController = NULL;
- private static boolean $consistent_password_times = false;
- // methods
- public void __construct()
- public SS_HTTPResponse forgotPassword()
- protected void consistentResponseTime()
Hierarchy
Extends
- MemberLoginForm
Constants
Name | Value |
---|---|
RESPONSE_TIME | 2 |
Members
private
-
$consistent_password_times
Enables consistent handling times of password resets
protected
- $authenticator_class — string
- $ldapSecController — LDAPSecurityController
public
- $loggedInAsField
—
string
This field is used in the "You are logged in as %s" message
Methods
protected
- consistentResponseTime() — Ensures response times are the same across all scenarios i.e. email exists or doesn't this helps to avoid issues where malicious users could find if an email is legitimate based on response time
public
- __construct() — Constructor.
- forgotPassword() — Forgot password form handler method.