Release 2.x‎ > ‎Install - Reference‎ > ‎Config Ref Guide‎ > ‎Security‎ > ‎

Policies

A collection of Policy Elements.  These Policies are designed to be used by the BasicDecider class and are not intended to be used by other mechanisms.

The BasicDecider processes each Policy in order (as the listed XML Sub-Elements).  Here is a summary of how the "effect"  (allow/deny) is returned, in this order:
  1. If none of the policies evaluate to TRUE, the implied effect is deny
  2. If any of the "effect=deny" policies evaluate to TRUE, the explicit effect is deny
  3. If one of the "effect=allow" policies evaluate to TRUE, the effect is allow

Syntax

<Policies>
   <
Properties>
        <Property name="policy.classname" value="org.openptk.authorize.policy.BasicPolicy"/>
    </Properties>
   <Policy id="NotEnforcedURIs" ..../>
</Enforcers>


Arguments

    None

Properties

NameRequiredDescriptionExample
policy.classnameYesA fully qualified Java classname that implements the Policy Interfaceorg.openptk.authorize.policy.BasicPolicy