public class ECPProfileHandlerController extends AbstractSamlProfileHandlerController
ECPProfileHandlerController.authenticationSystemSupport, callbackService, casProperties, configBean, parserPool, responseBuilder, samlObjectSignatureValidator, samlObjectSigner, samlRegisteredServiceCachingMetadataResolver, servicesManager, webApplicationServiceFactory| Constructor and Description |
|---|
ECPProfileHandlerController(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.ecp.Response> responseBuilder,
SamlProfileObjectBuilder<? extends org.opensaml.saml.common.SAMLObject> samlEcpFaultResponseBuilder,
org.apereo.cas.configuration.CasConfigurationProperties casProperties,
SamlObjectSignatureValidator samlObjectSignatureValidator,
org.apereo.cas.authentication.principal.Service callbackService) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apereo.cas.authentication.Authentication |
authenticateEcpRequest(org.apereo.cas.authentication.Credential credential,
org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.AuthnRequest,org.opensaml.messaging.context.MessageContext> authnRequest)
Authenticate ecp request.
|
protected void |
buildEcpFaultResponse(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request,
org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.RequestAbstractType,java.lang.String> authenticationContext)
Build ecp fault response.
|
void |
handleEcpRequest(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
Handle ecp request.
|
protected void |
handleEcpRequest(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request,
org.opensaml.messaging.context.MessageContext soapContext,
org.apereo.cas.authentication.Credential credential,
java.lang.String binding)
Handle ecp request.
|
buildCasAssertion, buildCasAssertion, buildRedirectUrlByRequestedAuthnContext, buildSamlResponse, constructServiceUrl, decodeSoapRequest, getAuthenticationContextMappings, getRegisteredServiceAndFacade, getSamlMetadataFacadeFor, getSamlMetadataFacadeFor, handleUnauthorizedServiceException, initiateAuthenticationRequest, issueAuthenticationRequestRedirect, logCasValidationAssertion, retrieveSamlAuthenticationRequestFromHttpRequest, verifyAuthenticationContextSignature, verifyAuthenticationContextSignature, verifySamlAuthenticationRequest, verifySamlRegisteredServicepublic ECPProfileHandlerController(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.ecp.Response> responseBuilder, SamlProfileObjectBuilder<? extends org.opensaml.saml.common.SAMLObject> samlEcpFaultResponseBuilder, org.apereo.cas.configuration.CasConfigurationProperties casProperties, SamlObjectSignatureValidator samlObjectSignatureValidator, org.apereo.cas.authentication.principal.Service callbackService)
@PostMapping(path="/idp/profile/SAML2/SOAP/ECP",
consumes={"text/xml","application/vnd.paos+xml"},
produces={"text/xml","application/vnd.paos+xml"})
public void handleEcpRequest(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
response - the responserequest - the requestprotected void handleEcpRequest(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request,
org.opensaml.messaging.context.MessageContext soapContext,
org.apereo.cas.authentication.Credential credential,
java.lang.String binding)
response - the responserequest - the requestsoapContext - the soap contextcredential - the credentialbinding - the bindingprotected void buildEcpFaultResponse(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request,
org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.RequestAbstractType,java.lang.String> authenticationContext)
response - the responserequest - the requestauthenticationContext - the authentication contextprotected org.apereo.cas.authentication.Authentication authenticateEcpRequest(org.apereo.cas.authentication.Credential credential,
org.apache.commons.lang3.tuple.Pair<org.opensaml.saml.saml2.core.AuthnRequest,org.opensaml.messaging.context.MessageContext> authnRequest)
credential - the credentialauthnRequest - the authn request