Table of Contents

Search

  1. Preface
  2. Introduction to Dynamic Data Masking
  3. Rules
  4. Connection Rules
  5. Security Rules
  6. Security Rule Set Simulator
  7. Masking Functions
  8. Stored Procedure Result Set Masking
  9. Integration with Informatica Products
  10. Appendix A: XML Functions Reference
  11. Appendix B: Glossary

Java Class Example

Java Class Example

The following text is an example of a Java class. The Java action runs the execute method.
import com.activebase.rule.*; public class ExampleJA { public static String execute(RuleContext ctx) { return "select 'OK' from dual"; } public static boolean match(RuleContext ctx) { String user = ctx.getSymbol(RuleContext.USERNAME).toUpperCase(); if ("SCOTT".equals(user)) { return true; } return false; }

0 COMMENTS

We’d like to hear from you!