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(SAMLDocumentHolder documentHolder)
protected String
encodeSamlDocument(Document samlDocument)
protected SAMLDocumentHolder
extractRequestDocument(String samlRequest)
protected SAMLDocumentHolder
extractResponseDocument(String response)
protected String
getBindingType()
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
-
-
-
-
Method Detail
-
encodeSamlDocument
protected String encodeSamlDocument(Document samlDocument) throws ProcessingException
- 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
protected boolean containsUnencryptedSignature(SAMLDocumentHolder documentHolder)
- Specified by:
containsUnencryptedSignature
in classSamlService.BindingProtocol
-
extractRequestDocument
protected SAMLDocumentHolder extractRequestDocument(String samlRequest)
- Specified by:
extractRequestDocument
in classSamlService.BindingProtocol
-
extractResponseDocument
protected SAMLDocumentHolder extractResponseDocument(String response)
- Specified by:
extractResponseDocument
in classSamlService.BindingProtocol
-
getBindingType
protected String getBindingType()
- Specified by:
getBindingType
in classSamlService.BindingProtocol
-
-