|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.security.NullPasswordHasher
public class NullPasswordHasher
A password hasher that doesn't do anything.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
NullPasswordHasher()
|
Method Summary | |
---|---|
boolean |
checkPassword(java.lang.String pLoginPassword,
java.lang.String pEncryptedPassword,
java.lang.Object pHashKey)
Returns true if the login password matches the encrypted password. |
java.lang.String |
encryptPassword(java.lang.String pPassword)
Encrypts a password suitably for long-term storage. |
PasswordHasher |
getLoginPasswordHasher()
Returns a password hasher instance useful for performing a login. |
java.lang.Object |
getPasswordHashKey()
Returns the hash key (if any) that was used for hashing the password for login. |
java.lang.String |
hashPasswordForLogin(java.lang.String pPassword)
Performs the appropriate hashing function for a login process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public NullPasswordHasher()
Method Detail |
---|
public java.lang.String encryptPassword(java.lang.String pPassword)
encryptPassword
in interface PasswordHasher
public boolean checkPassword(java.lang.String pLoginPassword, java.lang.String pEncryptedPassword, java.lang.Object pHashKey)
checkPassword
in interface PasswordHasher
public java.lang.String hashPasswordForLogin(java.lang.String pPassword)
hashPasswordForLogin
in interface PasswordHasher
public java.lang.Object getPasswordHashKey()
getPasswordHashKey
in interface PasswordHasher
public PasswordHasher getLoginPasswordHasher()
getLoginPasswordHasher
in interface PasswordHasher
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |