Package com.microstrategy.web.filter
Class SpnegoFilter
- java.lang.Object
-
- com.microstrategy.web.filter.SpnegoFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
- Direct Known Subclasses:
SpnegoWSFilter
public class SpnegoFilter extends java.lang.Object implements javax.servlet.Filter
Two approaches to handling SPNEGO:- Application (MicroStrategy) layer SPNEGO. Negotiation is handled by the Application layer (i.e. MicroStrategy Web).
This is handled by this class
com.microstrategy.web.filter.SpnegoFilter
, and is Application Server agnostic. Note that this option is expected to function alongside Application Server layer SPNEGO. Recommended (except for IIS). - Application Server layer SPNEGO. Negotiation is handled by the Application Server (e.g. JBoss, IIS), then
our application subsequently makes an Application Server specific API call to retrieve the Kerberos credentials. Requires
application server specific configuration. For IIS, SpnegoFilter is not required. For JBoss,
SpnegoJbossFilter
is used.
-
-
Constructor Summary
Constructors Constructor Description SpnegoFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
void
init(javax.servlet.FilterConfig fConfig)
-
-
-
Method Detail
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws java.io.IOException, javax.servlet.ServletException
- Specified by:
doFilter
in interfacejavax.servlet.Filter
- Throws:
java.io.IOException
javax.servlet.ServletException
-
init
public void init(javax.servlet.FilterConfig fConfig) throws javax.servlet.ServletException
- Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejavax.servlet.Filter
-
-