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
-
Field Summary
Fields inherited from class org.apereo.cas.support.saml.web.idp.profile.AbstractSamlIdPProfileHandlerController
configurationContext -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.web.servlet.ModelAndViewhandleCallbackProfileRequestGet(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request) Handle callback profile request.protected org.springframework.web.servlet.ModelAndViewhandleCallbackProfileRequestPost(jakarta.servlet.http.HttpServletResponse response, jakarta.servlet.http.HttpServletRequest request) 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) 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
-
SSOSamlIdPProfileCallbackHandlerController
-
-
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 responserequest- 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
-