Using Javascript For Policies; Managing Policy Plug-In Modules; Registering A Policy Module - Netscape MANAGEMENT SYSTEM 6.01 Installation And Setup Manual

Hide thumbs Also See for NETSCAPE MANAGEMENT SYSTEM 6.01:
Table of Contents

Advertisement

Using JavaScript for Policies

Using JavaScript for Policies
Certificate Management System includes a facility for complex scripting of the
policy plug-in instances via JavaScript
allows you to:
Determine the call sequence of existing Java plug-ins
Use complex logic to determine whether to call a plug-in (versus the simpler
predicates)
Write policies in JavaScript
Develop extensions without needing to know Java or have the Java SDK
Certificate Management System uses the Rhino JavaScript engine from
Mozilla.org
http://www.mozilla.org/rhino
To learn more about how to use JavaScript in Certificate Management System,
consult the sample
<server_root>/bin/cert/profiles/policy.js

Managing Policy Plug-in Modules

This section explains how to use the CMS window to perform the following
operations:

Registering a Policy Module

Deleting a Policy Module
For information on adding or changing policy-specific information in the
configuration file, see "Changing the Configuration by Editing the Configuration
File" on page 338.
Registering a Policy Module
You can register new policy plug-in modules in a subsystem's policy framework.
Registering a new policy module involves specifying the name of the module and
the full name of the Java class that implements the policy interface. For example,
you can add a policy implementation, named as follows, to the Data Recovery
Manager's policy framework:
582
Netscape Certificate Management System Installation and Setup Guide • May 2002
. You can get more details about the Rhino project from this site:
file included in the distribution:
policy.js
com.netscape.policy.KeyArchivalPolicy
TM
. Using the JavaScript policy processor

Advertisement

Table of Contents
loading

This manual is also suitable for:

Certificate management system 6.01

Table of Contents