Annotation Interface RequiresNoScope


@Inherited @Retention(RUNTIME) public @interface RequiresNoScope
Declares that a method on a JAX-RS resource does not need a scope to be authorized. When used on a JAX-RS resource class, all methods without the annotation inherit the resource class annotation.

If scope annotation checking is enabled and a method has no RequiresScope or RequiresNoScope annotation, the request isn't authorized to execute that method as security precaution.