org.jasig.cas.client.jaas
Class Servlet3AuthenticationFilter
java.lang.Object
org.jasig.cas.client.util.AbstractConfigurationFilter
org.jasig.cas.client.util.AbstractCasFilter
org.jasig.cas.client.jaas.Servlet3AuthenticationFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public final class Servlet3AuthenticationFilter
- extends AbstractCasFilter
Servlet filter performs a programmatic JAAS login using the Servlet 3.0 HttpServletRequest#login() facility.
This component should be compatible with any servlet container that supports the Servlet 3.0/JEE6 specification.
The filter executes when it receives a CAS ticket and expects the
CasLoginModule JAAS module to perform the CAS
ticket validation in order to produce an AssertionPrincipal from which
the CAS assertion is obtained and inserted into the session to enable SSO.
If a service init-param is specified for this filter, it supersedes
the service defined for the CasLoginModule.
- Since:
- 3.3
- Author:
- Daniel Fisher, Marvin S. Addison
|
Method Summary |
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain chain)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Servlet3AuthenticationFilter
public Servlet3AuthenticationFilter()
doFilter
public void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
Copyright © 2006-2015 Jasig. All Rights Reserved.