org.jboss.aerogear.security.authz
Annotation Type Secure
@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
@InterceptorBinding
public @interface Secure
Annotates classes or methods to indicate accessing the class (or the method),
is restricted to a "user" that matches the given roles:
|
Required Element Summary |
String[] |
value
List of roles that are allowed to access the annotated resource. |
value
public abstract String[] value
- List of roles that are allowed to access the annotated resource.
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.