Package com.revetsec.servlet.javax
@NullMarked
package com.revetsec.servlet.javax
Revetsec helpers for applications on the
javax.servlet API.
The helpers are static classes. They pass an HttpServletRequest to Revetsec core as raw input (query
string, original body and header values) and write Revetsec results to an HttpServletResponse.
They perform bounded transport checks while Revetsec core makes protocol and credential-validation decisions
through its public API only. The application owns routing, sessions and authorization.
Revetsec core and the Servlet API are provided dependencies of this adapter: an application declares
core, and its servlet container supplies the Servlet API. The revetsec-servlet-jakarta adapter has the same
helpers for the jakarta.servlet API.
- Author:
- Mark Allen
-
ClassDescriptionRaw Authorization-header transport.Servlet request extraction for Revetsec's browser request-origin policy.Publishes standalone public JSON Web Key Sets on application-owned Servlet routes.Raw OAuth callback and redirect transport for application-routed Servlet endpoints.Thin issuer transport for application-routed Servlet requests and core-prepared responses.The outcome of materializing and parsing a raw, unverified OAuth browser callback.A callback rejected for an unsupported method or malformed, duplicate, oversized or split-channel input.A syntactically parsed callback that remains unverified until transaction completion.The transport discarded an oversized request body or its bounded read observed overflow.Thin SAML transport helpers for application-routed javax Servlet endpoints.Thin raw-input SCIM transport helpers for application-routed Servlet endpoints.A bounded raw Servlet body read; availability is distinct from protocol rejection.An unchanged raw body that may contain personal data.An explicit body-size rejection with no retained request bytes.The input stream was unavailable; the application chooses its transport failure handling.Raw WebAuthn browser transport.Outcome of a bounded raw WebAuthn completion-body read.The original raw JSON body, which may contain personal data.Method, media type or body size was rejected without retaining body bytes.Input could not be read; the application chooses transport failure handling.