@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)
EncryptionService
enc--
. If the text is already encrypted, do nothing.
foo -> x7UiXya -> enc--x7UiXya
encrypt
in interface EncryptionService
public String decrypt(String string)
EncryptionService
enc--
prefix and then decrypt it. If the text is not encrypted, do nothing.
enc--x7UiXya -> x7UiXya -> foo
decrypt
in interface EncryptionService
public void decrypt(Properties properties)
EncryptionService
decrypt
in interface EncryptionService
public void encrypt(Properties properties)
EncryptionService
encrypt
in interface EncryptionService
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.