org.identityconnectors.ldap.sync.sunds
Class PasswordDecryptor
java.lang.Object
org.identityconnectors.ldap.sync.sunds.PasswordDecryptor
public class PasswordDecryptor
- extends Object
|
Method Summary |
String |
decryptPassword(byte[] encryptedPassword)
Decrypts the password value using the configured symmetric key. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasswordDecryptor
public PasswordDecryptor(byte[] desedeKey,
byte[] iv)
decryptPassword
public String decryptPassword(byte[] encryptedPassword)
- Decrypts the password value using the configured symmetric key.
- Parameters:
encryptedPassword - the encrypted password to decrypt.
- Returns:
- The clear-text password.
- Throws:
org.identityconnectors.framework.common.exceptions.ConnectorException - if the password value could not be decrypted.
Copyright © 2012. All Rights Reserved.