Project

General

Profile

Download (774 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2017 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.vaadin.permission.annotation;
10

    
11
import java.lang.annotation.Documented;
12
import java.lang.annotation.ElementType;
13
import java.lang.annotation.Retention;
14
import java.lang.annotation.RetentionPolicy;
15
import java.lang.annotation.Target;
16

    
17
/**
18
 * Annotate a Spring View with this to require users to authenticate.
19
 *
20
 * @author a.kohlbecker
21
 * @since Apr 24, 2017
22
 *
23
 */
24

    
25
@Target({ ElementType.TYPE})
26
@Retention(RetentionPolicy.RUNTIME)
27
@Documented
28
public @interface RequireAuthentication {
29

    
30
}
(2-2/2)