-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathIdentityAttributeTarget.xml
113 lines (107 loc) · 3.78 KB
/
IdentityAttributeTarget.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE sailpoint PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<sailpoint>
<Rule language="beanshell" name="Identity Attribute Target Template" type="IdentityAttributeTarget">
<Description>
Identity attribute target rules are used to tranform identity attribute
values that are being pushed to targets.
</Description>
<Signature returnType="Object">
<Inputs>
<Argument name="context">
<Description>
A sailpoint.api.SailPointContext object that can be used to query
the database if necessary.
</Description>
</Argument>
<Argument name="log">
<Description>
The log object associated with the SailPointContext.
</Description>
</Argument>
<Argument name="value" type="Object">
<Description>
The value of the identity attribute. Note that this could be single
value or a list of values.
</Description>
</Argument>
<Argument name="sourceIdentityAttribute">
<Description>
The sailpoint.object.ObjectAttribute for this target.
</Description>
</Argument>
<Argument name="sourceIdentityAttributeName">
<Description>
The name of the identity attribute for this target.
</Description>
</Argument>
<Argument name="sourceAttributeRequest">
<Description>
The sailpoint.object.ProvisioningPlan.AttributeRequest that is
setting the attribute on the identity.
</Description>
</Argument>
<Argument name="target">
<Description>
The sailpoint.object.AttributeTarget that is being processed.
</Description>
</Argument>
<Argument name="identity">
<Description>
The sailpoint.object.Identity that is being processed.
</Description>
</Argument>
<Argument name="project">
<Description>
The sailpoint.object.ProvisioningProject that has the changes that
are being requested.
</Description>
</Argument>
</Inputs>
<Returns>
<Argument name="attributeValue">
<Description>
The transformed value that will be pushed to the target.
</Description>
</Argument>
</Returns>
</Signature>
<ReferencedRules>
<Reference class="sailpoint.object.Rule" name="Global Rule Library"/>
</ReferencedRules>
<Source>
<![CDATA[
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import sailpoint.api.SailPointContext;
import org.apache.commons.logging.Log;
import sailpoint.object.TaskResult;
import java.lang.Object;
import sailpoint.object.ObjectAttribute;
import java.lang.String;
import sailpoint.object.ProvisioningPlan.AttributeRequest;
import sailpoint.object.AttributeTarget;
import sailpoint.object.Identity;
import sailpoint.object.ProvisioningProject;
import java.lang.Object;
//Log mylogger = LogFactory.getLog("rule.IdentityAttributeTarget");
//mylogger.debug("Start IdentityAttributeTarget");
//add the following lines to IIQ Log4j properties file to use this logger
//logger.IdentityAttributeTarget.name=rule.IdentityAttributeTarget
//logger.IdentityAttributeTarget.level=debug
//Available Input Variables
//value;
//sourceIdentityAttribute;
//sourceIdentityAttributeName;
//sourceAttributeRequest;
//target;
//identity;
//project;
//attributeValue;
//mylogger.debug("End IdentityAttributeTarget");
//return Object
return null;
]]>
</Source>
</Rule>
</sailpoint>