In Crowd 2.3 or newer, I have a Directory configured using LDAP (Sun Directory Server Enterprise Edition). On the COnfiguration tab, the field first name, last name etc get LDAP attribute like 'givenName' ,'sn', etc.
Is it poossible to use a conditional statement somehow in these field tyo pull in one field and if it is blank use another?
For example :
In our LDAP we have givenName (representing first name) and otherName (representing the shorter variant of a preferred name - i.e. Bob instead of Robert).
Is it possible to use a conditional to specify to use otherName unless it is blank then user givenName?
Yes, Crowd uses a ContextMapper to map a directory context object to a Crowd domain object (Group or User). These context mappers are really just a simple map, that looks for a given key in the directory context, and if present sets the value of the key on the object.
The keys are the values you enter into the directory configuration screen, so really, you would need to provide some custom behaviour on the context mapper to allow for a conditional lookup to be performed.
Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot