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.
-
-
Constructor Summary
Constructors Constructor Description StaticAESPasswordEncryptionServiceProvider()
-
-
-
Method Detail
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
setPrefix
public void setPrefix(String prefix)
-
getPrefix
public String getPrefix()
- Specified by:
getPrefix
in interfacePasswordEncryptionServiceProvider
-
encrypt
public String encrypt(String rawPassword)
- Specified by:
encrypt
in interfacePasswordEncryptionServiceProvider
-
decrypt
public String decrypt(String encryptedPassword)
- Specified by:
decrypt
in interfacePasswordEncryptionServiceProvider
-
-