[midPoint] Removing user from org
Roman Pudil - AMI Praha a.s.
roman.pudil at ami.cz
Wed Jul 1 16:35:49 CEST 2015
Hi Pavol,
I am using last stable release 3.1.1.
Problem is maybe found:
When I use mapping in "central" template (configured in System
Configuration), adding and removing works well. When I use the same
mapping in template in resource, adding works well, but removing not. It
is probably bug?
Regards
Roman.
Roman Pudil
solution architect
gsm: [+420] 775 663 666
e-mail: roman.pudil at ami.cz <mailto:roman.pudil at ami.cz>
AMI Praha a.s.
Pláničkova 11
162 00 Praha 6
tel./fax: [+420] 274 783 239
web: www.ami.cz <http://www.ami.cz>
AMI Praha a.s.
<http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management>
Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za
společnost AMI Praha a.s.
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít
výhradně písemnou formu.
Dne 1.7.2015 v 16:23 Pavol Mederly napsal(a):
> Hmmm. That's interesting. Which version of midPoint do you use? I'm
> using v3.2devel-829-g24f4945.
>
> Best regards,
> Pavol
>
> On 1. 7. 2015 16:21, Roman Pudil - AMI Praha a.s. wrote:
>> Hi Pavol,
>> unfortunately, this code does not remove user assignment from org
>> (adding user to org works well).
>>
>> Regards
>> Roman
>>
>> Roman Pudil
>> solution architect
>>
>> gsm: [+420] 775 663 666
>> e-mail: roman.pudil at ami.cz <mailto:roman.pudil at ami.cz>
>>
>>
>>
>> AMI Praha a.s.
>> Pláničkova 11
>> 162 00 Praha 6
>> tel./fax: [+420] 274 783 239
>> web: www.ami.cz <http://www.ami.cz>
>>
>>
>>
>> AMI Praha a.s.
>>
>>
>> <http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management>
>>
>> Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za
>> společnost AMI Praha a.s.
>> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít
>> výhradně písemnou formu.
>>
>> Dne 1.7.2015 v 15:09 Pavol Mederly napsal(a):
>>> Hello Roman,
>>>
>>> maybe I don't understand your question completely, but for me it
>>> works. This is a sample template that is able to add as well as
>>> remove Org assignment to/from a user based on his organizationalUnit
>>> attribute value:
>>>
>>> <mapping>
>>> <source>
>>> <c:path>$user/organizationalUnit</c:path>
>>> </source>
>>> <expression>
>>> <assignmentTargetSearch>
>>> <targetType>OrgType</targetType>
>>> <filter>
>>> <q:equal>
>>> <q:path>c:name</q:path>
>>> <expression>
>>> <script>
>>> <code>
>>> log.info('looking for {}',
>>> organizationalUnit)
>>> return organizationalUnit
>>> </code>
>>> </script>
>>> </expression>
>>> </q:equal>
>>> </filter>
>>> </assignmentTargetSearch>
>>> </expression>
>>> <target>
>>> <c:path>assignment</c:path>
>>> </target>
>>> </mapping>
>>>
>>> Best regards,
>>> Pavol
>>>
>>>> Hi all,
>>>> how to remove user from organization based on attribute value?
>>>> User add to org in mapping template object works great (I am using
>>>> assignmentTargetSearch). How to remove user?
>>>>
>>>> Thanks!
>>>> R. Pudil
>>>> --
>>>>
>>>> Roman Pudil
>>>> solution architect
>>>>
>>>> gsm: [+420] 775 663 666
>>>> e-mail: roman.pudil at ami.cz <mailto:roman.pudil at ami.cz>
>>>>
>>>>
>>>>
>>>> AMI Praha a.s.
>>>> Pláničkova 11
>>>> 162 00 Praha 6
>>>> tel./fax: [+420] 274 783 239
>>>> web: www.ami.cz <http://www.ami.cz>
>>>>
>>>>
>>>>
>>>> AMI Praha a.s.
>>>>
>>>>
>>>> <http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management>
>>>>
>>>> Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá
>>>> za společnost AMI Praha a.s.
>>>> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít
>>>> výhradně písemnou formu.
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> midPoint mailing list
>>>> midPoint at lists.evolveum.com
>>>> http://lists.evolveum.com/mailman/listinfo/midpoint
>>>
>>>
>>>
>>> _______________________________________________
>>> midPoint mailing list
>>> midPoint at lists.evolveum.com
>>> http://lists.evolveum.com/mailman/listinfo/midpoint
>>
>>
>>
>> _______________________________________________
>> midPoint mailing list
>> midPoint at lists.evolveum.com
>> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150701/eed4b1c8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ami_logo.gif
Type: image/gif
Size: 2900 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150701/eed4b1c8/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AMI-podpis-IdM_1.png
Type: image/png
Size: 21628 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150701/eed4b1c8/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2900 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150701/eed4b1c8/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 21628 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150701/eed4b1c8/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2900 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150701/eed4b1c8/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 21628 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150701/eed4b1c8/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4240 bytes
Desc: Elektronicky podpis S/MIME
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150701/eed4b1c8/attachment.bin>
More information about the midPoint
mailing list