站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 patch1 API 英文版文档

Restrict (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


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:
""