mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#919 - io.ebean package initial
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package org.tests.basic.encrypt;
|
||||
|
||||
import io.ebean.config.EncryptKey;
|
||||
import io.ebean.config.EncryptKeyManager;
|
||||
|
||||
public class BasicEncyptKeyManager implements EncryptKeyManager {
|
||||
|
||||
/**
|
||||
* Initialise the key manager.
|
||||
*/
|
||||
public void initialise() {
|
||||
|
||||
}
|
||||
|
||||
public EncryptKey getEncryptKey(String tableName, String columnName) {
|
||||
// Must be 16 Chars for Oracle function
|
||||
return new BasicEncryptKey("simple0123456789");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user