|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.authentication.CustomCredentialEncryption
public class CustomCredentialEncryption
Custom encryption algorithm of the user credentials before storing them in cookies.
| Constructor Summary | |
|---|---|
CustomCredentialEncryption()
|
|
| Method Summary | |
|---|---|
String |
decode(String encodedText)
Simple decode for cookie value |
String |
decode(String str,
String key,
boolean extraCrypt)
XOR Decrypt for credential parameters (login and password) |
String |
encode(String stringToEncode)
Simple encode for cookie value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomCredentialEncryption()
| Method Detail |
|---|
public String encode(String stringToEncode)
encode in interface CredentialEncryptionpublic String decode(String encodedText)
decode in interface CredentialEncryptionencodedText - : the text to decode.
public String decode(String str,
String key,
boolean extraCrypt)
decode in interface CredentialEncryptionstr - : String to decodekey - : key for decodingextraCrypt - : add simple encode (see decode(String))
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||