On 28/07/2016 22:07, brain wrote:
Hi Francesco your MasterContent.xml works perfectly, thank you!

When I try to edit the provisioning rules, I have a very limited selection
of internal and external resources. why is that? I want to add given name
and surname but I cannot find it in the list.


Hi,
you need to define the set of attributes that you want to manage within Syncope; there are few pre-defined (as email), but you can define as many as you need.

From admin console:

1. From the left menu, choose Configuration > Types > Schemas
2. Click on the + icon on the bottom right corner, under PLAIN
3. Set "surname" as key, and leave everything else as is, then click Save

Now you have defined a new schema for attributes, named "surname" with type String and no particular constraints.

1. Click on the top bar to AnyTypeClasses
2. Click on the pencil icon in the row for BaseUser
3. Move "surname" from left to right column under Plain Schemas, then click Save

Now you have included surname in the BaseUser class, which is used - surprise, surprise - for users.

At this point the "surname" schema can be included in the user mapping, as you are attempting above.

HTH
Regards.

--
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/


Reply via email to