Configure policies
- Last Updated: October 24, 2025
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
A domain policy is an ABL-based implementation that enforces sign on and authentication policies. A domain policy configuration is stored in the domains.json configuration file.
Each domain configuration can reference a single domain policy configuration.
The policy configuration requires the fully qualified name of an ABL class that
implements OpenEdge.Security.STS.IPolicyProvider.
(Optionally, a Base64-encoded value, taken from r-codeinfo:signature-value, can be included to enforce checksum
requirements for the policy implementation class.)
The policy class (or rcode) needs to be found in the PROPATH. The recommended location is under instance/webapps/ROOT/WEB-INF/openedge, which is in the PROPATH by default.
For example:
|
You need to then define the policy name under the domain configuration. For the
example above, it is the bold line, "policyProvider" :
"login".
The following is a sample login policy class. It prints some messages to the log and adds a property to the client-principal object that is returned to the client.
SampleLoginPolicy.cls
|