The policies configured in the LDAP Proxy 1.0 act as the message processing centers. The policies enable the LDAP Proxy 1.0 to analyze the incoming requests and based on the rules defined while configuring the policies, the LDAP Proxy acts upon these incoming requests.Any number of policies could be configured for the LDAP Proxy 1.0. Every policy has a rule associated with it. The rule has a condition part and an action part. For every rule, if the condition part evaluates to true then a specified action is performed else a default action is performed.You can configure five types of policies in LDAP Proxy. They are,
Client Network Policy
Operation Restriction Policy
Map Schema Policy
Request Route Policy
Search Request Policy
The list-policy section of the configuration file lists all the policies configured for the LDAP Proxy 1.0. You can add any number of policies to this list. Every policy should have a rule section. This rule section comprises,
A condition that the incoming request has to be checked for.
An action that has to be performed on the incoming request if the condition evaluates to true.
A default action that has to be performed if the condition evaluates to false.