org.codehaus.groovy.grails.plugins.springsecurity
Annotation Type Secured
@Target(value={FIELD,TYPE})
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface Secured
Annotation for Controllers at the class level or per-action, defining what roles
are required for the entire controller or action.
Required Element Summary |
String[] |
value
Defines the security configuration attributes (e.g. |
value
public abstract String[] value
- Defines the security configuration attributes (e.g. ROLE_USER, ROLE_ADMIN, etc.)
- Returns:
- the names of the roles