Class DigestPasswordSpec
java.lang.Object
org.wildfly.security.password.spec.DigestPasswordSpec
- All Implemented Interfaces:
KeySpec, PasswordSpec
A
PasswordSpec for a password represented by a Digest Response as seen in Digest-MD5 SASL/HTTP mechanism.- Author:
- Peter Skopek, Darran Lofthouse
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DigestPasswordSpec
-
-
Method Details
-
getUsername
- Returns:
- the username
-
getRealm
- Returns:
- the realm (name of a collection of accounts)
-
getDigest
public byte[] getDigest()- Returns:
- the digest: H( username ":" realm ":" password )
-
equals
-
hashCode
-