org.broadleafcommerce.common.encryption
Class DefaultEncryptionModule

java.lang.Object
  extended by org.broadleafcommerce.common.encryption.DefaultEncryptionModule
All Implemented Interfaces:
EncryptionModule

public class DefaultEncryptionModule
extends Object
implements EncryptionModule

The default encryption module simply passes through the decrypt and encrypt text. A real implementation should adhere to PCI compliance, which requires robust key management, including regular key rotation. An excellent solution would be a module for interacting with the StrongKey solution. Refer to this discussion: http://www.strongauth.com/forum/index.php?topic=44.0

Author:
jfischer

Constructor Summary
DefaultEncryptionModule()
           
 
Method Summary
 String decrypt(String cipherText)
           
 String encrypt(String plainText)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEncryptionModule

public DefaultEncryptionModule()
Method Detail

decrypt

public String decrypt(String cipherText)
Specified by:
decrypt in interface EncryptionModule

encrypt

public String encrypt(String plainText)
Specified by:
encrypt in interface EncryptionModule


Copyright © 2012. All Rights Reserved.