Class AuthMethodFilter

java.lang.Object
javax.servlet.GenericFilter
javax.servlet.http.HttpFilter
org.dogtagpki.server.v2.AuthMethodFilter
All Implemented Interfaces:
Serializable, javax.servlet.Filter, javax.servlet.FilterConfig

public abstract class AuthMethodFilter extends javax.servlet.http.HttpFilter
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    checkAuthenticationMethod(javax.servlet.http.HttpServletRequest request, String name)
     
    void
    doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
     
    void
    setAuthMethod(String authMethod)
     

    Methods inherited from class javax.servlet.http.HttpFilter

    doFilter

    Methods inherited from class javax.servlet.GenericFilter

    getFilterConfig, getFilterName, getInitParameter, getInitParameterNames, getServletContext, init, init

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface javax.servlet.Filter

    destroy
  • Field Details

    • logger

      public static final org.slf4j.Logger logger
  • Constructor Details

    • AuthMethodFilter

      public AuthMethodFilter()
  • Method Details

    • doFilter

      public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
      Specified by:
      doFilter in interface javax.servlet.Filter
      Overrides:
      doFilter in class javax.servlet.http.HttpFilter
      Throws:
      IOException
      javax.servlet.ServletException
    • checkAuthenticationMethod

      protected void checkAuthenticationMethod(javax.servlet.http.HttpServletRequest request, String name) throws ForbiddenException
      Throws:
      ForbiddenException
    • setAuthMethod

      public void setAuthMethod(String authMethod)