Creating factors in Oracle Database Vault
In this recipe, you'll create three factors (Day
, Holiday
, and NonWorkingDay
). The factor Day
will return name of the day based on sysdate
. The factor Holiday
will return TRUE
if it is a company nonworking holiday (for example, 1-JAN
, 4-JUL
, and 15-NOV
) and FALSE
otherwise. The factor NonWorkingDay
will return whether it's a nonworking day (NO
, WEEKEND
, and COMPANY_HOLIDAY
). We'll assume that a day is a nonworking day if it is a weekend or a company nonworking holiday (in case it is both weekend and holiday, it should resolve it to COMPANY_HOLIDAY
).
Getting ready
It is assumed that:
- You are using Oracle Database 12.1.0.2 (the traditional architecture) on Linux and Oracle Enterprise Manager Cloud Control 12c ...
Get Oracle Database 12c Security Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.