Class ForwardAuthPlugin

  • All Implemented Interfaces:
    AutoCloseable, org.apache.solr.core.SolrInfoBean, org.apache.solr.metrics.SolrMetricProducer

    public class ForwardAuthPlugin
    extends org.apache.solr.security.AuthenticationPlugin
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoBean

        org.apache.solr.core.SolrInfoBean.Category, org.apache.solr.core.SolrInfoBean.Group
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String ARG_USER_HEADER  
      static String HTTP_HEADER_USER_DEFAULT  
      • Fields inherited from class org.apache.solr.security.AuthenticationPlugin

        AUTHENTICATION_PLUGIN_PROP, HTTP_HEADER_X_SOLR_AUTHDATA, numAuthenticated, numErrors, numMissingCredentials, numPassThrough, numWrongCredentials, requests, requestTimes, solrMetricsContext, totalTime
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean doAuthenticate​(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain)  
      void init​(Map<String,​Object> args)  
      • Methods inherited from class org.apache.solr.security.AuthenticationPlugin

        authenticate, closeRequest, getCategory, getDescription, getMetricNames, getName, getSolrMetricsContext, initializeMetrics, interceptInternodeRequest, interceptInternodeRequest
      • Methods inherited from interface org.apache.solr.core.SolrInfoBean

        getMetricRegistry, getMetricsSnapshot, registerMetricName
      • Methods inherited from interface org.apache.solr.metrics.SolrMetricProducer

        close, initializeMetrics
    • Constructor Detail

      • ForwardAuthPlugin

        public ForwardAuthPlugin()
    • Method Detail

      • init

        public void init​(Map<String,​Object> args)
        Specified by:
        init in class org.apache.solr.security.AuthenticationPlugin
      • doAuthenticate

        public boolean doAuthenticate​(javax.servlet.ServletRequest servletRequest,
                                      javax.servlet.ServletResponse servletResponse,
                                      javax.servlet.FilterChain filterChain)
                               throws Exception
        Specified by:
        doAuthenticate in class org.apache.solr.security.AuthenticationPlugin
        Throws:
        Exception