com.ibm.wps.services.credentialvault
Interface EncryptionExit


Deprecated. since 5.1.0.1, use com.ibm.portal.portlet.service.credentialvault.spi.EncryptionExit instead.

public interface EncryptionExit

Encryption Exit Interface for encrypting/decrypting passwords in the DefaultVault. The Credential Vault supports an encryption exit for the Default Vault Adapter. This means that you can plug your own encryption logic by writing a class implementing this interface, plugging this implementation via the defaultvault.properties file and adding the file wp_root/shared/app/defaultvault.properties with the content: encryptionExit=com.yourcompany.credentialvault.YourEncryptionExit. The implementation is optional. There is a default implementation for this interface which is used if no other implementaion is configured.

Since:
5.1

Method Summary
 char[] decryptPassword(char[] password)
          Deprecated. Decrypts the password
 char[] encryptPassword(char[] password)
          Deprecated. Encrypts the password.
 

Method Detail

encryptPassword

char[] encryptPassword(char[] password)
Deprecated. 
Encrypts the password. The password is only stored encrypted. After getting it from the store it needs to be decrypted.

Parameters:
password - Unencrypted Password
Returns:
Encrypted password as a char[]

decryptPassword

char[] decryptPassword(char[] password)
Deprecated. 
Decrypts the password

Parameters:
password - Encrypted Password
Returns:
Unencrypted Password as a char[]