Class SSOSamlIdPProfileCallbackHandlerController

java.lang.Object
org.apereo.cas.support.saml.web.idp.profile.AbstractSamlIdPProfileHandlerController
org.apereo.cas.support.saml.web.idp.profile.sso.SSOSamlIdPProfileCallbackHandlerController

public class SSOSamlIdPProfileCallbackHandlerController extends AbstractSamlIdPProfileHandlerController
This is SSOSamlIdPProfileCallbackHandlerController, which handles the profile callback request to build the final saml response.
Since:
5.0.0
  • Constructor Details

  • Method Details

    • handleCallbackProfileRequestGet

      @GetMapping(path="/idp/profile/SAML2/Callback") protected org.springframework.web.servlet.ModelAndView handleCallbackProfileRequestGet(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request) throws Exception
      Handle callback profile request.
      Parameters:
      response - the response
      request - the request
      Returns:
      the model and view
      Throws:
      Exception - the exception
    • handleCallbackProfileRequestPost

      @PostMapping(path="/idp/profile/SAML2/Callback") protected org.springframework.web.servlet.ModelAndView handleCallbackProfileRequestPost(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request) throws Exception
      Throws:
      Exception
    • validateRequestAndBuildCasAssertion

      protected Optional<AuthenticatedAssertionContext> validateRequestAndBuildCasAssertion(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request, org.apache.commons.lang3.tuple.Pair<? extends org.opensaml.saml.saml2.core.RequestAbstractType,org.opensaml.messaging.context.MessageContext> authnContext) throws Exception
      Throws:
      Exception