‪TYPO3CMS  9.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 29 of file PasswordHashFactoryTest.php.

Member Function Documentation

◆ getDefaultHashInstanceThrowsExceptionIfModeIsNotBeOrFe()

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

Definition at line 146 of file PasswordHashFactoryTest.php.

◆ getDefaultHashInstanceThrowsExceptionWithBrokenClassNameModeConfiguration()

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

Definition at line 156 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashInstanceThrowsExceptionWithBrokenOptionsModeConfiguration()

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

Definition at line 167 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashReturnsInstanceOfConfiguredDefaultBeMethod()

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

Definition at line 188 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashReturnsInstanceOfConfiguredDefaultFeMethod()

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

Definition at line 178 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashThrowsExceptionIfDefaultHashMethodDoesNotImplementSaltInterface()

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

Definition at line 198 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashThrowsExceptionIfDefaultHashMethodIsNotAvailable()

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

Definition at line 222 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHashThrowsExceptionIfDefaultHashMethodIsNotRegistered()

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

Definition at line 210 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getDefaultHoshHandsConfiguredOptionsToHashClass()

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

Definition at line 236 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getHandsConfiguredOptionsToHashClassIfMethodIsConfiguredDefaultForMode()

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

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

◆ getThrowsExceptionIfARegisteredHashDoesNotImplementSaltInterface()

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

Definition at line 66 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getThrowsExceptionIfClassThatHandlesAHashIsNotAvailable()

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

Definition at line 87 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionIfClassThatHandlesAHashSaysNoToHash()

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

Definition at line 100 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionIfModeIsNotBeOrFe()

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

Definition at line 34 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionIfNoClassIsFoundThatHandlesGivenHash()

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

Definition at line 77 of file PasswordHashFactoryTest.php.

◆ getThrowsExceptionWithBrokenClassNameModeConfiguration()

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

Definition at line 44 of file PasswordHashFactoryTest.php.

References $GLOBALS.

◆ getThrowsExceptionWithBrokenOptionsModeConfiguration()

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

Definition at line 55 of file PasswordHashFactoryTest.php.

References $GLOBALS.