Saw SYNCOPE-898 was set to resolved yeasterday. So I tried it out today, but can't get it working. I'we just mapped an ldap-filed (o in my case) to the realm filed.
Tried to set both the realm path /elementary as well as the realm uuid fetched from the db, and I can't see anything happening to my testuser. I havent had time yet to try out also a clean vanilla installed syncope. Just wanted first to double-check if I had misunderstood the function.. Thanks. On 7 July 2016 12:03:53 CEST, "Francesco Chicchiriccò" <[email protected]> wrote: >On 06/07/2016 16:53, Francesco Chicchiriccò wrote: >> [...] >> >> About >> >>> I have the need to place users in realms preferably based on a ldap > >>> attribute >> you might want to add your own PullActions implementation, and to >> configure it in your pull task. >> >> Take a look at [1] for an example: you will have access to the LDAP >> attribute via >> >> delta.getObject().getAttributeByName("your_attribute_name") >> >> and then you can set the realm via userTO.setRealm(). >> >> Finally, consider that standalone distribution won't allow this kind >> of extensions, you will need to setup a Maven project. > >Correction: making the destination realm parametric should be actually >possible *without* the need of a dedicate pull action. > >There are, though, some problems around it: see SYNCOPE-898 [2] for >details. > >Regards. > >> [1] >> >https://github.com/apache/syncope/blob/master/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/pushpull/DBPasswordPullActions.java#L64-L75 >[2] https://issues.apache.org/jira/browse/SYNCOPE-898 > >-- >Francesco Chicchiriccò > >Tirasa - Open Source Excellence >http://www.tirasa.net/ > >Involved at The Apache Software Foundation: >member, Syncope PMC chair, Cocoon PMC, Olingo PMC, >CXF Committer, OpenJPA Committer, PonyMail PPMC >http://home.apache.org/~ilgrosso/ -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
