站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

RunAs (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

javax.annotation.security
Annotation Type 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.

Since:
Common Annotations 1.0

Required Element Summary
 String value
           
 

Element Detail

value

public abstract String value

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.