Skip to content

Commit

Permalink
Add Grouper LiveSync
Browse files Browse the repository at this point in the history
...and bit of cleanup.
  • Loading branch information
mederly committed Aug 28, 2018
1 parent 1db3632 commit 47cbb7b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
9 changes: 9 additions & 0 deletions grouper-midpoint/midpoint-objects/resources/ldap-main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,15 @@
<ref>ri:eduPersonAffiliation</ref>
<tolerant>false</tolerant>
</attribute>
<attribute>
<ref>ri:eduPersonEntitlement</ref>
<tolerant>false</tolerant>
<outbound>
<source>
<path>extension/grouper_group</path>
</source>
</outbound>
</attribute>
<association>
<tolerant>false</tolerant>
<ref>ri:group</ref>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<c:resource oid="6dcb84f5-bf82-4931-9072-fbdf87f96442" xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3" xmlns:my="http://myself.me/schemas/whatever" xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3">

<c:name>Grouper SQL NEW</c:name>
<c:name>Grouper SQL/MQ</c:name>

<connectorRef type="ConnectorType">
<filter>
Expand Down Expand Up @@ -63,10 +63,6 @@
<ref>ri:subject_id</ref>
<displayName>Subject ID</displayName>
</attribute>
<attribute>
<ref>ri:subject_identifier0</ref>
<displayName>Subject Identifier</displayName>
</attribute>
<attribute>
<ref>ri:name</ref>
<displayName>Name</displayName>
Expand Down Expand Up @@ -111,17 +107,17 @@
</objectType>
</schemaHandling>

<!-- >synchronization>
<synchronization>
<objectSynchronization>
<enabled>true</enabled>

<correlation>
<q:equal>
<q:path>employeeNumber</q:path>
<q:path>name</q:path>
<expression>
<path>
declare namespace ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3";
$account/attributes/ri:subject_identifier0
$account/attributes/icfs:name
</path>
</expression>
</q:equal>
Expand All @@ -138,7 +134,6 @@
<handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</handlerUri>
</action>
</reaction>
<reaction>
<situation>unlinked</situation>
<synchronize>true</synchronize>
Expand All @@ -151,7 +146,7 @@
<synchronize>true</synchronize>
</reaction>
</objectSynchronization>
</synchronization -->
</synchronization>

</c:resource>

Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<expression>
<assignmentTargetSearch>
<targetType>RoleType</targetType>
<oid>c89f31dd-8d4f-4e0a-82cb-58ff9d8c1b2f</oid> <!-- role-grouper-basic -->
<oid>c89f31dd-8d4f-4e0a-82cb-58ff9d8c1b2f</oid> <!-- role-ldap-basic -->
<assignmentProperties>
<subtype>grouper-basic</subtype>
</assignmentProperties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
oid="c89f31dd-8d4f-4e0a-82cb-58ff9d8c1b2f">
<name>role-grouper-basic</name>
<name>role-ldap-basic</name>
<inducement id="1">
<construction>
<resourceRef oid="0a37121f-d515-4a23-9b6d-554c5ef61272" relation="org:default" type="c:ResourceType" /> <!-- OpenLDAP for Grouper (i-data) -->
<resourceRef oid="0a37121f-d515-4a23-9b6d-554c5ef61272" relation="org:default" type="c:ResourceType" /> <!-- OpenLDAP -->
</construction>
<order>1</order>
</inducement>
Expand Down

0 comments on commit 47cbb7b

Please sign in to comment.