|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.appfuse.util.StringUtil
public class StringUtil
String Utility Class This is used to encode passwords programmatically
| Constructor Summary | |
|---|---|
StringUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
decodeString(java.lang.String str)
Decode a string using Base64 encoding. |
static java.lang.String |
encodePassword(java.lang.String password,
java.lang.String algorithm)
Encode a string using algorithm specified in web.xml and return the resulting encrypted password. |
static java.lang.String |
encodeString(java.lang.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 |
| Constructor Detail |
|---|
public StringUtil()
| Method Detail |
|---|
public static java.lang.String encodePassword(java.lang.String password,
java.lang.String algorithm)
password - Password or other credentials to use in authenticating
this usernamealgorithm - Algorithm used to do the digest
public static java.lang.String encodeString(java.lang.String str)
str -
public static java.lang.String decodeString(java.lang.String str)
str -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||