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(SamlIdPObjectSigner 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,
org.apereo.cas.authentication.principal.Service callbackService) |
| 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, decodeSoapRequest, getAuthenticationContextMappings, getRegisteredServiceAndFacade, getSamlMetadataFacadeFor, getSamlMetadataFacadeFor, handleUnauthorizedServiceException, initiateAuthenticationRequest, issueAuthenticationRequestRedirect, logCasValidationAssertion, retrieveSamlAuthenticationRequestFromHttpRequest, verifyAuthenticationContextSignature, verifyAuthenticationContextSignature, verifySamlAuthenticationRequest, verifySamlRegisteredServicepublic SSOSamlProfileCallbackHandlerController(SamlIdPObjectSigner 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, org.apereo.cas.authentication.principal.Service callbackService)
@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