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

com.github.dynamicextensionsalfresco.webscripts.annotations.Authentication 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

The newest version!
package com.github.dynamicextensionsalfresco.webscripts.annotations;

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

@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface Authentication {
	/**
	 * Determines the {@link AuthenticationType}.
	 */
	AuthenticationType value() default AuthenticationType.USER;

	/**
	 * Determines the user the Web Script is run as.
	 * 
	 * @return
	 */
	String runAs() default "";

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy