Package org.keycloak.protocol.saml
Class SamlService.PostBindingProtocol
java.lang.Object
org.keycloak.protocol.saml.SamlService.BindingProtocol
org.keycloak.protocol.saml.SamlService.PostBindingProtocol
- Enclosing class:
- SamlService
-
Field Summary
Fields inherited from class org.keycloak.protocol.saml.SamlService.BindingProtocol
redirectToAuthentication
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
containsUnencryptedSignature
(SAMLDocumentHolder documentHolder) protected String
encodeSamlDocument
(Document samlDocument) protected jakarta.ws.rs.core.Response
error
(KeycloakSession session, AuthenticationSessionModel authenticationSession, jakarta.ws.rs.core.Response.Status status, String message, Object... parameters) protected SAMLDocumentHolder
extractRequestDocument
(String samlRequest) protected SAMLDocumentHolder
extractResponseDocument
(String response) protected String
protected void
verifySignature
(SAMLDocumentHolder documentHolder, ClientModel client) Methods inherited from class org.keycloak.protocol.saml.SamlService.BindingProtocol
basicChecks, execute, execute, getBindingType, getExpectedDestinationUri, handleArtifact, handleSamlRequest, handleSamlResponse, isDestinationRequired, loginRequest, logoutRequest
-
Constructor Details
-
PostBindingProtocol
protected PostBindingProtocol()
-
-
Method Details
-
error
protected jakarta.ws.rs.core.Response error(KeycloakSession session, AuthenticationSessionModel authenticationSession, jakarta.ws.rs.core.Response.Status status, String message, Object... parameters) - Specified by:
error
in classSamlService.BindingProtocol
-
encodeSamlDocument
- Specified by:
encodeSamlDocument
in classSamlService.BindingProtocol
- Throws:
ProcessingException
-
verifySignature
protected void verifySignature(SAMLDocumentHolder documentHolder, ClientModel client) throws VerificationException - Specified by:
verifySignature
in classSamlService.BindingProtocol
- Throws:
VerificationException
-
containsUnencryptedSignature
- Specified by:
containsUnencryptedSignature
in classSamlService.BindingProtocol
-
extractRequestDocument
- Specified by:
extractRequestDocument
in classSamlService.BindingProtocol
-
extractResponseDocument
- Specified by:
extractResponseDocument
in classSamlService.BindingProtocol
-
getBindingType
- Specified by:
getBindingType
in classSamlService.BindingProtocol
-