avalon-apps-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: A question about Phoenix security policies...
Date Sun, 25 Aug 2002 21:15:34 GMT
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:avalon-apps-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-apps-dev-help@jakarta.apache.org>


Mime
View raw message