public class SSOSamlProfileCallbackHandlerController extends AbstractSamlProfileHandlerController
SSOSamlProfileCallbackHandlerController, which handles
the profile callback request to build the final saml response.authenticationSystemSupport, callbackService, casProperties, configBean, parserPool, responseBuilder, samlObjectSignatureValidator, samlObjectSigner, samlRegisteredServiceCachingMetadataResolver, servicesManager, webApplicationServiceFactory| Constructor and Description |
|---|
SSOSamlProfileCallbackHandlerController(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,
org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator ticketValidator)
Instantiates a new idp-sso post saml profile handler controller.
|
| Modifier and Type | Method and Description |
|---|---|
protected static org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.AuthnRequest,org.opensaml.messaging.context.MessageContext> |
buildAuthenticationContextPair(javax.servlet.http.HttpServletRequest request,
org.opensaml.saml.saml2.core.AuthnRequest authnRequest)
Build authentication context pair pair.
|
protected java.lang.String |
determineProfileBinding(org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.AuthnRequest,org.opensaml.messaging.context.MessageContext> authenticationContext,
org.jasig.cas.client.validation.Assertion assertion)
Determine profile binding.
|
protected void |
handleCallbackProfileRequest(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
Handle callback profile request.
|
buildCasAssertion, buildCasAssertion, buildRedirectUrlByRequestedAuthnContext, buildSamlResponse, constructServiceUrl, decodeSamlContextFromHttpRequest, decodeSoapRequest, getAuthenticationContextMappings, getRegisteredServiceAndFacade, getSamlMetadataFacadeFor, getSamlMetadataFacadeFor, handleUnauthorizedServiceException, initialize, initiateAuthenticationRequest, issueAuthenticationRequestRedirect, logCasValidationAssertion, registerCallback, retrieveSamlAuthenticationRequestFromHttpRequest, verifyAuthenticationContextSignature, verifyAuthenticationContextSignature, verifySamlAuthenticationRequest, verifySamlRegisteredServicepublic SSOSamlProfileCallbackHandlerController(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, org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator ticketValidator)
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 validatorticketValidator - the ticket validator@GetMapping(path="/idp/profile/SAML2/Callback")
protected void handleCallbackProfileRequest(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
response - the responserequest - the requestjava.lang.Exception - the exceptionprotected static org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.AuthnRequest,org.opensaml.messaging.context.MessageContext> buildAuthenticationContextPair(javax.servlet.http.HttpServletRequest request,
org.opensaml.saml.saml2.core.AuthnRequest authnRequest)
request - the requestauthnRequest - the authn requestprotected java.lang.String determineProfileBinding(org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.AuthnRequest,org.opensaml.messaging.context.MessageContext> authenticationContext,
org.jasig.cas.client.validation.Assertion assertion)
authenticationContext - the authentication contextassertion - the assertion