‪TYPO3CMS  10.4
TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest:

Public Member Functions

 getThrowsExceptionIfModeIsNotBeOrFe ()
 
 getThrowsExceptionWithBrokenClassNameModeConfiguration ()
 
 getThrowsExceptionWithBrokenOptionsModeConfiguration ()
 
 getThrowsExceptionIfARegisteredHashDoesNotImplementSaltInterface ()
 
 getThrowsExceptionIfNoClassIsFoundThatHandlesGivenHash ()
 
 getThrowsExceptionIfClassThatHandlesAHashIsNotAvailable ()
 
 getThrowsExceptionIfClassThatHandlesAHashSaysNoToHash ()
 
 getHandsConfiguredOptionsToHashClassIfMethodIsConfiguredDefaultForMode ()
 
 getReturnsInstanceOfHashClassThatHandlesHash ()
 
 getDefaultHashInstanceThrowsExceptionIfModeIsNotBeOrFe ()
 
 getDefaultHashInstanceThrowsExceptionWithBrokenClassNameModeConfiguration ()
 
 getDefaultHashInstanceThrowsExceptionWithBrokenOptionsModeConfiguration ()
 
 getDefaultHashReturnsInstanceOfConfiguredDefaultFeMethod ()
 
 getDefaultHashReturnsInstanceOfConfiguredDefaultBeMethod ()
 
 getDefaultHashThrowsExceptionIfDefaultHashMethodDoesNotImplementSaltInterface ()
 
 getDefaultHashThrowsExceptionIfDefaultHashMethodIsNotRegistered ()
 
 getDefaultHashThrowsExceptionIfDefaultHashMethodIsNotAvailable ()
 
 getDefaultHoshHandsConfiguredOptionsToHashClass ()
 
 getRegisteredSaltedHashingMethodsReturnsRegisteredMethods ()
 
 getRegisteredSaltedHashingMethodsThrowsExceptionIfNoMethodIsConfigured ()
 

Detailed Description

Test case

Definition at line 31 of file PasswordHashFactoryTest.php.

Member Function Documentation

◆ getDefaultHashInstanceThrowsExceptionIfModeIsNotBeOrFe()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getDefaultHashInstanceThrowsExceptionIfModeIsNotBeOrFe ( )
Test:

Definition at line 148 of file PasswordHashFactoryTest.php.

◆ getDefaultHashInstanceThrowsExceptionWithBrokenClassNameModeConfiguration()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getDefaultHashInstanceThrowsExceptionWithBrokenClassNameModeConfiguration ( )
Test:

Definition at line 158 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashInstanceThrowsExceptionWithBrokenOptionsModeConfiguration()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getDefaultHashInstanceThrowsExceptionWithBrokenOptionsModeConfiguration ( )
Test:

Definition at line 169 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashReturnsInstanceOfConfiguredDefaultBeMethod()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getDefaultHashReturnsInstanceOfConfiguredDefaultBeMethod ( )
Test:

Definition at line 190 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashReturnsInstanceOfConfiguredDefaultFeMethod()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getDefaultHashReturnsInstanceOfConfiguredDefaultFeMethod ( )
Test:

Definition at line 180 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashThrowsExceptionIfDefaultHashMethodDoesNotImplementSaltInterface()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getDefaultHashThrowsExceptionIfDefaultHashMethodDoesNotImplementSaltInterface ( )
Test:

Definition at line 200 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashThrowsExceptionIfDefaultHashMethodIsNotAvailable()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getDefaultHashThrowsExceptionIfDefaultHashMethodIsNotAvailable ( )
Test:

Definition at line 224 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashThrowsExceptionIfDefaultHashMethodIsNotRegistered()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getDefaultHashThrowsExceptionIfDefaultHashMethodIsNotRegistered ( )
Test:

Definition at line 212 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHoshHandsConfiguredOptionsToHashClass()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getDefaultHoshHandsConfiguredOptionsToHashClass ( )
Test:

Definition at line 238 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getHandsConfiguredOptionsToHashClassIfMethodIsConfiguredDefaultForMode()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getHandsConfiguredOptionsToHashClassIfMethodIsConfiguredDefaultForMode ( )
Test:

Definition at line 117 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getRegisteredSaltedHashingMethodsReturnsRegisteredMethods()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getRegisteredSaltedHashingMethodsReturnsRegisteredMethods ( )

◆ getRegisteredSaltedHashingMethodsThrowsExceptionIfNoMethodIsConfigured()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getRegisteredSaltedHashingMethodsThrowsExceptionIfNoMethodIsConfigured ( )

◆ getReturnsInstanceOfHashClassThatHandlesHash()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getReturnsInstanceOfHashClassThatHandlesHash ( )
Test:

Definition at line 134 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionIfARegisteredHashDoesNotImplementSaltInterface()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getThrowsExceptionIfARegisteredHashDoesNotImplementSaltInterface ( )
Test:

Definition at line 68 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getThrowsExceptionIfClassThatHandlesAHashIsNotAvailable()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getThrowsExceptionIfClassThatHandlesAHashIsNotAvailable ( )
Test:

Definition at line 89 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionIfClassThatHandlesAHashSaysNoToHash()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getThrowsExceptionIfClassThatHandlesAHashSaysNoToHash ( )
Test:

Definition at line 102 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionIfModeIsNotBeOrFe()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getThrowsExceptionIfModeIsNotBeOrFe ( )
Test:

Definition at line 36 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionIfNoClassIsFoundThatHandlesGivenHash()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getThrowsExceptionIfNoClassIsFoundThatHandlesGivenHash ( )
Test:

Definition at line 79 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionWithBrokenClassNameModeConfiguration()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getThrowsExceptionWithBrokenClassNameModeConfiguration ( )
Test:

Definition at line 46 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getThrowsExceptionWithBrokenOptionsModeConfiguration()

TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\PasswordHashFactoryTest::getThrowsExceptionWithBrokenOptionsModeConfiguration ( )
Test:

Definition at line 57 of file PasswordHashFactoryTest.php.

References $GLOBALS.