On 02/05/20 17:06, [email protected] wrote: > Hi, > > Thanks. I did read that information and also some information that we had > gathered by another person, but you know, it is not easy to comprehend some > of the Syncope functionality/concepts via just the documentation, and mind > you, I have been doing this kind of work for a long time with other similar > products. > > And, I want to say that I/we are really trying, as you know via other > channels, so "there is really no reason to be nasty" :(!
Sorry, my intention was absolutely not to be nasty; I was honestly surprised that you were able the Javadocs about ItemTransformer ... Regards. > My apologies for having to say that... > > Jim > > On Saturday, May 2, 2020, 10:26:36 AM EDT, Francesco Chicchiriccò > <[email protected]> wrote: > > > Hi, > for some reason it seems that it's easier for you to find Javadocs than > documentation :-O > > Anyway, take a look at: > > PullActions (to inject Java or Groovy logic during Pull) > http://syncope.apache.org/docs/2.1/reference-guide.html#pullactions > > PropagationActions (to inject Java or Groovy logic during Propagation) > http://syncope.apache.org/docs/2.1/reference-guide.html#propagationactions > > Regards. > > On 02/05/20 16:21, [email protected] <mailto:[email protected]> wrote: > Hi, > > I was looking at the > ItemTransformer(https://syncope.apache.org/apidocs/2.0/org/apache/syncope/core/provisioning/api/data/ItemTransformer.html) > but it looks that is applied to/bound to an individual attribute, and > returns the transformed attribute value, but in my use case, I want to > receive an attribute value and I want to output to two different attributes > (that are not the incoming attribute). > > How can THAT be done? > > Thanks, > Jim > > > On Friday, May 1, 2020, 01:34:03 PM EDT, [email protected] > <mailto:[email protected]> <[email protected]> <mailto:[email protected]> wrote: > > > Hi, > > I have now got Syncope connectors, etc. so that I can cause a change in a > user that came in via the CSV in the realm when I do a pull on my LDAP2 pull > task. Now I need find out how I can some how inject a Java class to (a) > process the incoming attribute, and to (b) output the two constructed > attribute values into two attributes (presumably in the realm). > > How do I do that? What mechanism/approach in Syncope can I use? > > Thanks, > Jim > > On Friday, May 1, 2020, 10:54:20 AM EDT, [email protected] > <mailto:[email protected]> <[email protected]> <mailto:[email protected]> wrote: > > > Hi, > > I am trying to accomplish the following with Syncope: > > - We currently have been trying to use Syncope to take user information from > a flat file (CSV) and then push information from the flat file to an LDAP > server (call this LDAP1). We have this part working already. > > - There is a separate LDAP server (call this LDAP2) that has the same set of > users as in LDAP1, but in LDAP2, each user has an attribute that is not put > into the users in LDAP1 from the first flow above. > > > So what I am now trying to do is (a) pull that attribute from LDAP2, and (b) > do some processing (Java) on that attribute, and then (c) get the results of > that processing, which is 2 attributes in LDAP2, to the user profile in LDAP2. > > > So I wondering what is the best way to accomplish the above with Syncope? > > > I think that would involve something like: > > - Have a connection to LDAP2 and a pull task that pulls the attribute from > LDAP2, and then > - "Something" (Java?) that take the attribute value and calculates the 2 new > attribute values and pushes those values into the realm > > But I am not sure what that "Something" is in Syncope? > > > Thanks, > Jim > -- 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/
