Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Oracle: where can I query java grants?

I need to check the current user's java grants, something similar to what has been set by:

dbms_java.grant_permission('SCOTT','java.net.SocketPermission','*','connect');

Can this be done without system privs from the current account? If I need to do it with system privs, where should I look?

10gR2, if that makes a difference.

like image 410
Mark Harrison Avatar asked Sep 14 '25 23:09

Mark Harrison


1 Answers

This should show up in the DBA_JAVA_POLICY and USER_JAVA_POLICY views.

like image 199
dpbradley Avatar answered Sep 17 '25 14:09

dpbradley