PHP 클래스 Neos\Flow\Tests\Unit\Security\Authentication\Provider\FileBasedSimpleKeyProviderTest

상속: extends Neos\Flow\Tests\UnitTestCase
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$mockFileBasedSimpleKeyService Neos\Flow\Security\Cryptography\FileBasedSimpleKeyService | PHPUnit_Framework_MockObject_MockObject
$mockHashService Neos\Flow\Security\Cryptography\HashService | PHPUnit_Framework_MockObject_MockObject
$mockPolicyService Neos\Flow\Security\Policy\PolicyService | PHPUnit_Framework_MockObject_MockObject
$mockRole Neos\Flow\Security\Policy\Role | PHPUnit_Framework_MockObject_MockObject
$mockToken Neos\Flow\Security\Authentication\Token\PasswordToken | PHPUnit_Framework_MockObject_MockObject
$testKeyClearText string
$testKeyHashed string

공개 메소드들

메소드 설명
authenticatingAPasswordTokenChecksIfTheGivenClearTextPasswordMatchesThePersistedHashedPassword ( )
authenticatingAnUnsupportedTokenThrowsAnException ( )
authenticationAddsAnAccountHoldingTheConfiguredRoles ( )
authenticationFailsWithWrongCredentialsInAPasswordToken ( )
authenticationIsSkippedIfNoCredentialsInAPasswordToken ( )
canAuthenticateReturnsTrueOnlyForAnTokenThatHasTheCorrectProviderNameSet ( )
getTokenClassNameReturnsCorrectClassNames ( )
setUp ( )

메소드 상세

authenticatingAPasswordTokenChecksIfTheGivenClearTextPasswordMatchesThePersistedHashedPassword() 공개 메소드

authenticatingAnUnsupportedTokenThrowsAnException() 공개 메소드

authenticationAddsAnAccountHoldingTheConfiguredRoles() 공개 메소드

authenticationFailsWithWrongCredentialsInAPasswordToken() 공개 메소드

authenticationIsSkippedIfNoCredentialsInAPasswordToken() 공개 메소드

canAuthenticateReturnsTrueOnlyForAnTokenThatHasTheCorrectProviderNameSet() 공개 메소드

getTokenClassNameReturnsCorrectClassNames() 공개 메소드

setUp() 공개 메소드

public setUp ( )

프로퍼티 상세

$mockFileBasedSimpleKeyService 보호되어 있는 프로퍼티

protected FileBasedSimpleKeyService,Neos\Flow\Security\Cryptography|PHPUnit_Framework_MockObject_MockObject $mockFileBasedSimpleKeyService
리턴 Neos\Flow\Security\Cryptography\FileBasedSimpleKeyService | PHPUnit_Framework_MockObject_MockObject

$mockHashService 보호되어 있는 프로퍼티

protected HashService,Neos\Flow\Security\Cryptography|PHPUnit_Framework_MockObject_MockObject $mockHashService
리턴 Neos\Flow\Security\Cryptography\HashService | PHPUnit_Framework_MockObject_MockObject

$mockPolicyService 보호되어 있는 프로퍼티

protected PolicyService,Neos\Flow\Security\Policy|PHPUnit_Framework_MockObject_MockObject $mockPolicyService
리턴 Neos\Flow\Security\Policy\PolicyService | PHPUnit_Framework_MockObject_MockObject

$mockRole 보호되어 있는 프로퍼티

protected Role,Neos\Flow\Security\Policy|PHPUnit_Framework_MockObject_MockObject $mockRole
리턴 Neos\Flow\Security\Policy\Role | PHPUnit_Framework_MockObject_MockObject

$mockToken 보호되어 있는 프로퍼티

protected PasswordToken,Neos\Flow\Security\Authentication\Token|PHPUnit_Framework_MockObject_MockObject $mockToken
리턴 Neos\Flow\Security\Authentication\Token\PasswordToken | PHPUnit_Framework_MockObject_MockObject

$testKeyClearText 보호되어 있는 프로퍼티

protected string $testKeyClearText
리턴 string

$testKeyHashed 보호되어 있는 프로퍼티

protected string $testKeyHashed
리턴 string