DBA Data[Home] [Help]

PACKAGE: DVSYS.DBMS_MACSEC_ROLES

Source


1 PACKAGE       dbms_macsec_roles AUTHID CURRENT_USER AS
2 
3   /**
4   * Checks whether the user invoking the method is authorized to use
5   * the specified DV Secure Application Role.  The authorization is
6   * determined by checking the Rule Set associted with the role.
7   *
8   * @param p_role Secure Application Role name
9   * @return TRUE if user is allowed to set the role
10   */
11   FUNCTION can_set_role(p_role IN VARCHAR2) RETURN BOOLEAN ;
12 
13   /**
14   * Issues the SET ROLE command for a DV Secure Application Role.  Before
15   * the SET ROLE is issued, the can_set_role method is called to check
16   * the Rule Set associated with the role.
17   *
18   * @param p_role Secure Application Role name
19   * @throws Exception if user is not authorized
20   */
21   PROCEDURE set_role(p_role IN VARCHAR2);
22 
23 END;