Interface ApacheRequestAuthenticator

  • All Superinterfaces:
    java.lang.AutoCloseable, HttpAuthenticator
    All Known Implementing Classes:
    ConfiguredAuthorizationHeader, DynamicBasicAuthorizationHeader

    public interface ApacheRequestAuthenticator
    extends HttpAuthenticator
    ApacheRequestAuthenticator is an interface designed to facilitate HTTP Authentication in various ways.

    Some implementations of this interface will need to temporarily mutate global state and therefore must be closed in a finally statement or try-with-resources block.

    • Method Detail

      • configure

        void configure​(org.apache.hc.client5.http.classic.methods.HttpUriRequestBase req)
                throws java.lang.Exception
        Perform whatever actions are required to the HttpRequestBase.
        Throws:
        java.lang.Exception