
Using ECMAScript in Policies
11
175
no
vd
ocx
(e
n)
13
Ma
y 20
09
11
Using ECMAScript in Policies
ECMAScript is a scripting programming language, standardized by Ecma International. It is often
referred to as JavaScript* or JScript, but these are actually implementations of ECMAScript.
Identity Manager supports ECMAScript. ECMAScript objects are resource objects that store
ECMAScripts. The ECMAScript is called through a policy to provide advanced functionality that
DirXML
®
Script or XSLT style sheets cannot provide.
Identity Manager uses the ECMACScript objects in two different ways: to create a custom form in
the provisioning request definition editor, and to call an ECMAScript function in policies. For more
information on custom forms, see
Creating Custom Forms (http://www.novell.com/documentation/
idm35/dgpro/data/prdefcreateformschapter.html)
.
This section explains how to use the ECMAScript editor, how to use ECMAScript with policies, and
how to use ECMAScript with custom forms. It does not explain the ECMAScript language. See the
ECMAScript Language Specification (http://www.ecma-international.org/publications/standards/
Ecma-262.htm)
for information on how to use the ECMAScript language.
Section 11.1, “Creating an ECMAScript Object,” on page 175
Section 11.2, “Using the ECMAScript Editor,” on page 176
Section 11.3, “Examples of ECMAScripts with Policies,” on page 184
11.1 Creating an ECMAScript Object
ECMAScript objects can be created in a library, driver object, Publisher channel, or Subscriber
channel.
1
In the Outline view, right-click the location to create the ECMAScript object, then select
New >
ECMAScript
.
2
Specify the name of the ECMAScript object.
3
Select the check box for
Open the editor after creating the object
, then click
OK
.
4
Click
Yes
in the file conflict message to save the ECMAScript object.
Содержание Designer for Identity Manager 3.5
Страница 4: ...4 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 20: ...20 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 43: ...Managing Policies with the Policy Builder 43 novdocx en 13 May 2009 Figure 3 3 View Policy in XML...
Страница 44: ...44 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 76: ...76 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 92: ...92 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 108: ...108 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 144: ...144 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 174: ...174 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 188: ...188 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 197: ...Conditions 197 novdocx en 13 May 2009 Checks to see if the class name of the current object is User...
Страница 204: ...204 Policies in Designer 3 5 novdocx en 13 May 2009 Not Changing To Not Equal Not Greater Than Not Less Than Example...
Страница 223: ...Conditions 223 novdocx en 13 May 2009...
Страница 231: ...Conditions 231 novdocx en 13 May 2009...
Страница 232: ...232 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 237: ...Actions 237 novdocx en 13 May 2009...
Страница 245: ...Actions 245 novdocx en 13 May 2009...
Страница 247: ...Actions 247 novdocx en 13 May 2009...
Страница 259: ...Actions 259 novdocx en 13 May 2009 2 Select the desired value type 3 Specify the value then click Finish...
Страница 263: ...Actions 263 novdocx en 13 May 2009...
Страница 271: ...Actions 271 novdocx en 13 May 2009...
Страница 275: ...Actions 275 novdocx en 13 May 2009 Example...
Страница 324: ...324 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 333: ...Noun Tokens 333 novdocx en 13 May 2009...
Страница 334: ...334 Policies in Designer 3 5 novdocx en 13 May 2009 Operation Expands to the name of the current operation Example...
Страница 357: ...Verb Tokens 357 novdocx en 13 May 2009...
Страница 363: ...Verb Tokens 363 novdocx en 13 May 2009 Example...
Страница 390: ...390 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 418: ...418 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 472: ...472 Policies in Designer 3 5 novdocx en 13 May 2009 Veto Vetoes the current operation Fields There are no fields...
Страница 474: ...474 Policies in Designer 3 5 novdocx en 13 May 2009...
Страница 496: ...496 Policies in Designer 3 5 novdocx en 13 May 2009 Text Expands to the text Fields Text Specify the text...