By default the user directories configured in Confluence (ADMINISTRATION > USERS & SECURITY > User Directories) are used to fill the user profiles. Alternatively, you can define an XML file containing user profile data. You can find these settings under ADMINISTRATION > CUSTOM USER PROFILE > DATA SOURCES and the tab XML.
Configure the XML import
You can import additional user profile data from an XML file (e.g., exported from SAP IDM).
The XML file needs to comply with the following format:
URL of a XML file with user profile data HTTP is recommended, other protocols like HTTPS are unsupported Make sure the file has the UTF-8 preamble to get special chars encoded right. Also the server should provide UTF-8 files.
The XML node containing the profile data for a user In this case "identity"
XML node containing the Confluence username In this case the sync will only be done for the confluence user with the name "admin"
XML Profile Field
In order to use the additional profile data, you need to configure user profile fields of the type "Retrieved from XML" with the desired tag names ("department" or "team" in the example). See the CUP - Profile-Editor 1.13 page.
Please note: If the xml file contains a value for these fields, the user can't edit these field by themselves.
CUP: Bulk profile update (XML sync)
Then, you are ready to trigger the XML import by starting the job "CUP: Bulk profile update (XML sync)" in the scheduled jobs section of the Confluence administration interface. You can also configure the job to run regularly.