public class Cas20ProxyReceivingTicketValidationFilter extends AbstractTicketValidationFilter
RESERVED_INIT_PARAMS.| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends Cas20ProxyTicketValidator> |
defaultProxyTicketValidatorClass |
protected Class<? extends Cas20ServiceTicketValidator> |
defaultServiceTicketValidatorClass |
CONST_CAS_ASSERTIONlogger| Modifier | Constructor and Description |
|---|---|
|
Cas20ProxyReceivingTicketValidationFilter() |
protected |
Cas20ProxyReceivingTicketValidationFilter(Protocol protocol) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected TicketValidator |
getTicketValidator(javax.servlet.FilterConfig filterConfig)
Constructs a Cas20ServiceTicketValidator or a Cas20ProxyTicketValidator based on supplied parameters.
|
void |
init()
Initialization method.
|
protected void |
initInternal(javax.servlet.FilterConfig filterConfig)
Controls the ordering of filter initialization and checking by defining a method that runs before the init.
|
protected boolean |
preFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
This processes the ProxyReceptor request before the ticket validation code executes.
|
void |
setMillisBetweenCleanUps(int millisBetweenCleanUps) |
void |
setProxyGrantingTicketStorage(ProxyGrantingTicketStorage storage) |
void |
setProxyReceptorUrl(String proxyReceptorUrl) |
void |
setTimer(Timer timer) |
void |
setTimerTask(TimerTask timerTask) |
doFilter, getHostnameVerifier, getSSLConfig, onFailedValidation, onSuccessfulValidation, setExceptionOnValidationFailure, setRedirectAfterValidation, setTicketValidator, setUseSessionconstructServiceUrl, getProtocol, init, retrieveTicketFromRequest, setEncodeServiceUrl, setServerName, setServicegetBoolean, getClass, getInt, getLong, getString, isIgnoreInitConfiguration, setIgnoreInitConfigurationprotected Class<? extends Cas20ServiceTicketValidator> defaultServiceTicketValidatorClass
protected Class<? extends Cas20ProxyTicketValidator> defaultProxyTicketValidatorClass
public Cas20ProxyReceivingTicketValidationFilter()
protected Cas20ProxyReceivingTicketValidationFilter(Protocol protocol)
protected void initInternal(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
AbstractCasFilterinitInternal in class AbstractTicketValidationFilterfilterConfig - the original filter configuration.javax.servlet.ServletException - if there is a problem.public void init()
AbstractCasFilterinit in class AbstractTicketValidationFilterprotected final TicketValidator getTicketValidator(javax.servlet.FilterConfig filterConfig)
getTicketValidator in class AbstractTicketValidationFilterfilterConfig - the Filter Configuration object.public void destroy()
destroy in interface javax.servlet.Filterdestroy in class AbstractCasFilterprotected final boolean preFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
throws IOException,
javax.servlet.ServletException
preFilter in class AbstractTicketValidationFilterservletRequest - The servlet request.servletResponse - The servlet response.filterChain - the filter chain.IOException - if there is an I/O problemjavax.servlet.ServletException - if there is a servlet problem.public final void setProxyReceptorUrl(String proxyReceptorUrl)
public void setProxyGrantingTicketStorage(ProxyGrantingTicketStorage storage)
public void setTimer(Timer timer)
public void setTimerTask(TimerTask timerTask)
public void setMillisBetweenCleanUps(int millisBetweenCleanUps)
Copyright © 2006–2021 Jasig. All rights reserved.