Package com.axelor.db.converters
Class AbstractEncryptedConverter<T,R>
- java.lang.Object
-
- com.axelor.db.converters.AbstractEncryptedConverter<T,R>
-
- All Implemented Interfaces:
javax.persistence.AttributeConverter<T,R>
- Direct Known Subclasses:
EncryptedBytesConverter
,EncryptedStringConverter
public abstract class AbstractEncryptedConverter<T,R> extends Object implements javax.persistence.AttributeConverter<T,R>
-
-
Constructor Summary
Constructors Constructor Description AbstractEncryptedConverter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description R
convertToDatabaseColumn(T attribute)
T
convertToEntityAttribute(R dbData)
protected Encryptor<T,R>
encryptor()
protected abstract Encryptor<T,R>
getEncryptor(String algorithm, String password)
protected boolean
isMigrating()
protected Encryptor<T,R>
oldEncryptor()
-