|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.security.realm.lib.HashPassword
public class HashPassword
This class implements a way for storing the hash of a password and the correspondig algorithm
Constructor Summary | |
---|---|
HashPassword(String password,
String algorithm)
Constructor |
Method Summary | |
---|---|
String |
getAlgorithm()
Return the algorithm used for this password |
String |
getPassword()
Return the hash of the password |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HashPassword(String password, String algorithm)
password
- the hash of the passwordalgorithm
- algorithm of the encoded passwordMethod Detail |
---|
public String getPassword()
public String getAlgorithm()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |