Package com.revetsec.soklet


@NullMarked package com.revetsec.soklet
Revetsec helpers for Soklet applications.

The helpers are static classes. They pass a Soklet Request to Revetsec core as raw input (query string, form body, header values) and turn Revetsec results into Soklet responses. They contain no protocol logic: every validation decision is made by Revetsec core, through its public API only.

SokletOAuth handles raw GET and form-post callbacks plus trusted redirects; SokletBearer exposes absent, unverified present and malformed Authorization results. SokletOAuthAuthorizationServer admits raw issuer requests and emits prepared responses; SokletSaml and SokletScim provide corresponding SAML and SCIM transport helpers. JwksMarshaledResponse publishes standalone public key sets as prepared bytes; JwksResponse supplies typed bodies with application-owned JSON serialization. Soklet 4 retains header values as lists; the helpers pass every materialized occurrence to core. The OAuth callback helper returns an explicit oversized outcome for bodies Soklet discarded. Issuer, SAML POST and SCIM body helpers return SokletRequestResult: oversized bodies never invoke core, while a completed transport carries the actual protocol result. A trusted edge still enforces complete-request, physical framing and header limits before materialization.

Revetsec core and Soklet are provided dependencies of this adapter, so an application declares both.

Since:
1.0.0
Author:
Mark Allen