Class SSOSamlPostProfileHandlerController
- java.lang.Object
-
- org.apereo.cas.support.saml.web.idp.profile.AbstractSamlProfileHandlerController
-
- org.apereo.cas.support.saml.web.idp.profile.sso.SSOSamlPostProfileHandlerController
-
public class SSOSamlPostProfileHandlerController extends AbstractSamlProfileHandlerController
TheSSOSamlPostProfileHandlerControlleris responsible for handling profile requests for SAML2 Web SSO.- Since:
- 5.0.0
-
-
Field Summary
-
Fields inherited from class org.apereo.cas.support.saml.web.idp.profile.AbstractSamlProfileHandlerController
samlProfileHandlerConfigurationContext
-
-
Constructor Summary
Constructors Constructor Description SSOSamlPostProfileHandlerController(SamlProfileHandlerConfigurationContext samlProfileHandlerConfigurationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleSaml2ProfileSsoPostRequest(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request)Handle SSO POST profile request.voidhandleSaml2ProfileSsoRedirectHeadRequest(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request)Handle SSO HEAD profile redirect request (not allowed).voidhandleSaml2ProfileSsoRedirectRequest(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request)Handle SSO GET profile redirect request.voidhandleSsoPostProfileRequest(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request, org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder decoder)Handle profile 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
-
SSOSamlPostProfileHandlerController
public SSOSamlPostProfileHandlerController(SamlProfileHandlerConfigurationContext samlProfileHandlerConfigurationContext)
-
-
Method Detail
-
handleSaml2ProfileSsoRedirectRequest
@GetMapping(path="/idp/profile/SAML2/Redirect/SSO") public void handleSaml2ProfileSsoRedirectRequest(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request) throws java.lang.ExceptionHandle SSO GET profile redirect request.- Parameters:
response- the responserequest- the request- Throws:
java.lang.Exception- the exception
-
handleSaml2ProfileSsoRedirectHeadRequest
@RequestMapping(path="/idp/profile/SAML2/Redirect/SSO", method=HEAD) public void handleSaml2ProfileSsoRedirectHeadRequest(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request)Handle SSO HEAD profile redirect request (not allowed).- Parameters:
response- the responserequest- the request
-
handleSaml2ProfileSsoPostRequest
@PostMapping(path="/idp/profile/SAML2/POST/SSO") public void handleSaml2ProfileSsoPostRequest(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request) throws java.lang.ExceptionHandle SSO POST profile request.- Parameters:
response- the responserequest- the request- Throws:
java.lang.Exception- the exception
-
handleSsoPostProfileRequest
public void handleSsoPostProfileRequest(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request, org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder decoder) throws java.lang.ExceptionHandle profile request.- Parameters:
response- the responserequest- the requestdecoder- the decoder- Throws:
java.lang.Exception- the exception
-
-