in Education by
I'm working with secure application roles to grant access to users. In its dumbest form, it looks like that: create or replace package body main_user.PACK_SAR is procedure grant_role is begin dbms_session.set_role('TEST_ROLE'); end; end PACK_SAR; The package is in authid current_user, as it should be. The role and user are configured as follow: create role test_role identified using pack_sar; grant select on task to test_role; create user test_user identified by a; grant create session to test_user; grant execute on pack_sar to test_user; Then I login with my test_user, call the procedure and everything is fine: execute main_user.pack_sar.grant_role; select * from main_user.task; [... data from the task table ...] But now I would like to use my test user with SQL*Loader, so I thought I'm going to do the procedure call in an after logon trigger: create or replace trigger test_user.after_logon after logon on test_user.schema begin main_user.pack_sar.grant_role; end; But this does not seem to do anything, I don't get the role after login... Is there any way to do something like this? Or is using secure application roles within SQL*Loader impossible? Thanks in advance for any idea. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Check this thread at the bottom.

Related questions

0 votes
    I have not used access before but I have to convert an access query into SQL so I can write a report in crystal ... like this in SQL? Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    I have not used access before but I have to convert an access query into SQL so I can write a report in crystal ... like this in SQL? Select the correct answer from above options...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    I want to import an oracle dump into a different tablespace. I have a tablespace A used by User A ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 30, 2022 in Education by JackTerrance
0 votes
    I want to import an oracle dump into a different tablespace. I have a tablespace A used by User A ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 29, 2022 in Education by JackTerrance
0 votes
    I have to insert data in a table. It has a colum whose values should negative numbers like -1,-2 ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 4, 2022 in Education by JackTerrance
0 votes
    Slightly unimportant but it's piqued my curiousity. I've just logged into an Oracle 10g database for the ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
0 votes
    Slightly unimportant but it's piqued my curiousity. I've just logged into an Oracle 10g database for the ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
0 votes
    Slightly unimportant but it's piqued my curiousity. I've just logged into an Oracle 10g database for the ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    To build SQL statements it is more secure to user PreparedStatement than Statement. (1)True (2)False...
asked May 15, 2021 in Education by JackTerrance
0 votes
    Which one of the following is a class loader? (a) Bootstrap (b) Compiler (c) Heap (d) Interpreter ... programming questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    Which class loader loads jar files from JDK directory? (a) Bootstrap (b) Extension (c) System (d) ... programming questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    Tool that streams sstables to a live cluster (1)loader (2)sstableloader (3)TableLoader (4)sstabletreamer...
asked May 7, 2021 in Technology by JackTerrance
0 votes
    How to handle comma within a field while uploading using Data Loader?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
    Software that is secure on a given platform, environment, and threat landscape can be considered secure in any other platform, environment or threat landscape. A. True B. False...
asked Feb 26, 2023 in Technology by JackTerrance
0 votes
    Which of the following laws created a favorable environment for women to secure freedom and selfdevelopment? (a) Right to ... ) None of the above Please answer the above question....
asked Aug 14, 2022 in Education by JackTerrance
...