Annotation Type RunAs

  • @Target(METHOD)
    public @interface RunAs
    Indicates methods that are run as a given user.

    The implementation uses Spring AOP. See the Transactional documentation for limitations regarding Spring AOP.

    See Also:
    AuthenticationUtil.runAs(, String)
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      The user to run this method as.
    • Element Detail

      • value

        java.lang.String value
        The user to run this method as.