Interface Authentication.Result

All Known Implementing Classes:
BasicAuthentication.BasicResult, SPNEGOAuthentication.SPNEGOResult
Enclosing interface:
Authentication

public static interface Authentication.Result
Authentication.Result holds the information needed to authenticate a Request via apply(org.eclipse.jetty.client.api.Request).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(Request request)
    Applies the authentication result to the given request.
     
  • Method Details

    • getURI

      URI getURI()
      Returns:
      the URI of the request that has been used to generate this Authentication.Result
    • apply

      void apply(Request request)
      Applies the authentication result to the given request. Typically, a Authorization header is added to the request, with the right information to successfully authenticate at the server.
      Parameters:
      request - the request to authenticate