db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson" <...@bristowhill.com>
Subject Re: Does anyone tested policy file usage in derby 10.2.2 ?
Date Mon, 19 Feb 2007 20:43:04 GMT
legolas wood wrote:
> Hi
> Thank you for reading my post.
> Does any one tried and used derby under a security manager a a policy file?
> I tried to use it under a security manager and a policy file but my
> policy file never take effect.
> indeed derby ignored any policy that i defined.
> is there any sample policy file out there? I tries sample policy file
> which is included in Derby reference? and it does not take affect.

one thing that has tripped me up in the past is I copied the sample
policy file *exactly* :

   grant codeBase "file://f:/derby/lib/derby.jar" {
   ... deleted for brevity ...

There's no "f" drive on any of my systems. :-) So be sure to change that
line to specify the full path on your system.


View raw message