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

org.directwebremoting.annotations.Auth Maven / Gradle / Ivy

package org.directwebremoting.annotations;

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

/**
 * Restrict remote access to a method to users authorized under a certain J2EE role.
 * @author Maik Schreiber [blizzy AT blizzy DOT de]
 * @author Joe Walker [joe at getahead dot ltd dot uk]
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Auth
{
    /**
     * Name of the J2EE role to restrict access to.
     * @return ...
     */
    String[] role();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy