Package org.keycloak.broker.saml
Class SAMLEndpoint.Binding
java.lang.Object
org.keycloak.broker.saml.SAMLEndpoint.Binding
- Direct Known Subclasses:
SAMLEndpoint.ArtifactBinding
,SAMLEndpoint.PostBinding
,SAMLEndpoint.RedirectBinding
- Enclosing class:
- SAMLEndpoint
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.Response
basicChecks
(String samlRequest, String samlResponse, String samlArt) protected abstract boolean
containsUnencryptedSignature
(SAMLDocumentHolder documentHolder) jakarta.ws.rs.core.Response
execute
(String samlRequest, String samlResponse, String samlArt, String relayState, String clientId) protected abstract SAMLDocumentHolder
extractRequestDocument
(String samlRequest) protected abstract SAMLDocumentHolder
extractResponseDocument
(String response) protected abstract String
protected KeyLocator
protected jakarta.ws.rs.core.Response
handleLoginResponse
(String samlResponse, SAMLDocumentHolder holder, ResponseType responseType, String relayState, String clientId) protected jakarta.ws.rs.core.Response
handleLogoutResponse
(SAMLDocumentHolder holder, StatusResponseType responseType, String relayState) protected jakarta.ws.rs.core.Response
handleSamlArt
(String samlArt, String relayState, String clientId) protected jakarta.ws.rs.core.Response
handleSamlRequest
(String samlRequest, String relayState) jakarta.ws.rs.core.Response
handleSamlResponse
(String samlResponse, String relayState, String clientId) protected boolean
protected jakarta.ws.rs.core.Response
logoutRequest
(LogoutRequestType request, String relayState) protected abstract void
verifySignature
(String key, SAMLDocumentHolder documentHolder)
-
Constructor Details
-
Binding
protected Binding()
-
-
Method Details
-
basicChecks
-
getBindingType
-
containsUnencryptedSignature
-
verifySignature
protected abstract void verifySignature(String key, SAMLDocumentHolder documentHolder) throws VerificationException - Throws:
VerificationException
-
extractRequestDocument
-
extractResponseDocument
-
isDestinationRequired
protected boolean isDestinationRequired() -
getIDPKeyLocator
-
execute
-
handleSamlRequest
-
logoutRequest
-
handleSamlArt
-
handleLoginResponse
protected jakarta.ws.rs.core.Response handleLoginResponse(String samlResponse, SAMLDocumentHolder holder, ResponseType responseType, String relayState, String clientId) -
handleSamlResponse
-
handleLogoutResponse
protected jakarta.ws.rs.core.Response handleLogoutResponse(SAMLDocumentHolder holder, StatusResponseType responseType, String relayState)
-