Target: Attribute of a POJO annotated with @StageDefinition.
Description: Instructs the controller to bypass any errors in the authentication phase and allow execution of the stage if such errors happen. The errors will be injected into the annotated field so it can be processed by the stage itself.
Remarks: If the annotation exists (and as such, the object) and there are authentication errors the execution flow is not interrupted and the errors are injected on the object. If the annotation doesn't exist and such errors happen, the execution flow is interrupted and redirected to the error stage/view.
The annotation must be applied on an object of the type ControllerException.
JavaDoc: Click here
Attributes: N/A
Example:
public class aStage { @InjectAuthenticationError ControllerException authenticationError; ... }
See also: