On 07/10/20 14:45, Martin van Es wrote:
> Hi Francesco,
>
> Thx for the quick reply!
>
> On Wed, Oct 7, 2020 at 11:18 AM Francesco Chicchiriccò <ilgro...@apache.org 
> <mailto:ilgro...@apache.org>> wrote:
>
>     Hi Martin,
>     so you'd want to keep different counters for different External 
> Resources, and inject appropriate values from such counters during 
> propagation, to populate attributes like as uidNumber and gidNumber, for 
> example.
>
>
> Yes
>
>     I think it can be as straightforward as (1) defining appropriate 
> configuration parameters to hold counter values and (2) creating 
> PropagationActions classes to implement the value injection and counter 
> increment logic.
>
>
> Which implies development effort (albeit a little)? Would there be a 
> "lightweight" possibility via scripts?

Yes, you can implement PropagationActions [1] in Groovy.

> Would the configuration parameters be like External Resource specific 
> variables that can be manipulated at will?

My suggestion was to add an manipulate some additional Configuration Parameters 
[2], beyond the predefined set.

Regards.

[1] http://syncope.apache.org/docs/2.1/reference-guide.html#propagationactions
[2] 
http://syncope.apache.org/docs/2.1/reference-guide.html#configuration-parameters

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/

Reply via email to