Class Credential.MD
java.lang.Object
org.eclipse.jetty.util.security.Credential
org.eclipse.jetty.util.security.Credential.MD
- All Implemented Interfaces:
Serializable
- Enclosing class:
Credential
Generic message digest credential.
The string format is MD:<algorithm>:<hex>, for example:
MD:SHA-1:5bAa61E4C9B93f3f0682250b6cF8331b7eE68fD8.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Credential
Credential.Crypt, Credential.MD, Credential.MD5 -
Method Summary
Methods inherited from class Credential
byteEquals, getCredential, stringEquals
-
Method Details
-
check
Description copied from class:CredentialChecks the given credential against this credential instance.
- Specified by:
checkin classCredential- Parameters:
credentials- the credential to check against this instance. This may either be another Credential object; or a Password object; or a String, char[] or byte[] that are interpreted by this credential.- Returns:
- whether the given credentials match this credential instance
-
hashCode
-
equals
-