public abstract class SamlService.BindingProtocol extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
redirectToAuthentication |
Constructor and Description |
---|
BindingProtocol() |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
basicChecks(String samlRequest,
String samlResponse) |
protected abstract SAMLDocumentHolder |
extractRequestDocument(String samlRequest) |
protected abstract SAMLDocumentHolder |
extractResponseDocument(String response) |
protected abstract String |
getBindingType() |
protected String |
getBindingType(AuthnRequestType requestAbstractType) |
protected javax.ws.rs.core.Response |
handleSamlRequest(String samlRequest,
String relayState) |
protected javax.ws.rs.core.Response |
handleSamlResponse(String samlResponse,
String relayState) |
protected javax.ws.rs.core.Response |
loginRequest(String relayState,
AuthnRequestType requestAbstractType,
ClientModel client) |
protected javax.ws.rs.core.Response |
logoutRequest(LogoutRequestType logoutRequest,
ClientModel client,
String relayState) |
protected abstract void |
verifySignature(SAMLDocumentHolder documentHolder,
ClientModel client) |
protected javax.ws.rs.core.Response basicChecks(String samlRequest, String samlResponse)
protected javax.ws.rs.core.Response handleSamlResponse(String samlResponse, String relayState)
protected javax.ws.rs.core.Response handleSamlRequest(String samlRequest, String relayState)
protected abstract void verifySignature(SAMLDocumentHolder documentHolder, ClientModel client) throws VerificationException
VerificationException
protected abstract SAMLDocumentHolder extractRequestDocument(String samlRequest)
protected abstract SAMLDocumentHolder extractResponseDocument(String response)
protected javax.ws.rs.core.Response loginRequest(String relayState, AuthnRequestType requestAbstractType, ClientModel client)
protected String getBindingType(AuthnRequestType requestAbstractType)
protected abstract String getBindingType()
protected javax.ws.rs.core.Response logoutRequest(LogoutRequestType logoutRequest, ClientModel client, String relayState)
Copyright © 2016 JBoss by Red Hat. All rights reserved.