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开发者_如何学JAVA account? If I need to do it with system privs, where should I look?
10gR2, if that makes a difference.
This should show up in the DBA_JAVA_POLICY and USER_JAVA_POLICY views.
begin
dbms_java.grant_permission(grantee => 'CALL_RECORDING',
permission_type => 'java.io.FilePermission',
permission_name => 'D:/AES/-',
permission_action => 'execute,read,write,delete');
commit;
end;
精彩评论