public class CipherEncryptionService extends Object implements IPasswordService, org.springframework.beans.factory.InitializingBean
IPASSWORD_SERVICE
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 ObjectFactoryException
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
ObjectFactoryException
public String decrypt(String encryptedPassword) throws PasswordServiceException
decrypt
in interface IPasswordService
PasswordServiceException
public String encrypt(String clearPassword) throws PasswordServiceException
encrypt
in interface IPasswordService
PasswordServiceException
public static void main(String[] args)
Copyright © 2017 Hitachi Vantara. All rights reserved.