Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-3912

XML Configuration Ressource Synchronize Creating user by specific template

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5 (Einstein)
    • Fix Version/s: backlog
    • Component/s: Connectors
    • Labels:
      None

      Description

      Configuring the Synchronization-Part in Ressource for CSV Connector, when unmatched a user should be creatd and a specific User Template should be used.

      Suggested in several parts by Wiki (e.g. Ressource Configuration - "LDAP example")
      <reaction>
      <situation>unmatched</situation>
      <action>
      <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-2#addUser</handlerUri>
      <!-- Reference to the User Template is here. If the user would be
      created as a result of this action, it will be created according
      to this template. -->

      <userTemplateRef oid="c0c010c0-d34d-b33f-f00d-777222222222"/>
      </action>
      </reaction>

      => Failed, User template did not participate

      Instead this worked (found in wiki Developer zone>Testing>Test scenarios >Object Template Test>#5>Soruce Code) when User template was placed one node above action.

      <synchronization>
      ...
      <reaction>
      <situation>unmatched</situation>
      <objectTemplateRef oid="c0c010c0-d34d-b33f-f00d-777222222222"/>
      <action>
      <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addUser</handlerUri>
      </action>

      </reaction>
      ...
      </synchronization>

      Not sure what is supposed to be. According to shemadoc (http://athena.evolveum.com/builds/master/latest/schemadoc/http---midpoint-evolveum-com-xml-ns-public-common-common-3/type/ObjectSynchronizationType.html) both should work.

      I already wanted to change the wiki, but have not received requested WIKI Acount yet. Now I found both possibilites in Schemedoc and am confused.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Alexander.Stumpf@zeta.com Alexander Stumpf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: