Package org.keycloak.broker.saml
Class SAMLEndpoint.RedirectBinding
java.lang.Object
org.keycloak.broker.saml.SAMLEndpoint.Binding
org.keycloak.broker.saml.SAMLEndpoint.RedirectBinding
- Enclosing class:
- SAMLEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.ResponsebasicChecks(String samlRequest, String samlResponse, String samlArt) protected booleancontainsUnencryptedSignature(SAMLDocumentHolder documentHolder) protected SAMLDocumentHolderextractRequestDocument(String samlRequest) protected SAMLDocumentHolderextractResponseDocument(String response) protected Stringprotected booleanisMessageFullySigned(SAMLDocumentHolder documentHolder) protected voidverifySignature(String key, SAMLDocumentHolder documentHolder, String message, String relayState) Methods inherited from class org.keycloak.broker.saml.SAMLEndpoint.Binding
execute, getEntityId, getIDPKeyLocator, handleLoginResponse, handleLogoutResponse, handleSamlArt, handleSamlRequest, handleSamlResponse, isDestinationRequired, isSuccessfulSamlResponse, logoutRequest, samlIdpInitiatedSSO
-
Constructor Details
-
RedirectBinding
protected RedirectBinding()
-
-
Method Details
-
basicChecks
protected jakarta.ws.rs.core.Response basicChecks(String samlRequest, String samlResponse, String samlArt) - Overrides:
basicChecksin classSAMLEndpoint.Binding
-
containsUnencryptedSignature
- Specified by:
containsUnencryptedSignaturein classSAMLEndpoint.Binding
-
isMessageFullySigned
- Specified by:
isMessageFullySignedin classSAMLEndpoint.Binding
-
verifySignature
protected void verifySignature(String key, SAMLDocumentHolder documentHolder, String message, String relayState) throws VerificationException - Specified by:
verifySignaturein classSAMLEndpoint.Bindingmessage- the SAML message being processed, as received in thekeyparameterrelayState- the relay state being processed- Throws:
VerificationException
-
extractRequestDocument
- Specified by:
extractRequestDocumentin classSAMLEndpoint.Binding
-
extractResponseDocument
- Specified by:
extractResponseDocumentin classSAMLEndpoint.Binding
-
getBindingType
- Specified by:
getBindingTypein classSAMLEndpoint.Binding
-