blackboard.platform.security.authentication
Class RDBMSAuthUtil
java.lang.Object
|
+--blackboard.platform.security.authentication.RDBMSAuthUtil
- public class RDBMSAuthUtil
- extends java.lang.Object
Utility class used by classes in the authentication package. The method of use
by Building Block Developers is getHashValue(String), which returns the
MD5 hash of a given string, suitable for inserting into the password field in the
User record.
|
Method Summary |
static java.lang.String |
getHashValue(java.lang.String input)
Utility method that generates a hex-formatted string representation
of the message digest obtained from the specified string. |
static void |
init(ConfigurationService cfg)
Standard initialization method. |
static boolean |
sessionCookiePersisted(java.lang.String md5SessionId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HASH_ALGORITHM
public static final java.lang.String HASH_ALGORITHM
- See Also:
- Constant Field Values
RDBMSAuthUtil
public RDBMSAuthUtil()
init
public static void init(ConfigurationService cfg)
- Standard initialization method.
getHashValue
public static java.lang.String getHashValue(java.lang.String input)
- Utility method that generates a hex-formatted string representation
of the message digest obtained from the specified string. Used in
generating persistent password references and challenges in the
challenge response protocol.
- Parameters:
input - String to hash, format and return
- Returns:
- Hexadecimal representation of the hashed message. All characters
are lowercase.
sessionCookiePersisted
public static boolean sessionCookiePersisted(java.lang.String md5SessionId)
throws BbSecurityException
BbSecurityException
Copyright © 2003 Blackboard, Inc. All Rights Reserved.