Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.jboss.seam.annotations.security
Annotation Type Restrict

    @Target(value={TYPE,METHOD})
    @Documented
    @Retention(value=RUNTIME)
    @Inherited
    public @interface Restrict

Used to restrict access to a Seam component, component method or entity.

Author:
  Shane Bryzak

Optional Element Summary
`String` | `value` Restrictions may be expressed using any EL expression, and usually include the use of s:hasRole(...) or s:hasPermission(..., /..).

### value

    public abstract String value

  Restrictions may be expressed using any EL expression, and usually include the use of s:hasRole(...) or s:hasPermission(..., /..).

  Returns:
    An EL expression that defines the restriction to be checked
  Default:
    ""

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT