Class ECPProfileHandlerController
- java.lang.Object
-
- org.apereo.cas.support.saml.web.idp.profile.AbstractSamlProfileHandlerController
-
- org.apereo.cas.support.saml.web.idp.profile.ecp.ECPProfileHandlerController
-
public class ECPProfileHandlerController extends AbstractSamlProfileHandlerController
This isECPProfileHandlerController.- Since:
- 5.1.0
-
-
Field Summary
-
Fields inherited from class org.apereo.cas.support.saml.web.idp.profile.AbstractSamlProfileHandlerController
samlProfileHandlerConfigurationContext
-
-
Constructor Summary
Constructors Constructor Description ECPProfileHandlerController(SamlProfileHandlerConfigurationContext samlProfileHandlerConfigurationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apereo.cas.authentication.AuthenticationauthenticateEcpRequest(org.apereo.cas.authentication.Credential credential, org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.AuthnRequest,org.opensaml.messaging.context.MessageContext> authnRequest)Authenticate ecp request.protected voidbuildEcpFaultResponse(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request, org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.RequestAbstractType,java.lang.String> authenticationContext)Build ecp fault response.voidhandleEcpRequest(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request)Handle ecp request.protected voidhandleEcpRequest(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request, org.opensaml.messaging.context.MessageContext soapContext, org.apereo.cas.authentication.Credential credential, java.lang.String binding)Handle ecp request.-
Methods inherited from class org.apereo.cas.support.saml.web.idp.profile.AbstractSamlProfileHandlerController
buildCasAssertion, buildCasAssertion, buildRedirectUrlByRequestedAuthnContext, buildSamlResponse, constructServiceUrl, decodeSoapRequest, getAuthenticationContextMappings, getRegisteredServiceAndFacade, getSamlMetadataFacadeFor, getSamlMetadataFacadeFor, handleUnauthorizedServiceException, initiateAuthenticationRequest, issueAuthenticationRequestRedirect, logCasValidationAssertion, retrieveSamlAuthenticationRequestFromHttpRequest, verifyAuthenticationContextSignature, verifyAuthenticationContextSignature, verifySamlAuthenticationRequest, verifySamlRegisteredService
-
-
-
-
Constructor Detail
-
ECPProfileHandlerController
public ECPProfileHandlerController(SamlProfileHandlerConfigurationContext samlProfileHandlerConfigurationContext)
-
-
Method Detail
-
handleEcpRequest
@PostMapping(path="/idp/profile/SAML2/SOAP/ECP", consumes={"text/xml","application/vnd.paos+xml"}, produces={"text/xml","application/vnd.paos+xml"}) public void handleEcpRequest(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request)Handle ecp request.- Parameters:
response- the responserequest- the request
-
handleEcpRequest
protected void handleEcpRequest(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request, org.opensaml.messaging.context.MessageContext soapContext, org.apereo.cas.authentication.Credential credential, java.lang.String binding)Handle ecp request.- Parameters:
response- the responserequest- the requestsoapContext- the soap contextcredential- the credentialbinding- the binding
-
buildEcpFaultResponse
protected void buildEcpFaultResponse(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request, org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.RequestAbstractType,java.lang.String> authenticationContext)Build ecp fault response.- Parameters:
response- the responserequest- the requestauthenticationContext- the authentication context
-
authenticateEcpRequest
protected org.apereo.cas.authentication.Authentication authenticateEcpRequest(org.apereo.cas.authentication.Credential credential, org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.AuthnRequest,org.opensaml.messaging.context.MessageContext> authnRequest)Authenticate ecp request.- Parameters:
credential- the credentialauthnRequest- the authn request- Returns:
- the authentication
-
-