Class DigestAuthentication.DigestResult

java.lang.Object
org.eclipse.jetty.client.util.DigestAuthentication.DigestResult
All Implemented Interfaces:
Authentication.Result
Enclosing class:
DigestAuthentication

private class DigestAuthentication.DigestResult extends Object implements Authentication.Result
  • Field Details

    • nonceCount

      private final AtomicInteger nonceCount
    • content

      private final byte[] content
    • realm

      private final String realm
    • user

      private final String user
    • password

      private final String password
    • algorithm

      private final String algorithm
    • nonce

      private final String nonce
    • qop

      private final String qop
    • opaque

      private final String opaque
  • Constructor Details

  • Method Details

    • getURI

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

      public void apply(Request request)
      Description copied from interface: Authentication.Result
      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.
      Specified by:
      apply in interface Authentication.Result
      Parameters:
      request - the request to authenticate
    • nextNonceCount

      private String nextNonceCount()
    • newClientNonce

      private String newClientNonce()
    • toHexString

      private String toHexString(byte[] bytes)