|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.avaje.ebean.config.dbplatform.AbstractDbEncrypt
public abstract class AbstractDbEncrypt
Base type for DB platform specific Encryption.
DB specific classes that extend this need to set their specific encryption functions for varchar, date and timestamp. If they are left null then that is treated as though that data type can not be encrypted in the DB and will instead use java client encryption.
Constructor Summary | |
---|---|
AbstractDbEncrypt()
|
Method Summary | |
---|---|
DbEncryptFunction |
getDbEncryptFunction(int jdbcType)
Return the DB encryption function for the given JDBC type. |
int |
getEncryptDbType()
Return the DB stored type for encrypted properties. |
boolean |
isBindEncryptDataFirst()
Generally encrypt function binding the data before the key (except h2). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractDbEncrypt()
Method Detail |
---|
public DbEncryptFunction getDbEncryptFunction(int jdbcType)
Null is returned if DB encryption of the type is not supported.
getDbEncryptFunction
in interface DbEncrypt
public int getEncryptDbType()
getEncryptDbType
in interface DbEncrypt
public boolean isBindEncryptDataFirst()
isBindEncryptDataFirst
in interface DbEncrypt
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |