Symfony2 API
Class

Symfony\Component\Security\Core\Exception\InsufficientAuthenticationException

class InsufficientAuthenticationException extends AuthenticationException

InsufficientAuthenticationException is thrown if the user credentials are not sufficiently trusted.

This is the case when a user is anonymous and the resource to be displayed has an access role.

Methods

string getMessageKey()

Message key to be used by the translation component.

Details

at line 27
public string getMessageKey()

Message key to be used by the translation component.

Return Value

string