Class SamlPostForm
java.lang.Object
com.revetsec.saml.SamlPostForm
A prepared browser form for a SAML HTTP-POST authentication or logout message. Render only over HTTPS.
Retain browser-bound pending state before initiating a flow; a pending cookie needed on a cross-site
POST callback requires Secure, HttpOnly and SameSite=None.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the approved IdP form action.Returns the form fields for framework rendering.Returns response headers for a transient form page.Renders an escaped HTML form.toString()Redacts request values.
-
Method Details
-
getAction
-
getFields
-
getHeaders
-
toHtml
Renders an escaped HTML form. A supplied CSP nonce adds automatic submission; otherwise the page shows a submit button. The caller sets its own Content-Security-Policy header.- Parameters:
cspNonce- validated application-generated nonce, or null for manual submission- Returns:
- complete HTML document
- Since:
- 1.0.0
-
toString
-