public static function CredentialsStorage::storeUserDn in Lightweight Directory Access Protocol (LDAP) 8.3
Same name and namespace in other branches
- 8.4 ldap_servers/src/Helper/CredentialsStorage.php \Drupal\ldap_servers\Helper\CredentialsStorage::storeUserDn()
Stores the user DN as provided by other LDAP modules.
Parameters
string $userDn: DN to store.
4 calls to CredentialsStorage::storeUserDn()
- CredentialsStorageTests::testCredentialsStorage in ldap_servers/
tests/ src/ Unit/ CredentialsStorageTests.php - Test the temporary storage of passwords.
- LoginValidator::bindToServer in ldap_authentication/
src/ Controller/ LoginValidator.php - Bind to server.
- LoginValidator::testUserPassword in ldap_authentication/
src/ Controller/ LoginValidator.php - Tests the user's password.
- ServerTestForm::testConnection in ldap_servers/
src/ Form/ ServerTestForm.php - Test the connection.
File
- ldap_servers/
src/ Helper/ CredentialsStorage.php, line 24
Class
- CredentialsStorage
- Temporarily stores credentials from user input.
Namespace
Drupal\ldap_servers\HelperCode
public static function storeUserDn($userDn) {
self::$userDn = $userDn;
}