org.pentaho.reporting.engine.classic.core.modules.parser.base
Class StaticAESPasswordEncryptionServiceProvider
java.lang.Object
org.pentaho.reporting.engine.classic.core.modules.parser.base.StaticAESPasswordEncryptionServiceProvider
- All Implemented Interfaces:
- PasswordEncryptionServiceProvider
public class StaticAESPasswordEncryptionServiceProvider
- extends Object
- implements PasswordEncryptionServiceProvider
If you use dependency injection to provide your own key make sure that you also redefine the prefix.
StaticAESPasswordEncryptionServiceProvider
public StaticAESPasswordEncryptionServiceProvider()
getKey
public String getKey()
setKey
public void setKey(String key)
setPrefix
public void setPrefix(String prefix)
getPrefix
public String getPrefix()
- Specified by:
getPrefix
in interface PasswordEncryptionServiceProvider
encrypt
public String encrypt(String rawPassword)
- Specified by:
encrypt
in interface PasswordEncryptionServiceProvider
decrypt
public String decrypt(String encryptedPassword)
- Specified by:
decrypt
in interface PasswordEncryptionServiceProvider