javax.annotation.security
注释类型 RunAs


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface RunAs

Defines the identity of the application during execution in a J2EE container. This allows developers to execute under a particular role. The role must map to the user / group information in the containers security realm. It's value is the name of a security role.

从以下版本开始:
Common Annotations 1.0

必需元素摘要
 String value
           
 

元素详细信息

value

public abstract String value


Copyright © 2013. All Rights Reserved.