|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.util.crypt.NoCrypt
public class NoCrypt
Due to legal reasons in some countries the JRE is shipped without a security provider. As a convenience solution, we provide a default implementation which does not encrypt/decrypt the data. It does not modify the data at all. Thus we strongly recommend not to use it for production sites.
Constructor Summary | |
---|---|
NoCrypt()
Constructor |
Method Summary | |
---|---|
java.lang.String |
decryptUrlSafe(java.lang.String text)
Decrypts a string into a string. |
java.lang.String |
encryptUrlSafe(java.lang.String plainText)
Encrypt a string into a string |
void |
setKey(java.lang.String key)
Set encryption private key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoCrypt()
Method Detail |
---|
public final java.lang.String decryptUrlSafe(java.lang.String text)
decryptUrlSafe
in interface ICrypt
text
- text to decrypt
public final java.lang.String encryptUrlSafe(java.lang.String plainText)
encryptUrlSafe
in interface ICrypt
plainText
- text to encrypt
public void setKey(java.lang.String key)
setKey
in interface ICrypt
key
- private key to make de-/encryption unique
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |