Introduction to Policy
Chapter
11
Policies
485
3.
If the request passes all the policy rules (that is, all policy rules returned a
PolicyResult.ACCEPTED
value), the request gets serviced—for example the
certificate is issued or renewed.
Using Predicates in Policy Rules
You can use predicates in a policy rule. A predicate indicates whether the rule that
contains the predicate applies to a request. If you specify a predicate as part of the
rule configuration, the policy rule applies that predicate based on request attributes
to determine whether the rule is applicable for a request.
The policy predicate is a logical expression. You form the expression using
variables and relational operators (
AND
or
OR
). For example, you could set up a
predicate to put the CRL Distribution Point extension only in SSL client certificates,
or set different validity dates for certificates for users in different groups.
The following are sample predicates:
HTTP_PARAMS.certType==client AND HTTP_PARAMS.ou==Engineering
HTTP_PARAMS.certType==server AND HTTP_PARAMS.o==Netscape OR
HTTP_PARAMS.certType==ca
Expression Support for Predicates
You form an expression using an attribute, its value, and one or more of the
operators listed in Table 11-1. For a list of attributes, see “Attributes for Predicates”
on page 487.
Note that the expression parsing support currently supports only two comparison
operators (
==
,
!=
) and two relational operators (
AND
,
OR
).
Table 11-1
Predicates in policy: supported comparison and logical operators
Operator
Description
==
Equal to
!=
Not equal to
AND
Logical operator
AND
OR
Logical operator
OR
Содержание Certificate Management System 6.1
Страница 1: ...Administrator s Guide Netscape Certificate Management System Version6 1 February 2003...
Страница 28: ...Documentation 28 Netscape Certificate Management System Administrator s Guide February 2003...
Страница 68: ...Support for Open Standards 68 Netscape Certificate Management System Administrator s Guide February 2003...
Страница 82: ...Uninstalling CMS 82 Netscape Certificate Management System Administrator s Guide February 2003...
Страница 166: ...How a Registration Manager Works 166 Netscape Certificate Management System Administrator s Guide February 2003...
Страница 382: ...ACL Reference 382 Netscape Certificate Management System Administrator s Guide February 2003...
Страница 566: ...Managing Policy Plug in Modules 566 Netscape Certificate Management System Administrator s Guide February 2003...
Страница 710: ...1 3 Organization Security Policies 710 Netscape Certificate Management System Administrator s Guide February 2003...
Страница 716: ...Object Identifiers 716 Netscape Certificate Management System Administrator s Guide February 2003...
Страница 762: ...DNs in Certificate Management System 762 Netscape Certificate Management System Administrator s Guide February 2003...
Страница 794: ...Managing Certificates 794 Managing Servers with Netscape Console December 2001...
Страница 810: ...The SSL Handshake 810 Managing Servers with Netscape Console December 2001...
Страница 828: ...828 Netscape Certificate Management System Administrator s Guide February 2003...