org.kuali.rice.krad.data.jpa.converters
Class EncryptionConverter
java.lang.Object
org.kuali.rice.krad.data.jpa.converters.EncryptionConverter
- All Implemented Interfaces:
- javax.persistence.AttributeConverter<String,String>
public class EncryptionConverter
- extends Object
- implements javax.persistence.AttributeConverter<String,String>
This class calls core service to encrypt values going to the database and decrypt values coming back from the
database.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptionConverter
public EncryptionConverter()
convertToDatabaseColumn
public String convertToDatabaseColumn(String objectValue)
- Specified by:
convertToDatabaseColumn
in interface javax.persistence.AttributeConverter<String,String>
convertToEntityAttribute
public String convertToEntityAttribute(String dataValue)
- Specified by:
convertToEntityAttribute
in interface javax.persistence.AttributeConverter<String,String>
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.