Module jakarta.mvc
Package jakarta.mvc.security
package jakarta.mvc.security
Types related to Jakarta MVC security features.
- Version:
- 1.0
-
ClassDescriptionCross Site Request Forgery (CSRF) interface with access to the CSRF header name and the CSRF token value.Options for property
Csrf.CSRF_PROTECTION
.A controller annotation to validate a CSRF token value received in a request whenever the propertyCsrf.CSRF_PROTECTION
is set toCsrf.CsrfOptions.EXPLICIT
.This exception is thrown by the MVC implementation if the CSRF token validation fails.Interface that provides encoders to escape code in JavaScript, HTML, etc.