Annotation Interface CsrfDisabled


@Target({METHOD,TYPE}) @Retention(RUNTIME) @Documented public @interface CsrfDisabled
Informs Spring security mechanism that this endpoint should not be csrf protected. Usually useful with REST APIs, which are intended to be stateless only.