Package com.priint.pubserver.auth
Annotation Type RequiresAuthentication
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface RequiresAuthenticationThe RequiresAuthentication annotation requires the current Subject to have been authenticated during their current session for the annotated class/instance/method to be accessed or invoked.Difference to @RequiresUser is, that RequiresUser check if the subject is either authenticated or remembered (by RememberMe cookie).