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