Interface HttpAuthentication

All Known Implementing Classes:
BasicAuthentication

public interface HttpAuthentication
  • Method Summary

    Modifier and Type
    Method
    Description
    basic(String username, String password)
     
    org.springframework.http.client.ClientHttpRequestFactory
    getRequestFactory(String requestUrl, HttpClient httpClient)
    Creates client request factory that uses the given authentication method.
    org.eclipse.jetty.security.SecurityHandler
    getSecurityHandler(String resourcePath)
    Security handler able to set up server user authentication on given resource path.
  • Method Details

    • getSecurityHandler

      org.eclipse.jetty.security.SecurityHandler getSecurityHandler(String resourcePath)
      Security handler able to set up server user authentication on given resource path.
      Parameters:
      resourcePath -
      Returns:
    • getRequestFactory

      org.springframework.http.client.ClientHttpRequestFactory getRequestFactory(String requestUrl, HttpClient httpClient)
      Creates client request factory that uses the given authentication method.
      Parameters:
      requestUrl -
      httpClient -
      Returns:
    • basic

      static BasicAuthentication basic(String username, String password)