Stored Procedure Accelerator Guide for Microsoft SQL Server

Stored Procedure Accelerator Guide for Microsoft SQL Server

Configuring the StoredProc Rules

Configuring the StoredProc Rules

Configure the StoredProc rules in the
Rule Editor
.
  1. Select the MatchProcNamesFolder rule and click
    Action
    Edit
    .
    The
    Edit Rule
    window opens.
  2. In the Text field of the matcher, replace "proc name 1," "proc name 2," and "proc name 3" with stored procedure or table-valued function names.
    For example, you might enter the following text in the Text field:
    .*Proc_Dept_Emp.*|.*Func_Job_Location.*
    The following image shows the MatchProcsNamesFolder rule matcher parameters:
    The MatchPRocNamesFolder rule uses theText matcher and has .*Proc_Dept_Emp.*|.*Func_Job_Location.* entered in the Text field.
  3. Click
    OK
    .
    The
    Rule Editor
    closes.
  4. Click
    File
    Update Rules
    to save the security rule.
  5. Select the DefMaskRSSym rule and click
    Action
    Edit
    .
    The
    Edit Rule
    window opens.
  6. In the Value field of the rule action, enter the name of the rule set that contains the masking rules. For the template rule sets, enter StoredProcMasksTmpl. If you want to use the HR example rule set, enter HRStoredProcMasksRS.
    The Symbol Name must be ExplicitRuleSet.
    The following image shows the DefMaskRSSym rule action properties:
    The DefMaskRSSym uses the Define Symbol rule action. The Symbol Name is ExplicitRuleSet and the Value is StoredProcMasksTmpl.
  7. Click
    OK
    .
    The
    Rule Editor
    closes.
  8. Click
    File
    Update Rules
    to save the security rule.
  9. Select the MaskProcs rule and click
    Action
    Edit
    .
    The
    Edit Rule
    window opens.
  10. In the rule action Class Path field, enter the file path of the stored procedure accelerator .jar files, separated by a semicolon (;).
    You can find the .jar files in the following directory:
    <Dynamic Data Masking installation>\Accelerators\StoredProcedureMasking\lib
    For example, you might enter:
    C:\Program Files\Informatica\DDM\Accelerators\StoredProcedureMasking\lib\StoredProcedureMasking.jar;C:\Program Files\Informatica\DDM\Accelerators\StoredProcedureMasking\lib\MultipleStatementMasking.jar
    The Class Name must be ProcMaskerSQLServer.
    The following image shows the MaskProcs rule action parameters:
    The MaskProcs rule uses the Java Action rule action, has the Class Path configured to the accelerator .jar files, and has ProcMaskerSQLServer entered in the Class Name filed.
  11. Click
    OK
    .
    The
    Rule Editor
    closes.
  12. Click
    File
    Update Rules
    to save the security rules.
  13. Click
    File
    Exit
    to close the
    Rule Editor
    .

0 COMMENTS

We’d like to hear from you!