PHP Class Symfony\Component\Security\Core\Tests\Authentication\Provider\DaoAuthenticationProviderTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: symfony/symfony

Public Methods

Method Description
testCheckAuthentication ( )
testCheckAuthenticationDoesNotReauthenticateWhenPasswordHasChanged ( )
testCheckAuthenticationWhenCredentialsAre0 ( )
testCheckAuthenticationWhenCredentialsAreEmpty ( )
testCheckAuthenticationWhenCredentialsAreNotValid ( )
testCheckAuthenticationWhenTokenNeedsReauthenticationWorksWithoutOriginalCredentials ( )
testRetrieveUser ( )
testRetrieveUserReturnsUserFromTokenOnReauthentication ( )
testRetrieveUserWhenAnExceptionOccurs ( )
testRetrieveUserWhenProviderDoesNotReturnAnUserInterface ( )
testRetrieveUserWhenUsernameIsNotFound ( )

Protected Methods

Method Description
getProvider ( $user = null, $userChecker = null, $passwordEncoder = null )
getSupportedToken ( )

Method Details

getProvider() protected method

protected getProvider ( $user = null, $userChecker = null, $passwordEncoder = null )

getSupportedToken() protected method

protected getSupportedToken ( )

testCheckAuthentication() public method

testCheckAuthenticationDoesNotReauthenticateWhenPasswordHasChanged() public method

testCheckAuthenticationWhenCredentialsAre0() public method

testCheckAuthenticationWhenCredentialsAreEmpty() public method

testCheckAuthenticationWhenCredentialsAreNotValid() public method

testCheckAuthenticationWhenTokenNeedsReauthenticationWorksWithoutOriginalCredentials() public method

testRetrieveUser() public method

public testRetrieveUser ( )

testRetrieveUserReturnsUserFromTokenOnReauthentication() public method

testRetrieveUserWhenAnExceptionOccurs() public method

testRetrieveUserWhenProviderDoesNotReturnAnUserInterface() public method

testRetrieveUserWhenUsernameIsNotFound() public method