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 |
java.lang.String |
value
|
value
public abstract java.lang.String value
Submit a bug or feature Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41