[midPoint] ScriptedSQL - Activation using group membership - schema handling

Wojciech Staszewski wojciech.staszewski at diagnostyka.pl
Wed Dec 7 16:35:05 CET 2016


Thanks, it works perfectly. :*

W dniu 07.12.2016 o 15:22, Ivan Noris pisze:
> Hi Wojciech,
> 
> if I understand it correctly, I think you can do it if you create your
> "Update" script so that it reacts on changes of activation attribute
> (probably __ENABLE__) by doing whatever you want including putting user
> to the group. And you have to modify the "Search" script to return the
> information back to midPoint as __ENABLE__ attribute.
> 
> Ivan
> 
> On 12/07/2016 03:06 PM, Wojciech Staszewski wrote:
>> Hello All,
>>
>> I'm looking for an idea how to implement Activation using ScriptedSQL
>> connector.
>>
>> Activation in the application is done by assigning user to group called
>> "Disabled". I made an "Update" groovy script, it seemd to be working (at
>> least shows no error). All fine, but "Activation" capability is using an
>> attribute, but there is no specified attribute in such matter.
>>
>> I don't want to interfere with the database structure (eg adding
>> columns, triggers, views and so) due to application upgrade process,
>> which is sensitive to db structure changes.
>>
>> Is this possible at all?
>> Thank you very much
>>
> 

-- 
Wojciech Staszewski
Administrator Systemów Sieciowych
tel. kom: 663 680 236
www.diagnostyka.pl
Diagnostyka Sp. z o. o.
ul. Prof. M. Życzkowskiego 16, 31-864 Kraków
Numer KRS: 0000381559 (Sąd Rejonowy dla Krakowa-Śródmieścia w Krakowie,
XI Wydział Gospodarczy KRS)
NIP: 675-12-65-009; REGON: 356366975
Kapitał zakładowy: 33 756 500 zł.

Pomyśl o środowisku zanim wydrukujesz ten e-mail.



More information about the midPoint mailing list