On Mon, 26 Aug 2002 03:27, Peter M. Goldstein wrote:
>   <policy>
>     <grant code-base="sar:lib${/}*">
>       <permission class="java.security.AllPermission" />
>     </grant>
>   </policy>
>
> If not, what is the correct form?  Any help (or pointers to appropriate
> documentation) would be appreciated.  Thanks.

The most open grant is to do something like

    <policy>
      <grant code-base="sar:SAR-INF/lib/*">
        <permission class="java.security.AllPermission" />
      </grant>
    </policy>

which will grant all permissions to all jars in library. However a better 
position may be to just not define the <policy /> element, ie remove it from 
environment.xml descriptor. That should give all classes loaded from wherever 
AllPermissions

-- 
Cheers,

Peter Donald
--------------------------------------------
 Beer is proof that God loves us and wants 
 us to be happy. -- Benjamin Franklin
-------------------------------------------- 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to