‪TYPO3CMS  11.5
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 32 of file PasswordHashFactoryTest.php.

Member Function Documentation

◆ getDefaultHashInstanceThrowsExceptionIfModeIsNotBeOrFe()

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

Definition at line 150 of file PasswordHashFactoryTest.php.

◆ getDefaultHashInstanceThrowsExceptionWithBrokenClassNameModeConfiguration()

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

Definition at line 160 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashInstanceThrowsExceptionWithBrokenOptionsModeConfiguration()

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

Definition at line 171 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashReturnsInstanceOfConfiguredDefaultBeMethod()

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

Definition at line 192 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashReturnsInstanceOfConfiguredDefaultFeMethod()

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

Definition at line 182 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashThrowsExceptionIfDefaultHashMethodDoesNotImplementSaltInterface()

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

Definition at line 202 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashThrowsExceptionIfDefaultHashMethodIsNotAvailable()

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

Definition at line 226 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashThrowsExceptionIfDefaultHashMethodIsNotRegistered()

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

Definition at line 214 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHoshHandsConfiguredOptionsToHashClass()

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

Definition at line 240 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getHandsConfiguredOptionsToHashClassIfMethodIsConfiguredDefaultForMode()

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

Definition at line 119 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 136 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionIfARegisteredHashDoesNotImplementSaltInterface()

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

Definition at line 70 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getThrowsExceptionIfClassThatHandlesAHashIsNotAvailable()

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

Definition at line 91 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionIfClassThatHandlesAHashSaysNoToHash()

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

Definition at line 104 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionIfModeIsNotBeOrFe()

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

Definition at line 38 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionIfNoClassIsFoundThatHandlesGivenHash()

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

Definition at line 81 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionWithBrokenClassNameModeConfiguration()

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

Definition at line 48 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getThrowsExceptionWithBrokenOptionsModeConfiguration()

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

Definition at line 59 of file PasswordHashFactoryTest.php.

References $GLOBALS.