|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gisgraphy.util.StringUtil
public final class StringUtil
String Utility Class This is used to encode passwords programmatically
Method Summary | |
---|---|
static String |
encodePassword(String password,
String algorithm)
Encode a string using algorithm specified in web.xml and return the resulting encrypted password. |
static String |
encodeString(String str)
Encode a string using Base64 encoding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String encodePassword(String password, String algorithm)
password
- Password or other credentials to use in authenticating
this usernamealgorithm
- Algorithm used to do the digest
public static String encodeString(String str)
str
- the string to encode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |