RunAs (Java EE 5)

Java EE API


javax.annotation.security Annotation Type RunAs


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

Implements: Annotation
@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)

定义应用程序在 J2EE 容器中执行期间的身份。这允许开发人员在特定的角色下执行。角色必须映射到容器安全域中的用户/组信息。它的值是安全角色的名称。
英文文档:

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.

Since:
1.0

Required Element Summary
 String
 

Element Detail

abstract public String value()
英文文档:

value

public abstract String value


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!