PHP Class Neos\Flow\Tests\Functional\Security\AuthenticationTest

Inheritance: extends Neos\Flow\Tests\FunctionalTestCase
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$testablePersistenceEnabled boolean
$testableSecurityEnabled boolean

Public Methods

Method Description
failedAuthenticationCallsOnAuthenticationFailureMethod ( )
noSessionIsStartedIfAUnrestrictedActionIsCalled ( )
setUp ( ) : void
successfulAuthenticationCallsOnAuthenticationSuccessMethod ( )
successfulAuthenticationDoesNotStartASessionIfNoTokenRequiresIt ( )
successfulAuthenticationDoesStartASessionIfTokenRequiresIt ( )
successfulAuthenticationResetsAuthenticatedRoles ( )
theInterceptedRequestIsStoredInASessionForLaterRetrieval ( ) On trying to access a restricted resource Flow should first store the current request in the session and then redirect to the entry point. After successful authentication the intercepted request should be contained in the security context and can be fetched from there.

Method Details

failedAuthenticationCallsOnAuthenticationFailureMethod() public method

noSessionIsStartedIfAUnrestrictedActionIsCalled() public method

setUp() public method

public setUp ( ) : void
return void

successfulAuthenticationCallsOnAuthenticationSuccessMethod() public method

successfulAuthenticationDoesNotStartASessionIfNoTokenRequiresIt() public method

successfulAuthenticationDoesStartASessionIfTokenRequiresIt() public method

successfulAuthenticationResetsAuthenticatedRoles() public method

theInterceptedRequestIsStoredInASessionForLaterRetrieval() public method

On trying to access a restricted resource Flow should first store the current request in the session and then redirect to the entry point. After successful authentication the intercepted request should be contained in the security context and can be fetched from there.

Property Details

$testablePersistenceEnabled protected static property

protected static bool $testablePersistenceEnabled
return boolean

$testableSecurityEnabled protected property

protected bool $testableSecurityEnabled
return boolean