Subject | Re: [Firebird-Architect] External engines - metadata |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2007-10-19T12:25:26Z |
Adriano dos Santos Fernandes escreveu:
dbms_java.grant_permission('USER_NAME',
'SYS:java.lang.RuntimePermission', 'getClassLoader', '' );
So Java code in USER_NAME schema is allowed to call getClassLoader() method.
We can do the same thing for users allowed and not allowed to send spam. :-)
Adriano
>> Huh ? Java program can't send spam ? Or open socket ?Here is how this is handled in Oracle:
>>
>>
> Another reason to integrate J2SE security with database users/roles in
> the plugin.
dbms_java.grant_permission('USER_NAME',
'SYS:java.lang.RuntimePermission', 'getClassLoader', '' );
So Java code in USER_NAME schema is allowed to call getClassLoader() method.
We can do the same thing for users allowed and not allowed to send spam. :-)
Adriano