public static class Credential.MD5 extends Credential
Credential.Crypt, Credential.MD5
Modifier and Type | Field and Description |
---|---|
static Object |
__md5Lock |
static String |
__TYPE |
Modifier and Type | Method and Description |
---|---|
boolean |
check(Object credentials)
Check a credential
|
static String |
digest(String password) |
byte[] |
getDigest() |
byteEquals, getCredential, stringEquals
public static final String __TYPE
public static final Object __md5Lock
public byte[] getDigest()
public boolean check(Object credentials)
Credential
check
in class Credential
credentials
- The credential to check against. This may either be
another Credential object, a Password object or a String which is
interpreted by this credential.Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.