Class ECPSamlIdPProfileHandlerController

java.lang.Object
org.apereo.cas.support.saml.web.idp.profile.AbstractSamlIdPProfileHandlerController
org.apereo.cas.support.saml.web.idp.profile.ecp.ECPSamlIdPProfileHandlerController

public class ECPSamlIdPProfileHandlerController extends AbstractSamlIdPProfileHandlerController
Since:
5.1.0
  • Constructor Details

  • 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 response
      request - 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 context
      credential - the credential
      Throws:
      Exception - the exception
    • buildEcpFaultResponse

      protected void buildEcpFaultResponse(SamlProfileBuilderContext context, String error) throws Exception
      Build ecp fault response.
      Parameters:
      context - the context
      error - 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 credential
      authnRequest - the authn request
      Returns:
      the authentication