Interface HttpAuthenticationConfigurer


@Experimental @NoImplement @MinMuleVersion("4.10.0") public interface HttpAuthenticationConfigurer
Allows configuring the authentication parameters.
Since:
0.12.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    basic(String username, String password, boolean preemptive)
    Configures basic authentication.
    void
    digest(String username, String password, boolean preemptive)
    Configures digest authentication.
    void
    ntlm(String username, String password, boolean preemptive, String domain, String workstation)
    Configures NTLM authentication.
  • Method Details

    • basic

      void basic(String username, String password, boolean preemptive)
      Configures basic authentication.
      Parameters:
      username - User name.
      password - Password.
      preemptive - whether it should send the authentication header in the first request, without waiting for a 401.
    • digest

      void digest(String username, String password, boolean preemptive)
      Configures digest authentication.
      Parameters:
      username - User name.
      password - Password.
      preemptive - whether it should send the authentication header in the first request, without waiting for a 401.
    • ntlm

      void ntlm(String username, String password, boolean preemptive, String domain, String workstation)
      Configures NTLM authentication.
      Parameters:
      username - User name.
      password - Password.
      preemptive - whether it should send the authentication header in the first request, without waiting for a 401.
      domain - NTLM Domain.
      workstation - NTLM workstation.