Annotation Type RunAs


  • @Target(METHOD)
    @Retention(RUNTIME)
    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(org.alfresco.repo.security.authentication.AuthenticationUtil.RunAsWork, 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.