Class ECPSamlIdPProfileHandlerController
java.lang.Object
org.apereo.cas.support.saml.web.idp.profile.AbstractSamlIdPProfileHandlerController
org.apereo.cas.support.saml.web.idp.profile.ecp.ECPSamlIdPProfileHandlerController
This is
ECPSamlIdPProfileHandlerController.- Since:
- 5.1.0
-
Field Summary
Fields inherited from class org.apereo.cas.support.saml.web.idp.profile.AbstractSamlIdPProfileHandlerController
configurationContext -
Constructor Summary
ConstructorsConstructorDescriptionECPSamlIdPProfileHandlerController(SamlProfileHandlerConfigurationContext configurationContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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(SamlProfileBuilderContext context, String error) Build ecp fault response.voidhandleEcpRequest(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request) Handle ecp request.protected voidhandleEcpRequest(SamlProfileBuilderContext context, org.apereo.cas.authentication.Credential credential) Handle ecp request.Methods inherited from class org.apereo.cas.support.saml.web.idp.profile.AbstractSamlIdPProfileHandlerController
autoConfigureCookiePath, bindRelayStateParameter, buildAuthenticationContextPair, buildCasAssertion, buildCasAssertion, buildResponseBasedSingleSignOnSession, buildSamlResponse, constructServiceUrl, decodeSoapRequest, determineProfileBinding, getRegisteredServiceAndFacade, getSamlMetadataFacadeFor, getSamlMetadataFacadeFor, handleSsoPostProfileRequest, handleUnauthorizedServiceException, initiateAuthenticationRequest, issueAuthenticationRequestRedirect, logCasValidationAssertion, retrieveAuthenticationRequest, singleSignOnSessionExists, storeAuthenticationRequest, verifyAuthenticationContextSignature, verifyAuthenticationContextSignature, verifySamlAuthenticationRequest, verifySamlRegisteredService
-
Constructor Details
-
ECPSamlIdPProfileHandlerController
public ECPSamlIdPProfileHandlerController(SamlProfileHandlerConfigurationContext configurationContext)
-
-
Method Details
-
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(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request) throws Exception Handle ecp request.- Parameters:
response- the responserequest- the request- Throws:
Exception- the exception
-
handleEcpRequest
protected void handleEcpRequest(SamlProfileBuilderContext context, org.apereo.cas.authentication.Credential credential) throws Exception Handle ecp request.- Parameters:
context- the contextcredential- the credential- Throws:
Exception- the exception
-
buildEcpFaultResponse
protected void buildEcpFaultResponse(SamlProfileBuilderContext context, String error) throws Exception Build ecp fault response.- Parameters:
context- the contexterror- the error- Throws:
Exception- the exception
-
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
-