password.inc |
file |
drupal/includes/password.inc |
Secure password hashing functions for user authentication. |
user_password |
function |
drupal/modules/user/user.module |
Generate a random alphanumeric password. |
password.test |
file |
drupal/modules/simpletest/tests/password.test |
Provides unit tests for password.inc. |
theme_password |
function |
drupal/includes/form.inc |
Returns HTML for a password form element. |
_password_crypt |
function |
drupal/includes/password.inc |
Hash a password using a secure stretched hash. |
password-hash.sh |
file |
drupal/scripts/password-hash.sh |
#!/usr/bin/env php
<?php
/**
* Drupal hash script - to generate a hash from a plaintext password
*
* Check for your PHP interpreter - on Windows you'll probably have to
* replace line 1 with
* #!c:/program files/php/php.exe
*
*… |
_password_itoa64 |
function |
drupal/includes/password.inc |
Returns a string for mapping an int to the corresponding base 64 character. |
user_hash_password |
function |
drupal/includes/password.inc |
Hash a password using a secure hash. |
user_check_password |
function |
drupal/includes/password.inc |
Check whether a plain text password matches a stored hashed password. |
PasswordHashingTest |
class |
drupal/modules/simpletest/tests/password.test |
Unit tests for password hashing API. |
FileTransfer::$password |
property |
drupal/includes/filetransfer/filetransfer.inc |
|
_password_base64_encode |
function |
drupal/includes/password.inc |
Encodes bytes into printable base 64 using the *nix standard from crypt(). |
_password_generate_salt |
function |
drupal/includes/password.inc |
Generates a random base 64-encoded salt prefixed with settings for the hash. |
_password_get_count_log2 |
function |
drupal/includes/password.inc |
Parse the log2 iteration count from a stored hash or setting string. |
password_confirm_validate |
function |
drupal/includes/form.inc |
Validates a password_confirm element. |
UserPasswordResetTestCase |
class |
drupal/modules/user/user.test |
Tests resetting a user password. |
FileTranferTest::$password |
property |
drupal/modules/simpletest/tests/filetransfer.test |
|
PasswordHashingTest::setUp |
function |
drupal/modules/simpletest/tests/password.test |
Sets up a Drupal site for running functional and integration tests. |
TestFileTransfer::$password |
property |
drupal/modules/simpletest/tests/filetransfer.test |
|
PasswordHashingTest::getInfo |
function |
drupal/modules/simpletest/tests/password.test |
|
form_process_password_confirm |
function |
drupal/includes/form.inc |
Expand a password_confirm field into two text boxes. |
PasswordHashingTest::$profile |
property |
drupal/modules/simpletest/tests/password.test |
The profile to install as a basis for testing. |
user_form_test_current_password |
function |
drupal/modules/user/tests/user_form_test.module |
A test form for user_validate_current_pass(). |
form_type_password_confirm_value |
function |
drupal/includes/form.inc |
Determines the value for a password_confirm form element. |
_password_enforce_log2_boundaries |
function |
drupal/includes/password.inc |
Ensures that $count_log2 is within set bounds. |
user_form_process_password_confirm |
function |
drupal/modules/user/user.module |
Form element process handler for client-side password validation. |
UserPasswordResetTestCase::getInfo |
function |
drupal/modules/user/user.test |
|
UserPasswordResetTestCase::$profile |
property |
drupal/modules/user/user.test |
The profile to install as a basis for testing. |
UserUpgradePathPasswordTokenTestCase |
class |
drupal/modules/simpletest/tests/upgrade/upgrade.user.test |
Upgrade test for user.module (password token involved). |
PasswordHashingTest::testLongPassword |
function |
drupal/modules/simpletest/tests/password.test |
Verifies that passwords longer than 512 bytes are not hashed. |
UserPasswordResetTestCase::getResetURL |
function |
drupal/modules/user/user.test |
Retrieves password reset email and extracts the login link. |
UserUpgradePathNoPasswordTokenTestCase |
class |
drupal/modules/simpletest/tests/upgrade/upgrade.user.test |
Upgrade test for user.module (password token not involved). |
user_form_test_current_password_submit |
function |
drupal/modules/user/tests/user_form_test.module |
Submit function for the test form for user_validate_current_pass(). |
UserEditTestCase::testUserWith0Password |
function |
drupal/modules/user/user.test |
Tests setting the password to "0". |
PasswordHashingTest::testPasswordHashing |
function |
drupal/modules/simpletest/tests/password.test |
Test password hashing. |
drupal-6.user-password-token.database.php |
file |
drupal/modules/simpletest/tests/upgrade/drupal-6.user-password-token.database.php |
|
UserUpgradePathPasswordTokenTestCase::setUp |
function |
drupal/modules/simpletest/tests/upgrade/upgrade.user.test |
Overrides DrupalWebTestCase::setUp() for upgrade testing. |
drupal-6.user-no-password-token.database.php |
file |
drupal/modules/simpletest/tests/upgrade/drupal-6.user-no-password-token.database.php |
|
UserLoginTestCase::testPasswordRehashOnLogin |
function |
drupal/modules/user/user.test |
Test that user password is re-hashed upon login after changing $count_log2. |
UserUpgradePathPasswordTokenTestCase::getInfo |
function |
drupal/modules/simpletest/tests/upgrade/upgrade.user.test |
|
UserUpgradePathNoPasswordTokenTestCase::setUp |
function |
drupal/modules/simpletest/tests/upgrade/upgrade.user.test |
Overrides DrupalWebTestCase::setUp() for upgrade testing. |
OpenIDWebTestCase::getPasswordResetURLFromMail |
function |
drupal/modules/openid/openid.test |
Parses the last sent e-mail and returns the one-time login link URL. |
UserUpgradePathNoPasswordTokenTestCase::getInfo |
function |
drupal/modules/simpletest/tests/upgrade/upgrade.user.test |
|
UserPasswordResetTestCase::testUserPasswordReset |
function |
drupal/modules/user/user.test |
Tests password reset functionality. |
UserPasswordResetTestCase::testResetImpersonation |
function |
drupal/modules/user/user.test |
Make sure that users cannot forge password reset URLs of other users. |
UserUpgradePathPasswordTokenTestCase::testUserUpgrade |
function |
drupal/modules/simpletest/tests/upgrade/upgrade.user.test |
Test a successful upgrade. |
UserUpgradePathNoPasswordTokenTestCase::testUserUpgrade |
function |
drupal/modules/simpletest/tests/upgrade/upgrade.user.test |
Test a successful upgrade. |
UserPasswordResetTestCase::testUserPasswordResetExpired |
function |
drupal/modules/user/user.test |
Attempts login using an expired password reset link. |
UserPasswordResetTestCase::testUserPasswordResetLoggedIn |
function |
drupal/modules/user/user.test |
Test user password reset while logged in. |
UserPasswordResetTestCase::testUserPasswordTextboxFilled |
function |
drupal/modules/user/user.test |
Prefill the text box on incorrect login via link to password reset page. |