@Deprecated public final class DefaultEncryptionService extends Object implements EncryptionService
| Constructor and Description |
|---|
DefaultEncryptionService(org.jasypt.util.text.TextEncryptor encryptor)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decrypt(Properties properties)
Deprecated.
Decrypt any encrypted property values.
|
String |
decrypt(String text)
Deprecated.
Remove the
enc-- prefix and then decrypt it. |
void |
encrypt(Properties properties)
Deprecated.
Encrypt any property values that are not already encrypted.
|
String |
encrypt(String text)
Deprecated.
Encrypt the text and prefix it with
enc--. |
org.jasypt.util.text.TextEncryptor |
getEncryptor()
Deprecated.
|
public DefaultEncryptionService(org.jasypt.util.text.TextEncryptor encryptor)
public String encrypt(String text)
EncryptionServiceenc--. If the text is already encrypted, do nothing.
foo -> x7UiXya -> enc--x7UiXya
encrypt in interface EncryptionServicepublic String decrypt(String text)
EncryptionServiceenc-- prefix and then decrypt it. If the text is not encrypted, do nothing.
enc--x7UiXya -> x7UiXya -> foo
decrypt in interface EncryptionServicepublic void decrypt(Properties properties)
decrypt in interface EncryptionServicepublic void encrypt(Properties properties)
encrypt in interface EncryptionServicepublic org.jasypt.util.text.TextEncryptor getEncryptor()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.