Oracle:在哪里可以查询 java grants?

发布于 2024-09-08 07:06:12 字数 241 浏览 0 评论 0原文

我需要检查当前用户的 java grants,类似于设置的内容:

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

可以在没有当前帐户的系统权限的情况下完成此操作吗?如果我需要使用系统权限来执行此操作,我应该在哪里查看?

10gR2,如果这有影响的话。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

风尘浪孓 2024-09-15 07:06:12

这应该显示在 DBA_JAVA_POLICY 和 USER_JAVA_POLICY 视图中。

This should show up in the DBA_JAVA_POLICY and USER_JAVA_POLICY views.

温暖的光 2024-09-15 07:06:12
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;
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;
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文