@Deprecated public final class NoOpEncryptionService extends Object implements EncryptionService
| Modifier and Type | Field and Description |
|---|---|
static NoOpEncryptionService |
INSTANCE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decrypt(Properties properties)
Deprecated.
Detect any encrypted property values and decrypt them
|
String |
decrypt(String string)
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 string)
Deprecated.
Encrypt the text and prefix it with
enc--. |
public static final NoOpEncryptionService INSTANCE
public String encrypt(String string)
EncryptionServiceenc--. If the text is already encrypted, do nothing.
foo -> x7UiXya -> enc--x7UiXya
encrypt in interface EncryptionServicepublic String decrypt(String string)
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)
EncryptionServicedecrypt in interface EncryptionServicepublic void encrypt(Properties properties)
EncryptionServiceencrypt in interface EncryptionServiceCopyright © 2010–2014 The Kuali Foundation. All rights reserved.