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

impossible to create shadow account when creating user

    XMLWordPrintable

    Details

      Description

      I try to create an shadow account when creating a user.
      I found some xml in the doc but it fail

      <mapping>
      <strength>strong</strength>
      <expression>
      <value>
      <assignment>
      <construction>
      <resourceRef oid="0e70c40e-d952-45ee-9780-10845afdc126" type="ResourceType"/>
      </construction>
      </assignment>
      </value>
      </expression>
      <target>
      <path>assignment</path>
      </target>
      </mapping>

      Actions:
      • using the Complex User Template , from the midpoint git.
      • only use the account create part.
      • import the file in midpoint
      • create new user

      Error (see file) : Message
      Item

      {http://midpoint.evolveum.com/xml/ns/public/common/common-3}

      assignment has no definition (in container value CTD (

      {.../common/common-3}

      AssignmentType))while parsing (

      {...common/common-3}assignment => ( {...common/common-3}

      construction => (

      {...common/common-3}

      resourceRef => ( oid => parser ValueParser(DOMa, oid: 0e70c40e-d952-45ee-9780-10845afdc126) type => parser ValueParser(DOMa, type: ResourceType) ) ) ) )

      When : trying to create user

        Attachments

        1. result
          19 kB
        2. test.xml
          4 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              shaquet Haquet Serge
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: