1 /** 2007, Digitalis Informatica. All rights reserved.
2 *
3 * Distribuicao e Gestao de Informatica, Lda.
4 * Estrada de Paco de Arcos num.9 - Piso -1
5 * 2780-666 Paco de Arcos
6 * Telefone: (351) 21 4408990
7 * Fax: (351) 21 4408999
8 * http://www.digitalis.pt
9 */
10
11 package pt.digitalis.dif.dem.annotations.stage.controller;
12
13 import java.lang.annotation.ElementType;
14 import java.lang.annotation.Retention;
15 import java.lang.annotation.RetentionPolicy;
16 import java.lang.annotation.Target;
17
18 import pt.digitalis.dif.dem.annotations.metaannotations.BindToPrimary;
19
20 /**
21 * This annotation allows the programmer to configure the Stages authentication controller step. It instructs the
22 * controller to bypass any errors in this phase and allow execution of the stage. The errors will be injected into the
23 * field annotated with this annotation for processing of the stage itself.
24 *
25 * @author Pedro Viegas <a href="mailto:pviegas@digitalis.pt">pviegas@digitalis.pt</a>
26 * @created Dec 31, 2007
27 */
28 @Target(ElementType.FIELD)
29 @Retention(RetentionPolicy.RUNTIME)
30 @BindToPrimary("pt.digitalis.dif.dem.annotations.entities.StageDefinition")
31 public @interface InjectAuthenticationError {
32 }