Skip to content
Snippets Groups Projects

Add authentication to currently used requests

19 files
+ 363
165
Compare changes
  • Side-by-side
  • Inline

Files

package nl.tudelft.ewi.tam.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The Annotation interface used to get the current authenticated {@link nl.tudelft.ewi.tam.beans.User} instance
* from the Security Context.
*/
@Target({ElementType.PARAMETER, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface AuthenticatedUser {
}
Loading