public class ECPProfileHandlerController extends AbstractSamlProfileHandlerController
ECPProfileHandlerController.authenticationSystemSupport, callbackService, casProperties, configBean, parserPool, responseBuilder, samlObjectSignatureValidator, samlObjectSigner, samlRegisteredServiceCachingMetadataResolver, servicesManager, webApplicationServiceFactory| Constructor and Description |
|---|
ECPProfileHandlerController(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.ecp.Response> responseBuilder,
SamlProfileObjectBuilder<? extends org.opensaml.saml.common.SAMLObject> samlEcpFaultResponseBuilder,
org.apereo.cas.configuration.CasConfigurationProperties casProperties,
SamlObjectSignatureValidator samlObjectSignatureValidator)
Instantiates a new ecp saml profile handler controller.
|
| 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, decodeSamlContextFromHttpRequest, decodeSoapRequest, getAuthenticationContextMappings, getRegisteredServiceAndFacade, getSamlMetadataFacadeFor, getSamlMetadataFacadeFor, handleUnauthorizedServiceException, initialize, initiateAuthenticationRequest, issueAuthenticationRequestRedirect, logCasValidationAssertion, registerCallback, retrieveSamlAuthenticationRequestFromHttpRequest, verifyAuthenticationContextSignature, verifyAuthenticationContextSignature, verifySamlAuthenticationRequest, verifySamlRegisteredServicepublic ECPProfileHandlerController(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.ecp.Response> responseBuilder, SamlProfileObjectBuilder<? extends org.opensaml.saml.common.SAMLObject> samlEcpFaultResponseBuilder, 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 buildersamlEcpFaultResponseBuilder - the saml ecp fault response buildercasProperties - the cas propertiessamlObjectSignatureValidator - the saml object signature validator@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