All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dynamicextensionsalfresco.annotations.RunAs Maven / Gradle / Ivy

Go to download

Adds an OSGi container to alfresco repository supporting dynamic code reloading, classpath isolation and a bunch of other useful features

There is a newer version: 3.1.0
Show newest version
package com.github.dynamicextensionsalfresco.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.alfresco.repo.security.authentication.AuthenticationUtil;

/**
 * Indicates methods that are run as a given user.
 * 

* The implementation uses Spring AOP. See the {@link Transactional} documentation for limitations regarding Spring AOP. * * @author Laurens Fridael * @see AuthenticationUtil#runAs(org.alfresco.repo.security.authentication.AuthenticationUtil.RunAsWork, String) * */ @Target({ ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) public @interface RunAs { /** * The user to run this method as. * * @return */ String value(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy