public static class Credential.MD5 extends Credential
Credential.Crypt, Credential.MD5
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
__md5Lock |
static java.lang.String |
__TYPE |
Modifier and Type | Method and Description |
---|---|
boolean |
check(java.lang.Object credentials)
Check a credential
|
static java.lang.String |
digest(java.lang.String password) |
byte[] |
getDigest() |
getCredential
public static final java.lang.String __TYPE
public static final java.lang.Object __md5Lock
public byte[] getDigest()
public boolean check(java.lang.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.public static java.lang.String digest(java.lang.String password)
Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.