Class 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:
    1. 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).
    2. 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpnegoFilter

        public SpnegoFilter()
    • 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 interface javax.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 interface javax.servlet.Filter
        Throws:
        javax.servlet.ServletException
      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.servlet.Filter