[midPoint] linking an existing account on a resource on midpoint 4.4.8
Ashwill, Steven L
sashwill at uillinois.edu
Fri Nov 15 18:38:07 CET 2024
I have a resource that we do not have create or delete capabilities, only update.
The issue I'm having is when we are informed that there is a new account on the resource and I add the role that induces the projection midpoint is trying to create the account instead of just linking it to the existing account. What am I missing.
Below is my xml for sync on the resource.
<synchronization>
<objectSynchronization>
<name>default sync</name>
<objectClass>ri:AccountObjectClass</objectClass>
<kind>account</kind>
<focusType>c:UserType</focusType>
<enabled>true</enabled>
<correlation>
<q:equal xmlns="">
<q:path>c:employeeNumber</q:path>
<expression>
<script>
<code>
String empNo = basic.getAttributeValue(account, 'http://midpoint.evolveum.com/xml/ns/public/resource/instance-3', 'uin');
return empNo;
</code>
</script>
</expression>
</q:equal>
</correlation>
<reconcile>true</reconcile>
<opportunistic>true</opportunistic>
<reaction>
<situation>linked</situation>
<action>
<handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-2#modifyUser</handlerUri>
</action>
</reaction>
<reaction>
<situation>deleted</situation>
<action>
<handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-2#unlinkAccount</handlerUri>
</action>
</reaction>
<reaction>
<situation>unlinked</situation>
<action>
<handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-2#linkAccount</handlerUri>
</action>
</reaction>
</objectSynchronization>
</synchronization>
STEVEN L ASHWILL
Software Engineer Coordinator
Administrative Information Technology Services
University of Illinois at Urbana-Champaign
50 Gerty Drive | M/C 673
Champaign, IL 61820
217.265.6337 | sashwill at uillinois.edu
www.aits.uillinois.edu
Under the Illinois Freedom of Information Act any written communication to or from university employees regarding university business is a public record and may be subject to public disclosure.
More information about the midPoint
mailing list