public class CipherEncryptionService extends Object implements org.pentaho.platform.api.util.IPasswordService, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
CipherEncryptionService() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
String |
decrypt(String encryptedPassword) |
String |
encrypt(String clearPassword) |
String |
getAlgorithm() |
String |
getEncryptionKey() |
int |
getIterations() |
String |
getSalt() |
static void |
main(String[] args) |
void |
setAlgorithm(String value) |
void |
setEncryptionKey(String value) |
void |
setIterations(int value) |
void |
setSalt(String value) |
public void setSalt(String value)
public String getSalt()
public void setAlgorithm(String value)
public String getAlgorithm()
public void setEncryptionKey(String value)
public String getEncryptionKey()
public void setIterations(int value)
public int getIterations()
public void afterPropertiesSet() throws org.pentaho.platform.api.engine.ObjectFactoryException
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
org.pentaho.platform.api.engine.ObjectFactoryException
public String decrypt(String encryptedPassword) throws org.pentaho.platform.api.util.PasswordServiceException
decrypt
in interface org.pentaho.platform.api.util.IPasswordService
org.pentaho.platform.api.util.PasswordServiceException
public String encrypt(String clearPassword) throws org.pentaho.platform.api.util.PasswordServiceException
encrypt
in interface org.pentaho.platform.api.util.IPasswordService
org.pentaho.platform.api.util.PasswordServiceException
public static void main(String[] args)
Copyright © 2019 Hitachi Vantara. All rights reserved.