Maps the result of the enclosed tokens from the values specified by the src column to the dest column in the mapping table specified by table.
The table attribute should be the slash form DN of the DirXML-Resource object containing the mapping table to be used. The DN may be relative to the including policy.
If this token is evaluated in a context where a node set result is expected and multiple rows are matched by the value being mapped, then a node set is returned that contains the values from the destination column of each matching row. Otherwise only the value from the first matching row is returned.
If no rows are matched by the value being mapped and a non-empty value for default-value is provided, then the token returns the value of default-value, otherwise it returns the empty string if being evaluated in a context that is expecting a string, or an empty node-set if evaluated in a context that is expecting a node-set.
<token-map table="./Department Table" src="dept" dest="code"> <token-op-attr name="OU"/> </token-map>
Element |
Description |
---|---|
The values of an entitlement granted in the current operation. |
|
The association value from the current operation. |
|
The values of an attribute in the current operation or current object in the source data store. |
|
Decodes base64 data into a string. |
|
Encodes a string into base64 data. |
|
A Unicode character. |
|
The object class name from the current operation |
|
Converts a date/time from one format to another. |
|
The values of an attribute of current object in the destination data store. |
|
A value derived from the destination DN from the current operation. |
|
The unqualified RDN derived from the destination DN from the current operation. |
|
Reads an XML document. |
|
The values of a granted entitlement of the current object. |
|
Converts a string for use in a destination DN. |
|
Converts a string for use in a source DN. |
|
Generates a random password. |
|
The value of a global variable. |
|
Joins a node-set into a string. |
|
The value of a local variable. |
|
Converts a string to lowercase. |
|
Maps a string through a mapping table. |
|
The value of the named password. |
|
The values of an attribute in the current operation. |
|
The value of an operation property. |
|
The name of the current operation. |
|
Parses or converts a DN. |
|
The value of the password in the current operation. |
|
Queries the source or destination data store. |
|
The values of an attribute removed in the current operation. |
|
The values of an entitlement revoked in the current operation. |
|
Replaces all instances of a substring within a string. |
|
Replaces a single instance of a substring within a string. |
|
Resolves a DN to an association key or an association key to a DN. |
|
Splits a string into a node set. |
|
The values of an attribute of the current object in the source data store. |
|
A value derived from the source DN from the current operation. |
|
The unqualified RDN derived from source DN from the current operation. |
|
Substring of a string. |
|
Constant text. |
|
The current date/time. |
|
Generates a unique name. |
|
A DN relative to the one matched by if-src-dn. |
|
Converts a string to uppercase. |
|
Parses XML. |
|
Serializes XML. |
|
The result of an XPath expression. |
Attribute |
Possible Values |
Default Value |
---|---|---|
default-value |
CDATA Default value for the destination column. Supports variable expansion. |
#IMPLIED |
dest |
CDATA Name of the destination column. Supports variable expansion. |
#REQUIRED |
notrace |
true | false True if this element should not be traced during execution of the policy. |
false |
src |
CDATA Name of the source column. Supports variable expansion. |
#REQUIRED |
table |
CDATA Slash form DN of a DirXML-Resource object containing the mapping table. Can be relative to the including policy. Supports variable expansion. |
#REQUIRED |
( token-added-entitlement | token-association | token-attr | token-base64-decode | token-base64-encode | token-char | token-class-name | token-convert-time | token-dest-attr | token-dest-dn | token-dest-name | token-document | token-entitlement | token-escape-for-dest-dn | token-escape-for-src-dn | token-generate-password | token-global-variable | token-join | token-local-variable | token-lower-case | token-named-password | token-map | token-op-attr | token-op-property | token-operation | token-parse-dn | token-password | token-removed-attr | token-removed-entitlement | token-replace-all | token-replace-first | token-resolve | token-src-attr | token-src-dn | token-src-name | token-substring | token-text | token-time | token-unique-name | token-unmatched-src-dn | token-upper-case | token-xml-parse | token-xml-serialize | token-xpath ) +
Element |
Description |
---|---|
Association argument. |
|
Component argument. |
|
DN argument. |
|
Node set argument. |
|
Password argument. |
|
String argument. |
|
Value argument. |
|
Decode base64 data into a string. |
|
Encode a string into base64 data. |
|
Convert a data/time from one format to another format. |
|
Convert a string for use in the destination DN. |
|
Convert a string for use in a source DN. |
|
Join a node set into a string. |
|
Convert a string to lowercase. |
|
Map a string through a mapping table. |
|
Parses or converts a DN. |
|
Replaces all instances of a substring with a string. |
|
Replaces a single instance of a substring within a string. |
|
Splits a string into a node set. |
|
Substring of a string. |
|
Converts a string to uppercase. |
|
Parses XML. |
|
Serializes XML. |