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.AbstractFilterFilter 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
Fields Modifier and Type Field Description static StringATTR_INITIAL_URI
-
Constructor Summary
Constructors Constructor Description SPNEGOFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voiddoFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
-
-
-
Field Detail
-
ATTR_INITIAL_URI
public static final String ATTR_INITIAL_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
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()
-
-