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
See Also:
Identity

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(..., /..). If no EL expression is explicitly specified, Seam security defaults the permission to be checked.

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