Il 09/07/2016 13:35, Jonas Israelsson ha scritto:
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.
Hi Jonas, I'm not sure to have well understood your configuration.
Have you provided a pull task with a user template in order to specify
the destination realm? In case, are you sure you have used the right
jexl expression?
Please, provide some details more.
Regards,
F.
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
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
Fabio Martelli
Tirasa - Open Source Excellence
http://www.tirasa.net/
Apache Syncope PMC
http://people.apache.org/~fmartelli/