public class PassthroughEncryptionModule extends Object implements EncryptionModule
| Modifier and Type | Field and Description | 
|---|---|
| protected org.springframework.core.env.Environment | env | 
| Constructor and Description | 
|---|
| PassthroughEncryptionModule() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | decrypt(String cipherText)Decrypt a encrypted string | 
| String | encrypt(String plainText)Encrypt a text string | 
| void | init() | 
| Boolean | matches(String raw,
       String encrypted)Check to see if a text string matches a generated encrypted token. | 
@PostConstruct public void init()
public String decrypt(String cipherText)
EncryptionModuledecrypt in interface EncryptionModulepublic String encrypt(String plainText)
EncryptionModuleencrypt in interface EncryptionModulepublic Boolean matches(String raw, String encrypted)
EncryptionModulematches in interface EncryptionModuleCopyright © 2020. All rights reserved.