public class ProxyController
extends org.apereo.cas.web.AbstractDelegateController
The ProxyController requires the following property to be set:
| Constructor and Description |
|---|
ProxyController(org.apereo.cas.CentralAuthenticationService centralAuthenticationService,
org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceFactory)
Instantiates a new proxy controller, with cache seconds set to 0.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected org.springframework.web.servlet.ModelAndView |
handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle request internal.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
public ProxyController(org.apereo.cas.CentralAuthenticationService centralAuthenticationService,
org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceFactory)
centralAuthenticationService - the central authentication servicewebApplicationServiceFactory - the web application service factorypublic boolean canHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
canHandle in class org.apereo.cas.web.AbstractDelegateController@GetMapping(path="/proxy")
protected org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
handleRequestInternal in class org.apereo.cas.web.AbstractDelegateControllerrequest - the requestresponse - the responsecasProxyFailureView or casProxySuccessViewpublic void setApplicationContext(org.springframework.context.ApplicationContext context)
setApplicationContext in interface org.springframework.context.ApplicationContextAwaresetApplicationContext in class org.apereo.cas.web.AbstractDelegateController