public abstract class DigestBuilder
extends java.lang.Object
The AbstractAuthenticator provides a single-signon cache. Users logged into one web-app will share the same principal.
Constructor and Description |
---|
DigestBuilder() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
buildAlgorithm(java.lang.String code,
char[] systemDigest) |
abstract char[] |
buildDigest(java.lang.String code,
java.security.Principal user,
char[] password,
char[] systemDigest) |
static java.lang.String |
getAlgorithm(char[] systemDigest) |
static char[] |
getDigest(java.security.Principal user,
java.lang.String algorithm,
char[] testPassword,
char[] systemDigest) |
public abstract char[] buildDigest(java.lang.String code, java.security.Principal user, char[] password, char[] systemDigest) throws java.lang.Exception
java.lang.Exception
public static char[] getDigest(java.security.Principal user, java.lang.String algorithm, char[] testPassword, char[] systemDigest)
public static java.lang.String getAlgorithm(char[] systemDigest)
protected java.lang.String buildAlgorithm(java.lang.String code, char[] systemDigest)