Annotation Type RunAs



  • @Documented
    @Retention(RUNTIME)
    @Target(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

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value