public class SSOSamlPostProfileHandlerController extends AbstractSamlProfileHandlerController
SSOSamlPostProfileHandlerController is responsible for
handling profile requests for SAML2 Web SSO.authenticationSystemSupport, callbackService, casProperties, configBean, parserPool, responseBuilder, samlObjectSignatureValidator, samlObjectSigner, samlRegisteredServiceCachingMetadataResolver, servicesManager, webApplicationServiceFactory| Constructor and Description |
|---|
SSOSamlPostProfileHandlerController(BaseSamlObjectSigner samlObjectSigner,
net.shibboleth.utilities.java.support.xml.ParserPool parserPool,
org.apereo.cas.authentication.AuthenticationSystemSupport authenticationSystemSupport,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceFactory,
org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceCachingMetadataResolver samlRegisteredServiceCachingMetadataResolver,
org.apereo.cas.support.saml.OpenSamlConfigBean configBean,
SamlProfileObjectBuilder<org.opensaml.saml.saml2.core.Response> responseBuilder,
org.apereo.cas.configuration.CasConfigurationProperties casProperties,
SamlObjectSignatureValidator samlObjectSignatureValidator)
Instantiates a new idp-sso saml profile handler controller.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleSaml2ProfileSsoPostRequest(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
Handle SSO POST profile request.
|
protected void |
handleSaml2ProfileSsoRedirectRequest(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
Handle SSO POST profile request.
|
protected void |
handleSsoPostProfileRequest(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request,
org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder decoder)
Handle profile request.
|
protected org.apache.commons.lang3.tuple.Pair<? extends org.opensaml.saml.common.SignableSAMLObject,org.opensaml.messaging.context.MessageContext> |
retrieveAuthnRequest(javax.servlet.http.HttpServletRequest request,
org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder decoder)
Retrieve authn request.
|
buildCasAssertion, buildCasAssertion, buildRedirectUrlByRequestedAuthnContext, buildSamlResponse, constructServiceUrl, decodeSamlContextFromHttpRequest, decodeSoapRequest, getAuthenticationContextMappings, getRegisteredServiceAndFacade, getSamlMetadataFacadeFor, getSamlMetadataFacadeFor, handleUnauthorizedServiceException, initialize, initiateAuthenticationRequest, issueAuthenticationRequestRedirect, logCasValidationAssertion, registerCallback, retrieveSamlAuthenticationRequestFromHttpRequest, verifyAuthenticationContextSignature, verifyAuthenticationContextSignature, verifySamlAuthenticationRequest, verifySamlRegisteredServicepublic SSOSamlPostProfileHandlerController(BaseSamlObjectSigner samlObjectSigner, net.shibboleth.utilities.java.support.xml.ParserPool parserPool, org.apereo.cas.authentication.AuthenticationSystemSupport authenticationSystemSupport, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceFactory, org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceCachingMetadataResolver samlRegisteredServiceCachingMetadataResolver, org.apereo.cas.support.saml.OpenSamlConfigBean configBean, SamlProfileObjectBuilder<org.opensaml.saml.saml2.core.Response> responseBuilder, org.apereo.cas.configuration.CasConfigurationProperties casProperties, SamlObjectSignatureValidator samlObjectSignatureValidator)
samlObjectSigner - the saml object signerparserPool - the parser poolauthenticationSystemSupport - the authentication system supportservicesManager - the services managerwebApplicationServiceFactory - the web application service factorysamlRegisteredServiceCachingMetadataResolver - the saml registered service caching metadata resolverconfigBean - the config beanresponseBuilder - the response buildercasProperties - the cas propertiessamlObjectSignatureValidator - the saml object signature validator@GetMapping(path="/idp/profile/SAML2/Redirect/SSO")
protected void handleSaml2ProfileSsoRedirectRequest(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
response - the responserequest - the requestjava.lang.Exception - the exception@PostMapping(path="/idp/profile/SAML2/POST/SSO")
protected void handleSaml2ProfileSsoPostRequest(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
response - the responserequest - the requestjava.lang.Exception - the exceptionprotected void handleSsoPostProfileRequest(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request,
org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder decoder)
throws java.lang.Exception
response - the responserequest - the requestdecoder - the decoderjava.lang.Exception - the exceptionprotected org.apache.commons.lang3.tuple.Pair<? extends org.opensaml.saml.common.SignableSAMLObject,org.opensaml.messaging.context.MessageContext> retrieveAuthnRequest(javax.servlet.http.HttpServletRequest request,
org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder decoder)
request - the requestdecoder - the decoder