aerogear-security 1.3.1

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.
 

Element Detail

value

public abstract String[] value
List of roles that are allowed to access the annotated resource.


aerogear-security 1.3.1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.