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
protected class SamlService.PostBindingProtocol extends SamlService.BindingProtocol
-
-
Field Summary
-
Fields inherited from class org.keycloak.protocol.saml.SamlService.BindingProtocol
redirectToAuthentication
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PostBindingProtocol()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
containsUnencryptedSignature(org.keycloak.saml.processing.core.saml.v2.common.SAMLDocumentHolder documentHolder)
protected String
encodeSamlDocument(Document samlDocument)
protected org.keycloak.saml.processing.core.saml.v2.common.SAMLDocumentHolder
extractRequestDocument(String samlRequest)
protected org.keycloak.saml.processing.core.saml.v2.common.SAMLDocumentHolder
extractResponseDocument(String response)
protected String
getBindingType()
protected void
verifySignature(org.keycloak.saml.processing.core.saml.v2.common.SAMLDocumentHolder documentHolder, org.keycloak.models.ClientModel client)
-
Methods inherited from class org.keycloak.protocol.saml.SamlService.BindingProtocol
basicChecks, execute, execute, getBindingType, getExpectedDestinationUri, handleArtifact, handleSamlRequest, handleSamlResponse, isDestinationRequired, loginRequest, logoutRequest
-
-
-
-
Method Detail
-
encodeSamlDocument
protected String encodeSamlDocument(Document samlDocument) throws org.keycloak.saml.common.exceptions.ProcessingException
- Specified by:
encodeSamlDocument
in classSamlService.BindingProtocol
- Throws:
org.keycloak.saml.common.exceptions.ProcessingException
-
verifySignature
protected void verifySignature(org.keycloak.saml.processing.core.saml.v2.common.SAMLDocumentHolder documentHolder, org.keycloak.models.ClientModel client) throws org.keycloak.common.VerificationException
- Specified by:
verifySignature
in classSamlService.BindingProtocol
- Throws:
org.keycloak.common.VerificationException
-
containsUnencryptedSignature
protected boolean containsUnencryptedSignature(org.keycloak.saml.processing.core.saml.v2.common.SAMLDocumentHolder documentHolder)
- Specified by:
containsUnencryptedSignature
in classSamlService.BindingProtocol
-
extractRequestDocument
protected org.keycloak.saml.processing.core.saml.v2.common.SAMLDocumentHolder extractRequestDocument(String samlRequest)
- Specified by:
extractRequestDocument
in classSamlService.BindingProtocol
-
extractResponseDocument
protected org.keycloak.saml.processing.core.saml.v2.common.SAMLDocumentHolder extractResponseDocument(String response)
- Specified by:
extractResponseDocument
in classSamlService.BindingProtocol
-
getBindingType
protected String getBindingType()
- Specified by:
getBindingType
in classSamlService.BindingProtocol
-
-