@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface RunAs
Defines the identity of the application during execution.
This allows developers to execute an application under a particular role.
The role must map to the user / group information in the container's
security realm. Its value is the name of a security role.
- Since:
- Common Annotations 1.0
- Examples (en):
- testing-security, testing-security-meta, movies-complete, movies-complete-meta, moviefun, decorators, connector-war
- Examples (pt):
- testing-security