Property | Type | Description | |
---|---|---|---|
$securityInitialized | |||
$testingPolicyPathAndFilename |
Method | Description | |
---|---|---|
cleanUpSecurity ( ) | ||
iAmAuthenticatedWithRole ( $roleIdentifier ) | ||
iAmNotAuthenticated ( ) | ||
iCanCallTheMethodOfClassWithArguments ( $not, $methodName, $className, $arguments = '' ) | ||
iHaveTheFollowingPolicies ( $string ) | WARNING: If using this step definition, IT MUST RUN AS ABSOLUTELY FIRST STEP IN A SCENARIO! |
Method | Description | |
---|---|---|
authenticateAccount ( |
Prepares the environment for and conducts an account authentication | |
authenticateRoles ( array $roleNames ) : Neos\Flow\Security\Accountt | Creates a new account, assigns it the given roles and authenticates it. | |
setupSecurity ( ) : void | Sets up security test requirements |
protected authenticateAccount ( |
||
$account | ||
return | void |
protected authenticateRoles ( array $roleNames ) : Neos\Flow\Security\Accountt | ||
$roleNames | array | A list of roles the new account should have |
return | Neos\Flow\Security\Accountt | The created account |
public iCanCallTheMethodOfClassWithArguments ( $not, $methodName, $className, $arguments = '' ) |
public iHaveTheFollowingPolicies ( $string ) |
protected setupSecurity ( ) : void | ||
return | void |