Package org.gatein.sso.agent.filter
Class SPNEGOFilter
java.lang.Object
org.exoplatform.container.web.AbstractFilter
org.gatein.sso.agent.filter.SPNEGOFilter
- All Implemented Interfaces:
javax.servlet.Filter
public class SPNEGOFilter
extends org.exoplatform.container.web.AbstractFilter
Filter is needed because when fallback to FORM authentication, we don't need to redirect request to /dologin, which is secured URI,
but we need to go directly to /initiatelogin without going again through Tomcat authenticator.
TODO: Suggest removing this filter as with new GateIn (Servlet 3.0 authentication) it may not be needed anymore
- Author:
- Marek Posolda
-
Field Summary
FieldsFields inherited from class org.exoplatform.container.web.AbstractFilter
config, servletContextName -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.exoplatform.container.web.AbstractFilter
afterInit, getContainer, getServletContext, init, requirePortalEnvironment
-
Field Details
-
ATTR_INITIAL_URI
- See Also:
-
-
Constructor Details
-
SPNEGOFilter
public SPNEGOFilter()
-
-
Method Details
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException - Throws:
IOExceptionjavax.servlet.ServletException
-
destroy
public void destroy()
-