Stored Procedure Accelerator Guide for Sybase

Stored Procedure Accelerator Guide for Sybase

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 names.
    For example, you might enter the following text in the Text field:
    .*Proc_Dept_Emp.*
    The following image shows the MatchProcsNamesFolder rule matcher parameters:
    The MatchPRocNamesFolder rule uses theText matcher and has .*Proc_Dept_Emp.* 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. Define the following symbols:
    ExplicitRuleSet
    Enter ExplicitRuleSet in the Symbol Name field and the name of the rule set that contains the masking rules in the Symbol Value field. For the template rule sets, enter StoredProcMasksTmpl. If you want to use the HR example rule set, enter HRStoredProcMasksRS.
    TEMPDB
    Enter TEMPDB in the Symbol Name field and the name of the temporary database in the Symbol Value field, such as TempDB. If you do not define the TEMPDB symbol, Dynamic Data Masking uses the default value, tempdb.
    TEMPSCHEMA
    Enter TEMPSCHEMA in the Symbol Name field and the name of the temporary schema in the Symbol Value field, such as TempSchema. If you do not define the TEMPSCHEMA symbol, Dynamic Data Masking uses the default value, dbo.
    The following image shows the DefMaskRSSym rule action properties:
    The DefMaskRSSym uses the Define Symbol rule action. The Symbol Name is ExplicitRuleSet, the Symbol Value is StoredProcMasksTmpl, and the Kep Per Session value is No..
  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 ProcMaskerSybase.
    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 ProcMaskerSybase 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!