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

Enforcer

An Enforcer is used within the execution of a Request and starts the authorization mechanism.  The Enforcer is responsible for intercepting each Request and forwarding it on to the configured Decider.   There are currently two enforcement points within OpenPTK:
  • SERVLET
  • ENGINE
  • REPRESENTATION (reserved: not currently used)

Syntax

         <Enforcer id="webfilter" environment="SERVLET" decider="internal" />

Arguments

 Name Required Description Example
 id yes A unique name for each Enforcer id="webtier" 
 environment yes The key word that is used to identify the enforcement point / location. environment="ENGINE"
 decider yes The unique identifier of a configured Decider decider="internal" 


Properties

None


XML Sub-Elements