Bug fix [ 1722049 ] Column encryption not working on String
This commit is contained in:
parent
ec2b1c66f5
commit
4165e9ce5e
|
@ -140,6 +140,8 @@ public class SecureEngine
|
||||||
*/
|
*/
|
||||||
public static Object encrypt (Object value)
|
public static Object encrypt (Object value)
|
||||||
{
|
{
|
||||||
|
if (value instanceof String)
|
||||||
|
return encrypt((String) value);
|
||||||
return value;
|
return value;
|
||||||
} // encrypt
|
} // encrypt
|
||||||
|
|
||||||
|
@ -151,6 +153,8 @@ public class SecureEngine
|
||||||
*/
|
*/
|
||||||
public static Object decrypt (Object value)
|
public static Object decrypt (Object value)
|
||||||
{
|
{
|
||||||
|
if (value instanceof String)
|
||||||
|
return decrypt((String) value);
|
||||||
return value;
|
return value;
|
||||||
} // decrypt
|
} // decrypt
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue