Package com.helger.http.digestauth
Class DigestAuthClientCredentials
java.lang.Object
com.helger.http.digestauth.DigestAuthClientCredentials
Credentials for HTTP digest authentication
- Author:
- Philip Helger
-
Field Details
-
EXPECTED_RESPONSE_LENGTH
public static final int EXPECTED_RESPONSE_LENGTH- See Also:
-
EXPECTED_NONCE_COUNT_LENGTH
public static final int EXPECTED_NONCE_COUNT_LENGTH- See Also:
-
-
Constructor Details
-
DigestAuthClientCredentials
public DigestAuthClientCredentials(@Nonnull @Nonempty String sUserName, @Nonnull @Nonempty String sRealm, @Nonnull @Nonempty String sServerNonce, @Nonnull @Nonempty String sDigestURI, @Nonnull @Nonempty String sResponse, @Nullable String sAlgorithm, @Nullable String sClientNonce, @Nullable String sOpaque, @Nullable String sMessageQOP, @Nullable String sNonceCount)
-
-
Method Details
-
getUserName
- Returns:
- The user name. Neither
nullnor empty.
-
getRealm
- Returns:
- The realm. Neither
nullnor empty.
-
getServerNonce
- Returns:
- The nonce. Neither
nullnor empty.
-
getDigestURI
- Returns:
- The digest URI. Neither
nullnor empty.
-
getResponse
-
getAlgorithm
-
getClientNonce
-
getOpaque
-
getMessageQOP
-
getNonceCount
@CheckForSigned public int getNonceCount() -
getRequestValue
-
equals
-
hashCode
public int hashCode() -
toString
-