public class LegacyValidateController extends AbstractServiceValidateController
| Constructor and Description |
|---|
LegacyValidateController(org.apereo.cas.validation.CasProtocolValidationSpecification validationSpecification,
org.apereo.cas.authentication.AuthenticationSystemSupport authenticationSystemSupport,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.CentralAuthenticationService centralAuthenticationService,
org.apereo.cas.ticket.proxy.ProxyHandler proxyHandler,
org.apereo.cas.web.support.ArgumentExtractor argumentExtractor,
org.apereo.cas.authentication.MultifactorTriggerSelectionStrategy multifactorTriggerSelectionStrategy,
org.apereo.cas.authentication.AuthenticationContextValidator authenticationContextValidator,
org.springframework.web.servlet.View jsonView,
org.springframework.web.servlet.View successView,
org.springframework.web.servlet.View failureView,
java.lang.String authnContextAttribute,
org.apereo.cas.validation.ServiceTicketValidationAuthorizersExecutionPlan validationAuthorizers,
boolean renewEnabled) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.web.servlet.ModelAndView |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle model and view.
|
protected void |
prepareForTicketValidation(javax.servlet.http.HttpServletRequest request,
org.apereo.cas.authentication.principal.WebApplicationService service,
java.lang.String serviceTicketId)
Prepare for ticket validation.
|
addValidationSpecification, augmentSuccessViewModelObjects, canHandle, enforceTicketValidationAuthorizationFor, getFailureView, getServiceCredentialsFromRequest, getSuccessView, handleRequestInternal, handleTicketValidation, initBinder, onSuccessfulValidation, validateAuthenticationContext, validateServiceTicketpublic LegacyValidateController(org.apereo.cas.validation.CasProtocolValidationSpecification validationSpecification,
org.apereo.cas.authentication.AuthenticationSystemSupport authenticationSystemSupport,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.CentralAuthenticationService centralAuthenticationService,
org.apereo.cas.ticket.proxy.ProxyHandler proxyHandler,
org.apereo.cas.web.support.ArgumentExtractor argumentExtractor,
org.apereo.cas.authentication.MultifactorTriggerSelectionStrategy multifactorTriggerSelectionStrategy,
org.apereo.cas.authentication.AuthenticationContextValidator authenticationContextValidator,
org.springframework.web.servlet.View jsonView,
org.springframework.web.servlet.View successView,
org.springframework.web.servlet.View failureView,
java.lang.String authnContextAttribute,
org.apereo.cas.validation.ServiceTicketValidationAuthorizersExecutionPlan validationAuthorizers,
boolean renewEnabled)
@GetMapping(path="/validate")
protected org.springframework.web.servlet.ModelAndView handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
request - the requestresponse - the responsejava.lang.Exception - the exceptionprotected void prepareForTicketValidation(javax.servlet.http.HttpServletRequest request,
org.apereo.cas.authentication.principal.WebApplicationService service,
java.lang.String serviceTicketId)
AbstractServiceValidateControllerprepareForTicketValidation in class AbstractServiceValidateControllerrequest - the requestservice - the serviceserviceTicketId - the service ticket id