Dynamic Data Masking
- Dynamic Data Masking 9.9
- All Products
import com.activebase.rule.*; public class ExampleJM { public static boolean match(RuleContext ctx) { String user = ctx.getSymbol("APPLICATION_USERNAME"); if (user==null || "".equals(user.trim())) { user = ctx.getSymbol(RuleContext.OS_USER); } if (!"FRED".equals(user.toUpperCase())) { return true; } return false; } }
.*--(.*)
\(1)
select customer_name from customer --Scott
The Java matcher returns a value ofselect customer_name from customer --Fred