public interface EncryptionService
Modifier and Type | Method and Description |
---|---|
void |
decrypt(Properties properties)
Detect any encrypted property values and decrypt them
|
String |
decrypt(String encryptedText)
Remove the
enc-- prefix and then decrypt it. |
void |
encrypt(Properties properties)
Encrypt any property values that are not already encrypted.
|
String |
encrypt(String plainText)
Encrypt the text and prefix it with
enc-- . |
String encrypt(String plainText)
enc--
. If the text is already encrypted, do nothing.
foo -> x7UiXya -> enc--x7UiXya
String decrypt(String encryptedText)
enc--
prefix and then decrypt it. If the text is not encrypted, do nothing.
enc--x7UiXya -> x7UiXya -> foo
void decrypt(Properties properties)
void encrypt(Properties properties)
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.