org.identityconnectors.ldap.sync.sunds
Class PasswordDecryptor

java.lang.Object
  extended by org.identityconnectors.ldap.sync.sunds.PasswordDecryptor

public class PasswordDecryptor
extends Object


Constructor Summary
PasswordDecryptor(byte[] desedeKey, byte[] iv)
           
 
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
 

Constructor Detail

PasswordDecryptor

public PasswordDecryptor(byte[] desedeKey,
                         byte[] iv)
Method Detail

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.