org.springframework.beans.factory.FactoryBean<String>
public class TextDecrypterBean extends Object implements org.springframework.beans.factory.FactoryBean<String>
ATTENTION: This bean just provides support for not storing any passwords in clear text!
Constructor | Description |
---|---|
TextDecrypterBean() |
Modifier and Type | Method | Description |
---|---|---|
String |
getObject() |
|
Class<?> |
getObjectType() |
|
boolean |
isSingleton() |
|
void |
setEncryptedText(String aEncryptedText) |
Sets the encrypted string to be decrypted and passed the the consuming
bean.
|
static String |
toEncryptedText(String aText) |
Helper method to encrypt a string which can be used in a configuration
file.
|
public void setEncryptedText(String aEncryptedText)
aEncryptedText
- the encrypted string to be decrypted.public String getObject()
getObject
in interface org.springframework.beans.factory.FactoryBean<String>
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<String>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<String>
Copyright © 2021. All rights reserved.