org.jasig.cas.client.validation
Class Saml11TicketValidationFilter
java.lang.Object
org.jasig.cas.client.util.AbstractConfigurationFilter
org.jasig.cas.client.util.AbstractCasFilter
org.jasig.cas.client.validation.AbstractTicketValidationFilter
org.jasig.cas.client.validation.Saml11TicketValidationFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public final class Saml11TicketValidationFilter
- extends AbstractTicketValidationFilter
Implementation of TicketValidationFilter that can instanciate a SAML 1.1 Ticket Validator.
Deployers can provide the "casServerUrlPrefix" and "tolerance" properties of the Saml11TicketValidator via the
context or filter init parameters.
Note, the "final" on this class helps ensure the compliance required in the initInternal method.
- Since:
- 3.1
- Version:
- $Revision$ $Date$
- Author:
- Scott Battaglia
|
Method Summary |
protected TicketValidator |
getTicketValidator(javax.servlet.FilterConfig filterConfig)
Template method to return the appropriate validator. |
protected void |
initInternal(javax.servlet.FilterConfig filterConfig)
Controls the ordering of filter initialization and checking by defining a method that runs before the init. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Saml11TicketValidationFilter
public Saml11TicketValidationFilter()
initInternal
protected void initInternal(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- Description copied from class:
AbstractCasFilter
- Controls the ordering of filter initialization and checking by defining a method that runs before the init.
- Overrides:
initInternal in class AbstractTicketValidationFilter
- Parameters:
filterConfig - the original filter configuration.
- Throws:
javax.servlet.ServletException - if there is a problem.
getTicketValidator
protected final TicketValidator getTicketValidator(javax.servlet.FilterConfig filterConfig)
- Description copied from class:
AbstractTicketValidationFilter
- Template method to return the appropriate validator.
- Overrides:
getTicketValidator in class AbstractTicketValidationFilter
- Parameters:
filterConfig - the FilterConfiguration that may be needed to construct a validator.
- Returns:
- the ticket validator.
Copyright © 2006-2011 Jasig. All Rights Reserved.