SCIM Driver Issue: Matching Users is not working properly

Hello,

i am using SCIM driver to provision users to Hoxhunt (Cloud Application).

In the matching policy I have the matching rule:

	<rule>
		<description>Match User</description>
		<conditions>
			<and>
				<if-class-name mode="nocase" op="equal">User</if-class-name>
			</and>
		</conditions>
		<actions>
			<do-find-matching-object scope="subtree">
				<arg-match-attr name="snbCloudID">
					<arg-value type="string">
						<token-join>
							<token-split delimiter=" ">
								<token-src-attr name="snbCloudID"/>
							</token-split>
						</token-join>
					</arg-value>
				</arg-match-attr>
			</do-find-matching-object>
		</actions>
	</rule>

The attribute snbCloudID of user in Identity Vault is mapped to externalId in Hoxhunt.

	<attr-name class-name="User">
		<nds-name>snbCloudID</nds-name>
		<app-name>externalId</app-name>
	</attr-name>

Trying to match an existing user thows the error:

Message:  Code(-9062) Multiple matches found by object matching policy: 668270b0d1b3076e64dfdeee, 668270b0d1b3076e64dfdeee.

The driver runs in a remote loader und in the remote loader can be seen:

DirXML: [07/01/24 11:03:36.97]: TRACE:  : {"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"totalResults":1,"Resources":[{"id":"668270b0d1b3076e64dfdeee","schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],"meta":{"resourceType":"User","location":"https:\/\/app.hoxhunt.com\/services\/scim\/Users\/668270b0d1b3076e64dfdeee","created":"2024-07-01T09:02:40.602Z"},"userName":"Vjmna.Yqruryyn@devsnb.ch","name":{"givenName":"Vjmna","familyName":"Yqruryyn"},"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User":{"department":"3","division":"OE Zentrale IT Services","manager":null},"preferredLanguage":"de","addresses":[{"primary":true,"type":"work","country":null,"locality":"ZH"}],"emails":[{"primary":true,"type":"work","value":"Vjmna.Yqruryyn@devsnb.ch"}],"phoneNumbers":[{"primary":true,"type":"work","value":null}],"active":true,"externalId":"20yfcd","urn:ietf:params:scim:schemas:extension:hoxhunt:2.0:User":{"customAttribute1":"F","customAttribute2":"blabla2","customAttribute3":null,"customAttribute4":null,"customAttribute5":null,"customAttribute6":null,"customAttribute7":null,"customAttribute8":null,"customAttribute9":null,"customAttribute10":null}}]}
....

DirXML: [07/01/24 11:03:37.01]: TRACE:  <nds dtdversion="2.0" ndsversion="8.x">
	<source>
		<product build="20221116_0247" instance="Hoxhunt SCIM" version="1.0.1.0300">Identity Manager SCIM Driver</product>
		<contact>NetIQ Corporation</contact>
	</source>
	<output>
		<instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
			<association state="associated">668270b0d1b3076e64dfdeee</association>
		</instance>
		<instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
			<association state="associated">668270b0d1b3076e64dfdeee</association>
		</instance>
		<status event-id="0" level="error" type="driver-general">
			<description>java.lang.ClassCastException: com.fasterxml.jackson.databind.node.NullNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode</description>
		</status>
		<status event-id="0" level="success"/>
	</output>
</nds>

While DriverShim is returning the output instance twice, although the total results of REST call is one? 

Does anyone has experienced the same driver behavior? Is this a bug?

Thanks a lot!

Best regards,

Evanela

  • 0

    DirXML: [07/01/24 11:03:36.61]: TRACE:  <nds dtdversion="4.x" ndsversion="8.x">
    	<source>
    		<product version="1.0.1.0300">Identity Manager SCIM Driver</product>
    		<contact>NetIQ Corporation</contact>
    	</source>
    	<input>
    		<driver-operation-data class-name="urn:ietf:params:scim:schemas:core:2.0:User" command="query" is-sensitive="true"><!-- content suppressed -->
    		</driver-operation-data>
    	</input>
    </nds>
    DirXML: [07/01/24 11:03:36.61]: TRACE:  Hoxhunt SCIM__Scim: Submitting command document to rest subscriber shim
    DirXML: [07/01/24 11:03:36.61]: TRACE:  Hoxhunt SCIM__Scim: RESTSubscriptionShim.execute() :
    DirXML: [07/01/24 11:03:36.61]: TRACE:  Hoxhunt SCIM__Scim: queryHandler
    DirXML: [07/01/24 11:03:36.62]: TRACE:  Hoxhunt SCIM__Scim: queryHandler: class-name  == 'urn:ietf:params:scim:schemas:core:2.0:User'
    DirXML: [07/01/24 11:03:36.62]: TRACE:  Hoxhunt SCIM__Scim: Query: preparing GET to https://app.hoxhunt.com/services/scim/Users?filter=externalId+eq+%2220yfcd%22
    DirXML: [07/01/24 11:03:36.62]: TRACE:  Hoxhunt SCIM__Scim: Resetting headers
    DirXML: [07/01/24 11:03:36.62]: TRACE:  Hoxhunt SCIM__Scim: Setting the following HTTP request properties:
     Authorization: <content suppressed>
    DirXML: [07/01/24 11:03:36.62]: TRACE:  Hoxhunt SCIM__Scim: Did a HTTP GET with 0 bytes of data to https://app.hoxhunt.com/services/scim/Users?filter=externalId+eq+%2220yfcd%22
    DirXML: [07/01/24 11:03:36.62]: TRACE:  Hoxhunt SCIM__Scim: *******************************************************
    DirXML: [07/01/24 11:03:36.62]: TRACE:  Hoxhunt SCIM__Scim: **********************LOGGING REQUEST******************
    DirXML: [07/01/24 11:03:36.62]: TRACE:  Hoxhunt SCIM__Scim: *******************************************************
    DirXML: [07/01/24 11:03:36.63]: TRACE:  Hoxhunt SCIM__Scim: Request URL :https://app.hoxhunt.com/services/scim/Users?filter=externalId+eq+%2220yfcd%22
    DirXML: [07/01/24 11:03:36.63]: TRACE:  Hoxhunt SCIM__Scim: Http Method : GET
    DirXML: [07/01/24 11:03:36.63]: TRACE:  Hoxhunt SCIM__Scim: Sending http request with below headers :- 
    DirXML: [07/01/24 11:03:36.63]: TRACE:  Hoxhunt SCIM__Scim: Authorization: <content suppressed>
    DirXML: [07/01/24 11:03:36.63]: TRACE:  Hoxhunt SCIM__Scim: ***************************END**************************
    DirXML: [07/01/24 11:03:36.93]: TRACE:  Hoxhunt SCIM__Scim: ********************************************************
    DirXML: [07/01/24 11:03:36.93]: TRACE:  Hoxhunt SCIM__Scim: ***********************LOGGING RESPONSE*****************
    DirXML: [07/01/24 11:03:36.93]: TRACE:  Hoxhunt SCIM__Scim: ********************************************************
    DirXML: [07/01/24 11:03:36.93]: TRACE:  Hoxhunt SCIM__Scim: Http response code : 200
    DirXML: [07/01/24 11:03:36.93]: TRACE:  Hoxhunt SCIM__Scim: Http response status : HTTP/1.1 200 OK
    DirXML: [07/01/24 11:03:36.93]: TRACE:  Hoxhunt SCIM__Scim: Getting http response with below headers :- 
    DirXML: [07/01/24 11:03:36.93]: TRACE:  Hoxhunt SCIM__Scim: Date: Mon, 01 Jul 2024 09:03:36 GMT
    DirXML: [07/01/24 11:03:36.93]: TRACE:  Hoxhunt SCIM__Scim: Content-Type: application/json; charset=utf-8
    DirXML: [07/01/24 11:03:36.94]: TRACE:  Hoxhunt SCIM__Scim: Transfer-Encoding: chunked
    DirXML: [07/01/24 11:03:36.94]: TRACE:  Hoxhunt SCIM__Scim: Connection: keep-alive
    DirXML: [07/01/24 11:03:36.94]: TRACE:  Hoxhunt SCIM__Scim: CF-Ray: 89c5394f2d9ebe5e-ZRH
    DirXML: [07/01/24 11:03:36.94]: TRACE:  Hoxhunt SCIM__Scim: CF-Cache-Status: DYNAMIC
    DirXML: [07/01/24 11:03:36.94]: TRACE:  Hoxhunt SCIM__Scim: ETag: W/"4b2-WTTNfEgHklIxbFvTQ2EMElnZxnI"
    DirXML: [07/01/24 11:03:36.94]: TRACE:  Hoxhunt SCIM__Scim: Strict-Transport-Security: max-age=31536000
    DirXML: [07/01/24 11:03:36.94]: TRACE:  Hoxhunt SCIM__Scim: referer-policy: origin-when-cross-origin
    DirXML: [07/01/24 11:03:36.94]: TRACE:  Hoxhunt SCIM__Scim: x-content-type-options: nosniff
    DirXML: [07/01/24 11:03:36.94]: TRACE:  Hoxhunt SCIM__Scim: x-xss-protection: 1; mode=block
    DirXML: [07/01/24 11:03:36.94]: TRACE:  Hoxhunt SCIM__Scim: Vary: Accept-Encoding
    DirXML: [07/01/24 11:03:36.94]: TRACE:  Hoxhunt SCIM__Scim: Server: cloudflare
    DirXML: [07/01/24 11:03:36.94]: TRACE:  Hoxhunt SCIM__Scim: alt-svc: h3=":443"; ma=86400
    DirXML: [07/01/24 11:03:36.94]: TRACE:  Hoxhunt SCIM__Scim: Sending http response with body :- 
    DirXML: [07/01/24 11:03:36.95]: TRACE:  Hoxhunt SCIM__Scim: **********************END*****************************
    DirXML: [07/01/24 11:03:36.95]: TRACE:  Hoxhunt SCIM__Scim: Response code and message: 200 OK
    DirXML: [07/01/24 11:03:36.95]: TRACE:  Hoxhunt SCIM__Scim: Rest SubscriptionShim.execute() returns:
    DirXML: [07/01/24 11:03:36.95]: TRACE:  : Received response document from subscriber
    DirXML: [07/01/24 11:03:36.96]: TRACE:  <nds dtdversion="3.0">
    	<source>
    		<product build="20220829_0332" version="1.1.2.0400">Identity Manager REST Driver</product>
    		<contact>NetIQ Corporation.</contact>
    	</source>
    	<output>
    		<status level="success" type="driver-general">
    			<driver-operation-data class-name="urn:ietf:params:scim:schemas:core:2.0:User" command="query" dest-dn="" is-sensitive="true"><!-- content suppressed -->
    			</driver-operation-data>
    		</status>
    	</output>
    </nds>
    DirXML: [07/01/24 11:03:36.97]: TRACE:  : {"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"totalResults":1,"Resources":[{"id":"668270b0d1b3076e64dfdeee","schemas":["urn:ietf:params:scim:schemas:core:2.0:User","urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],"meta":{"resourceType":"User","location":"https:\/\/app.hoxhunt.com\/services\/scim\/Users\/668270b0d1b3076e64dfdeee","created":"2024-07-01T09:02:40.602Z"},"userName":"Vjmna.Yqruryyn@devsnb.ch","name":{"givenName":"Vjmna","familyName":"Yqruryyn"},"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User":{"department":"3","division":"OE Zentrale IT Services","manager":null},"preferredLanguage":"de","addresses":[{"primary":true,"type":"work","country":null,"locality":"ZH"}],"emails":[{"primary":true,"type":"work","value":"Vjmna.Yqruryyn@devsnb.ch"}],"phoneNumbers":[{"primary":true,"type":"work","value":null}],"active":true,"externalId":"20yfcd","urn:ietf:params:scim:schemas:extension:hoxhunt:2.0:User":{"customAttribute1":"F","customAttribute2":"blabla2","customAttribute3":null,"customAttribute4":null,"customAttribute5":null,"customAttribute6":null,"customAttribute7":null,"customAttribute8":null,"customAttribute9":null,"customAttribute10":null}}]}
    DirXML: [07/01/24 11:03:36.97]: TRACE:  : QueryHandler.process() object completed.
    DirXML: [07/01/24 11:03:36.97]: TRACE:  : Transaction() constructed.
    DirXML: [07/01/24 11:03:36.97]: TRACE:  : SCIMObject.appendXML() start
    DirXML: [07/01/24 11:03:36.97]: TRACE:  : JsonToXdsParser.populateDirxmlAttributes() started.
    DirXML: [07/01/24 11:03:36.97]: TRACE:  : JsonToXdsParser.populateDirxmlAttributes() completed.
    DirXML: [07/01/24 11:03:36.97]: TRACE:  : JsonToXdsParser.getJsonResources() started.
    DirXML: [07/01/24 11:03:36.97]: TRACE:  : JsonToXdsParser.getJsonResources() completed.
    DirXML: [07/01/24 11:03:36.98]: TRACE:  : JsonToXdsParser.getDirxmlAttributesFromResource() started.
    DirXML: [07/01/24 11:03:36.99]: TRACE:  : GenericScimResource() constructed from ObjectNode.
    DirXML: [07/01/24 11:03:37.00]: TRACE:  : SCIMObject.appendXML() start
    DirXML: [07/01/24 11:03:37.00]: TRACE:  : JsonToXdsParser.populateDirxmlAttributes() started.
    DirXML: [07/01/24 11:03:37.00]: TRACE:  : JsonToXdsParser.populateDirxmlAttributes() completed.
    DirXML: [07/01/24 11:03:37.00]: TRACE:  : JsonToXdsParser.getJsonResources() started.
    DirXML: [07/01/24 11:03:37.00]: TRACE:  : JsonToXdsParser.getJsonResources() completed.
    DirXML: [07/01/24 11:03:37.00]: TRACE:  : JsonToXdsParser.getDirxmlAttributesFromResource() started.
    DirXML: [07/01/24 11:03:37.00]: TRACE:  : GenericScimResource() constructed from ObjectNode.
    DirXML: [07/01/24 11:03:37.01]: TRACE:  : java.lang.ClassCastException: com.fasterxml.jackson.databind.node.NullNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode
    DirXML: [07/01/24 11:03:37.01]: TRACE:  : Transaction.queryHandler() completed.
    DirXML: [07/01/24 11:03:37.01]: TRACE:  : Transaction.resolve() completed.
    DirXML: [07/01/24 11:03:37.01]: TRACE:  : Transaction.resolve() no operations to perform.
    DirXML: [07/01/24 11:03:37.01]: TRACE:  : SCIMSubscriber.execute() completed.
    DirXML: [07/01/24 11:03:37.01]: TRACE:  Remote Loader: SubscriptionShim.execute() returned:
    DirXML: [07/01/24 11:03:37.01]: TRACE:  <nds dtdversion="2.0" ndsversion="8.x">
    	<source>
    		<product build="20221116_0247" instance="Hoxhunt SCIM" version="1.0.1.0300">Identity Manager SCIM Driver</product>
    		<contact>NetIQ Corporation</contact>
    	</source>
    	<output>
    		<instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
    			<association state="associated">668270b0d1b3076e64dfdeee</association>
    		</instance>
    		<instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
    			<association state="associated">668270b0d1b3076e64dfdeee</association>
    		</instance>
    		<status event-id="0" level="error" type="driver-general">
    			<description>java.lang.ClassCastException: com.fasterxml.jackson.databind.node.NullNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode</description>
    		</status>
    		<status event-id="0" level="success"/>
    	</output>
    </nds>
    DirXML: [07/01/24 11:03:37.01]: TRACE:  Remote Loader: Sending...
    DirXML: [07/01/24 11:03:37.02]: TRACE:  <nds dtdversion="2.0" ndsversion="8.x">
    	<source>
    		<product build="20221116_0247" instance="Hoxhunt SCIM" version="1.0.1.0300">Identity Manager SCIM Driver</product>
    		<contact>NetIQ Corporation</contact>
    	</source>
    	<output>
    		<instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
    			<association state="associated">668270b0d1b3076e64dfdeee</association>
    		</instance>
    		<instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
    			<association state="associated">668270b0d1b3076e64dfdeee</association>
    		</instance>
    		<status event-id="0" level="error" type="driver-general">
    			<description>java.lang.ClassCastException: com.fasterxml.jackson.databind.node.NullNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode</description>
    		</status>
    		<status event-id="0" level="success"/>
    	</output>
    </nds>
    DirXML: [07/01/24 11:03:37.02]: TRACE:  Remote Loader: Document sent.

  • 0

    [07/01/24 11:03:36.546]:Hoxhunt SCIM ST:Applying policy: %+C%14CNETQSCIMDCFG-sub-mp%-C.
    [07/01/24 11:03:36.546]:Hoxhunt SCIM ST:  Applying to add #1.
    [07/01/24 11:03:36.546]:Hoxhunt SCIM ST:    Evaluating selection criteria for rule 'veto out-of-scope events'.
    [07/01/24 11:03:36.546]:Hoxhunt SCIM ST:      (if-op-property 'attempt-to-match' not-available) = FALSE.
    [07/01/24 11:03:36.546]:Hoxhunt SCIM ST:      (if-op-property 'attempt-to-match' equal "false") = FALSE.
    [07/01/24 11:03:36.546]:Hoxhunt SCIM ST:    Rule rejected.
    [07/01/24 11:03:36.547]:Hoxhunt SCIM ST:    Evaluating selection criteria for rule 'Match User'.
    [07/01/24 11:03:36.547]:Hoxhunt SCIM ST:      (if-class-name equal "User") = TRUE.
    [07/01/24 11:03:36.547]:Hoxhunt SCIM ST:    Rule selected.
    [07/01/24 11:03:36.547]:Hoxhunt SCIM ST:    Applying rule 'Match User'.
    [07/01/24 11:03:36.547]:Hoxhunt SCIM ST:      Action: do-find-matching-object(scope="subtree",arg-match-attr("snbCloudID",token-join(token-split(" ",token-src-attr("snbCloudID"))))).
    [07/01/24 11:03:36.547]:Hoxhunt SCIM ST:        arg-match-attr("snbCloudID",token-join(token-split(" ",token-src-attr("snbCloudID"))))
    [07/01/24 11:03:36.547]:Hoxhunt SCIM ST:          arg-string(token-join(token-split(" ",token-src-attr("snbCloudID"))))
    [07/01/24 11:03:36.547]:Hoxhunt SCIM ST:            token-join(token-split(" ",token-src-attr("snbCloudID")))
    [07/01/24 11:03:36.547]:Hoxhunt SCIM ST:              token-join(token-split(" ",token-src-attr("snbCloudID")))
    [07/01/24 11:03:36.547]:Hoxhunt SCIM ST:                token-split(" ",token-src-attr("snbCloudID"))
    [07/01/24 11:03:36.547]:Hoxhunt SCIM ST:                  token-split(" ",token-src-attr("snbCloudID"))
    [07/01/24 11:03:36.547]:Hoxhunt SCIM ST:                    token-src-attr("snbCloudID")
    [07/01/24 11:03:36.548]:Hoxhunt SCIM ST:                      Query from policy
    [07/01/24 11:03:36.548]:Hoxhunt SCIM ST:
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.8.7.0100">DirXML</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <input>
        <query class-name="User" dest-dn="\SNB\data\users\yva" dest-entry-id="125022" scope="entry">
          <read-attr attr-name="snbCloudID"/>
        </query>
      </input>
    </nds>
    [07/01/24 11:03:36.548]:Hoxhunt SCIM ST:                      Pumping XDS to eDirectory.
    [07/01/24 11:03:36.548]:Hoxhunt SCIM ST:                      Performing operation query for \SNB\data\users\yva.
    [07/01/24 11:03:36.548]:Hoxhunt SCIM ST:                      --JCLNT-- \SNB\system\Driver Set\Hoxhunt SCIM : Duplicating : context = 1716585601, tempContext = 1716585421
    [07/01/24 11:03:36.549]:Hoxhunt SCIM ST:                      --JCLNT-- \SNB\system\Driver Set\Hoxhunt SCIM : Calling free on tempContext = 1716585421
    [07/01/24 11:03:36.549]:Hoxhunt SCIM ST:                      Query from policy result
    [07/01/24 11:03:36.549]:Hoxhunt SCIM ST:
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.8.7.0100">DirXML</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <output>
        <instance class-name="User" qualified-src-dn="O=data\OU=users\CN=yva" src-dn="\SNB\data\users\yva" src-entry-id="125022">
          <attr attr-name="snbCloudID">
            <value timestamp="1633099975#108" type="string">20yfcd</value>
          </attr>
        </instance>
        <status level="success"></status>
      </output>
    </nds>
    [07/01/24 11:03:36.549]:Hoxhunt SCIM ST:                      Token Value: "20yfcd".
    [07/01/24 11:03:36.550]:Hoxhunt SCIM ST:                    Arg Value: "20yfcd".
    [07/01/24 11:03:36.550]:Hoxhunt SCIM ST:                Token Value: {"20yfcd"}.
    [07/01/24 11:03:36.550]:Hoxhunt SCIM ST:                Arg Value: {"20yfcd"}.
    [07/01/24 11:03:36.550]:Hoxhunt SCIM ST:              Token Value: "20yfcd".
    [07/01/24 11:03:36.550]:Hoxhunt SCIM ST:            Arg Value: "20yfcd".
    [07/01/24 11:03:36.550]:Hoxhunt SCIM ST:        Query from policy
    [07/01/24 11:03:36.550]:Hoxhunt SCIM ST:
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.8.7.0100">DirXML</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <input>
        <query class-name="User" scope="subtree">
          <search-class class-name="User"/>
          <search-attr attr-name="snbCloudID">
            <value type="string">20yfcd</value>
          </search-attr>
          <read-attr/>
        </query>
      </input>
    </nds>
    [07/01/24 11:03:36.550]:Hoxhunt SCIM ST:        Fixing up association references.
    [07/01/24 11:03:36.550]:Hoxhunt SCIM ST:        Applying schema mapping policies to output.
    [07/01/24 11:03:36.550]:Hoxhunt SCIM ST:        Applying policy: %+C%14CNETQSCIM-smp-SchemaMapping%-C.
    [07/01/24 11:03:36.551]:Hoxhunt SCIM ST:          Mapping attr-name 'snbCloudID' to 'externalId'.
    [07/01/24 11:03:36.551]:Hoxhunt SCIM ST:          Mapping class-name 'User' to 'urn:ietf:params:scim:schemas:core:2.0:User'.
    [07/01/24 11:03:36.551]:Hoxhunt SCIM ST:          Mapping class-name 'User' to 'urn:ietf:params:scim:schemas:core:2.0:User'.
    [07/01/24 11:03:36.551]:Hoxhunt SCIM ST:        Applying output transformation policies.
    [07/01/24 11:03:36.551]:Hoxhunt SCIM ST:        Applying policy: %+C%14CNETQSCIMENT-otp-EntitlementsImpl%-C.
    [07/01/24 11:03:36.551]:Hoxhunt SCIM ST:          Applying to query #1.
    [07/01/24 11:03:36.551]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Intercept outbound queries for SCIMSystem'.
    [07/01/24 11:03:36.551]:Hoxhunt SCIM ST:              (if-class-name equal "SCIMSystem") = FALSE.
    [07/01/24 11:03:36.551]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:36.551]:Hoxhunt SCIM ST:        Policy returned:
    [07/01/24 11:03:36.551]:Hoxhunt SCIM ST:
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.8.7.0100">DirXML</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <input>
        <query class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0" scope="subtree">
          <search-class class-name="urn:ietf:params:scim:schemas:core:2.0:User"/>
          <search-attr attr-name="externalId">
            <value type="string">20yfcd</value>
          </search-attr>
          <read-attr/>
        </query>
      </input>
    </nds>
    [07/01/24 11:03:36.552]:Hoxhunt SCIM ST:        Applying policy: %+C%14CNETQSCIMJSON-otp-XDStoJSON%-C.
    [07/01/24 11:03:36.552]:Hoxhunt SCIM ST:          Applying to query #1.
    [07/01/24 11:03:36.552]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Translate XDS to JSON'.
    [07/01/24 11:03:36.552]:Hoxhunt SCIM ST:              (if-operation not-match "instance") = TRUE.
    [07/01/24 11:03:36.552]:Hoxhunt SCIM ST:              (if-operation not-equal "driver-operation-data") = TRUE.
    [07/01/24 11:03:36.552]:Hoxhunt SCIM ST:              (if-operation not-equal "scim-driver-operation-data") = TRUE.
    [07/01/24 11:03:36.552]:Hoxhunt SCIM ST:              (if-operation not-equal "delete") = TRUE.
    [07/01/24 11:03:36.552]:Hoxhunt SCIM ST:              (if-operation not-equal "query") = FALSE.
    [07/01/24 11:03:36.552]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:36.553]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Make JSON Hoxhunt compliant'.
    [07/01/24 11:03:36.553]:Hoxhunt SCIM ST:              (if-class-name equal "urn:ietf:params:scim:schemas:core:2.0:User") = TRUE.
    [07/01/24 11:03:36.553]:Hoxhunt SCIM ST:              (if-xpath true "boolean(./request/value)") = FALSE.
    [07/01/24 11:03:36.553]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:36.553]:Hoxhunt SCIM ST:        Policy returned:
    [07/01/24 11:03:36.553]:Hoxhunt SCIM ST:
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.8.7.0100">DirXML</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <input>
        <query class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0" scope="subtree">
          <search-class class-name="urn:ietf:params:scim:schemas:core:2.0:User"/>
          <search-attr attr-name="externalId">
            <value type="string">20yfcd</value>
          </search-attr>
          <read-attr/>
        </query>
      </input>
    </nds>
    [07/01/24 11:03:36.553]:Hoxhunt SCIM ST:        Submitting document to subscriber shim:
    [07/01/24 11:03:36.554]:Hoxhunt SCIM ST:
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.8.7.0100">DirXML</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <input>
        <query class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0" scope="subtree">
          <search-class class-name="urn:ietf:params:scim:schemas:core:2.0:User"/>
          <search-attr attr-name="externalId">
            <value type="string">20yfcd</value>
          </search-attr>
          <read-attr/>
        </query>
      </input>
    </nds>
    [07/01/24 11:03:36.554]:Hoxhunt SCIM ST:        Remote Interface Driver: Sending...
    [07/01/24 11:03:36.554]:Hoxhunt SCIM ST:
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.8.7.0100">DirXML</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <input>
        <query class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0" scope="subtree">
          <search-class class-name="urn:ietf:params:scim:schemas:core:2.0:User"/>
          <search-attr attr-name="externalId">
            <value type="string">20yfcd</value>
          </search-attr>
          <read-attr/>
        </query>
      </input>
    </nds>
    [07/01/24 11:03:36.554]:Hoxhunt SCIM ST:        Remote Interface Driver: Document sent.
    [07/01/24 11:03:36.555]:Hoxhunt SCIM ST:        Remote Interface Driver: Waiting for receive...
    [07/01/24 11:03:37.021]:Hoxhunt SCIM ST:        Remote Interface Driver: Received
    [07/01/24 11:03:37.021]:Hoxhunt SCIM ST:
    <nds dtdversion="2.0" ndsversion="8.x">
      <source>
        <product build="20221116_0247" instance="Hoxhunt SCIM" version="1.0.1.0300">Identity Manager SCIM Driver</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <output>
        <instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
          <association state="associated">668270b0d1b3076e64dfdeee</association>
        </instance>
        <instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
          <association state="associated">668270b0d1b3076e64dfdeee</association>
        </instance>
        <status event-id="0" level="error" type="driver-general">
          <description>java.lang.ClassCastException: com.fasterxml.jackson.databind.node.NullNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode</description>
        </status>
        <status event-id="0" level="success"/>
      </output>
    </nds>
    [07/01/24 11:03:37.022]:Hoxhunt SCIM ST:        Remote Interface Driver: Received command: SUBSCRIBER REPLY(10).
    [07/01/24 11:03:37.022]:Hoxhunt SCIM ST:        SubscriptionShim.execute() returned:
    [07/01/24 11:03:37.022]:Hoxhunt SCIM ST:
    <nds dtdversion="2.0" ndsversion="8.x">
      <source>
        <product build="20221116_0247" instance="Hoxhunt SCIM" version="1.0.1.0300">Identity Manager SCIM Driver</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <output>
        <instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
          <association state="associated">668270b0d1b3076e64dfdeee</association>
        </instance>
        <instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
          <association state="associated">668270b0d1b3076e64dfdeee</association>
        </instance>
        <status event-id="0" level="error" type="driver-general">
          <description>java.lang.ClassCastException: com.fasterxml.jackson.databind.node.NullNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode</description>
        </status>
        <status event-id="0" level="success"/>
      </output>
    </nds>
    [07/01/24 11:03:37.023]:Hoxhunt SCIM ST:        Applying input transformation policies.
    [07/01/24 11:03:37.023]:Hoxhunt SCIM ST:        Applying policy: %+C%14CNETQSCIMENT-itp-EntitlementsImpl%-C.
    [07/01/24 11:03:37.023]:Hoxhunt SCIM ST:          Applying to instance #1.
    [07/01/24 11:03:37.023]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Intercept SCIM System (tagged identity query) query response'.
    [07/01/24 11:03:37.024]:Hoxhunt SCIM ST:              (if-operation equal "instance") = TRUE.
    [07/01/24 11:03:37.024]:Hoxhunt SCIM ST:              (if-class-name equal "__driver_identification_class__") = FALSE.
    [07/01/24 11:03:37.024]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.024]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Intercept SCIM System (tagged identity query) query status'.
    [07/01/24 11:03:37.024]:Hoxhunt SCIM ST:              (if-xpath true "../status[@event-id='query-driver-ident']/operation-data/@UserAccountEntitlementQuery") = FALSE.
    [07/01/24 11:03:37.024]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.024]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Check target of add-association for group membership entitlements'.
    [07/01/24 11:03:37.024]:Hoxhunt SCIM ST:              (if-global-variable 'drv.entitlement.Group' equal "true") = FALSE.
    [07/01/24 11:03:37.024]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.024]:Hoxhunt SCIM ST:          Applying to instance #2.
    [07/01/24 11:03:37.024]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Intercept SCIM System (tagged identity query) query response'.
    [07/01/24 11:03:37.024]:Hoxhunt SCIM ST:              (if-operation equal "instance") = TRUE.
    [07/01/24 11:03:37.025]:Hoxhunt SCIM ST:              (if-class-name equal "__driver_identification_class__") = FALSE.
    [07/01/24 11:03:37.025]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.025]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Intercept SCIM System (tagged identity query) query status'.
    [07/01/24 11:03:37.025]:Hoxhunt SCIM ST:              (if-xpath true "../status[@event-id='query-driver-ident']/operation-data/@UserAccountEntitlementQuery") = FALSE.
    [07/01/24 11:03:37.025]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.025]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Check target of add-association for group membership entitlements'.
    [07/01/24 11:03:37.025]:Hoxhunt SCIM ST:              (if-global-variable 'drv.entitlement.Group' equal "true") = FALSE.
    [07/01/24 11:03:37.025]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.025]:Hoxhunt SCIM ST:          Applying to status #3.
    [07/01/24 11:03:37.025]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Intercept SCIM System (tagged identity query) query response'.
    [07/01/24 11:03:37.025]:Hoxhunt SCIM ST:              (if-operation equal "instance") = FALSE.
    [07/01/24 11:03:37.025]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.026]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Intercept SCIM System (tagged identity query) query status'.
    [07/01/24 11:03:37.026]:Hoxhunt SCIM ST:              (if-xpath true "../status[@event-id='query-driver-ident']/operation-data/@UserAccountEntitlementQuery") = FALSE.
    [07/01/24 11:03:37.026]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.026]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Check target of add-association for group membership entitlements'.
    [07/01/24 11:03:37.026]:Hoxhunt SCIM ST:              (if-global-variable 'drv.entitlement.Group' equal "true") = FALSE.
    [07/01/24 11:03:37.026]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.026]:Hoxhunt SCIM ST:          Applying to status #4.
    [07/01/24 11:03:37.026]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Intercept SCIM System (tagged identity query) query response'.
    [07/01/24 11:03:37.026]:Hoxhunt SCIM ST:              (if-operation equal "instance") = FALSE.
    [07/01/24 11:03:37.026]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.026]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Intercept SCIM System (tagged identity query) query status'.
    [07/01/24 11:03:37.027]:Hoxhunt SCIM ST:              (if-xpath true "../status[@event-id='query-driver-ident']/operation-data/@UserAccountEntitlementQuery") = FALSE.
    [07/01/24 11:03:37.027]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.027]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Check target of add-association for group membership entitlements'.
    [07/01/24 11:03:37.027]:Hoxhunt SCIM ST:              (if-global-variable 'drv.entitlement.Group' equal "true") = FALSE.
    [07/01/24 11:03:37.027]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.027]:Hoxhunt SCIM ST:        Policy returned:
    [07/01/24 11:03:37.027]:Hoxhunt SCIM ST:
    <nds dtdversion="2.0" ndsversion="8.x">
      <source>
        <product build="20221116_0247" instance="Hoxhunt SCIM" version="1.0.1.0300">Identity Manager SCIM Driver</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <output>
        <instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
          <association state="associated">668270b0d1b3076e64dfdeee</association>
        </instance>
        <instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
          <association state="associated">668270b0d1b3076e64dfdeee</association>
        </instance>
        <status event-id="0" level="error" type="driver-general">
          <description>java.lang.ClassCastException: com.fasterxml.jackson.databind.node.NullNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode</description>
        </status>
        <status event-id="0" level="success"/>
      </output>
    </nds>
    [07/01/24 11:03:37.028]:Hoxhunt SCIM ST:        Applying policy: %+C%14CNETQSCIMDCFG-itp-AppendingAssociationRef%-C.
    [07/01/24 11:03:37.028]:Hoxhunt SCIM ST:          Applying to instance #1.
    [07/01/24 11:03:37.028]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Add User'.
    [07/01/24 11:03:37.028]:Hoxhunt SCIM ST:              (if-operation equal "add") = FALSE.
    [07/01/24 11:03:37.028]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.028]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Modify User'.
    [07/01/24 11:03:37.028]:Hoxhunt SCIM ST:              (if-operation equal "modify") = FALSE.
    [07/01/24 11:03:37.028]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.028]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Add Group'.
    [07/01/24 11:03:37.029]:Hoxhunt SCIM ST:              (if-operation equal "add") = FALSE.
    [07/01/24 11:03:37.029]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.029]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Modify Group'.
    [07/01/24 11:03:37.029]:Hoxhunt SCIM ST:              (if-operation equal "modify") = FALSE.
    [07/01/24 11:03:37.029]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.029]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Appending <association-ref> for Group Membership in User Migration'.
    [07/01/24 11:03:37.029]:Hoxhunt SCIM ST:              (if-class-name equal "urn:ietf:params:scim:schemas:core:2.0:User") = TRUE.
    [07/01/24 11:03:37.029]:Hoxhunt SCIM ST:              (if-xpath true "./attr[@attr-name='groups:value']") = FALSE.
    [07/01/24 11:03:37.029]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.029]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Appending <association-ref> for Member in Group Migration'.
    [07/01/24 11:03:37.029]:Hoxhunt SCIM ST:              (if-class-name equal "urn:ietf:params:scim:schemas:core:2.0:Group") = FALSE.
    [07/01/24 11:03:37.029]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.030]:Hoxhunt SCIM ST:          Applying to instance #2.
    [07/01/24 11:03:37.030]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Add User'.
    [07/01/24 11:03:37.030]:Hoxhunt SCIM ST:              (if-operation equal "add") = FALSE.
    [07/01/24 11:03:37.030]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.030]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Modify User'.
    [07/01/24 11:03:37.030]:Hoxhunt SCIM ST:              (if-operation equal "modify") = FALSE.
    [07/01/24 11:03:37.030]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.030]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Add Group'.
    [07/01/24 11:03:37.030]:Hoxhunt SCIM ST:              (if-operation equal "add") = FALSE.
    [07/01/24 11:03:37.030]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.030]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Modify Group'.
    [07/01/24 11:03:37.030]:Hoxhunt SCIM ST:              (if-operation equal "modify") = FALSE.
    [07/01/24 11:03:37.030]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.031]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Appending <association-ref> for Group Membership in User Migration'.
    [07/01/24 11:03:37.031]:Hoxhunt SCIM ST:              (if-class-name equal "urn:ietf:params:scim:schemas:core:2.0:User") = TRUE.
    [07/01/24 11:03:37.031]:Hoxhunt SCIM ST:              (if-xpath true "./attr[@attr-name='groups:value']") = FALSE.
    [07/01/24 11:03:37.031]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.031]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Appending <association-ref> for Member in Group Migration'.
    [07/01/24 11:03:37.031]:Hoxhunt SCIM ST:              (if-class-name equal "urn:ietf:params:scim:schemas:core:2.0:Group") = FALSE.
    [07/01/24 11:03:37.031]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.031]:Hoxhunt SCIM ST:          Applying to status #3.
    [07/01/24 11:03:37.031]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Add User'.
    [07/01/24 11:03:37.031]:Hoxhunt SCIM ST:              (if-operation equal "add") = FALSE.
    [07/01/24 11:03:37.031]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.031]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Modify User'.
    [07/01/24 11:03:37.032]:Hoxhunt SCIM ST:              (if-operation equal "modify") = FALSE.
    [07/01/24 11:03:37.032]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.032]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Add Group'.
    [07/01/24 11:03:37.032]:Hoxhunt SCIM ST:              (if-operation equal "add") = FALSE.
    [07/01/24 11:03:37.032]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.032]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Modify Group'.
    [07/01/24 11:03:37.032]:Hoxhunt SCIM ST:              (if-operation equal "modify") = FALSE.
    [07/01/24 11:03:37.032]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.032]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Appending <association-ref> for Group Membership in User Migration'.
    [07/01/24 11:03:37.032]:Hoxhunt SCIM ST:              (if-class-name equal "urn:ietf:params:scim:schemas:core:2.0:User") = FALSE.
    [07/01/24 11:03:37.032]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.032]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Appending <association-ref> for Member in Group Migration'.
    [07/01/24 11:03:37.033]:Hoxhunt SCIM ST:              (if-class-name equal "urn:ietf:params:scim:schemas:core:2.0:Group") = FALSE.
    [07/01/24 11:03:37.033]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.033]:Hoxhunt SCIM ST:          Applying to status #4.
    [07/01/24 11:03:37.033]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Add User'.
    [07/01/24 11:03:37.033]:Hoxhunt SCIM ST:              (if-operation equal "add") = FALSE.
    [07/01/24 11:03:37.033]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.033]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Modify User'.
    [07/01/24 11:03:37.033]:Hoxhunt SCIM ST:              (if-operation equal "modify") = FALSE.
    [07/01/24 11:03:37.033]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.033]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Add Group'.
    [07/01/24 11:03:37.033]:Hoxhunt SCIM ST:              (if-operation equal "add") = FALSE.
    [07/01/24 11:03:37.033]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.033]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Append <association-ref> for Modify Group'.
    [07/01/24 11:03:37.034]:Hoxhunt SCIM ST:              (if-operation equal "modify") = FALSE.
    [07/01/24 11:03:37.034]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.034]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Appending <association-ref> for Group Membership in User Migration'.
    [07/01/24 11:03:37.034]:Hoxhunt SCIM ST:              (if-class-name equal "urn:ietf:params:scim:schemas:core:2.0:User") = FALSE.
    [07/01/24 11:03:37.034]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.034]:Hoxhunt SCIM ST:            Evaluating selection criteria for rule 'Appending <association-ref> for Member in Group Migration'.
    [07/01/24 11:03:37.034]:Hoxhunt SCIM ST:              (if-class-name equal "urn:ietf:params:scim:schemas:core:2.0:Group") = FALSE.
    [07/01/24 11:03:37.034]:Hoxhunt SCIM ST:            Rule rejected.
    [07/01/24 11:03:37.034]:Hoxhunt SCIM ST:        Policy returned:
    [07/01/24 11:03:37.034]:Hoxhunt SCIM ST:
    <nds dtdversion="2.0" ndsversion="8.x">
      <source>
        <product build="20221116_0247" instance="Hoxhunt SCIM" version="1.0.1.0300">Identity Manager SCIM Driver</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <output>
        <instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
          <association state="associated">668270b0d1b3076e64dfdeee</association>
        </instance>
        <instance class-name="urn:ietf:params:scim:schemas:core:2.0:User" event-id="0">
          <association state="associated">668270b0d1b3076e64dfdeee</association>
        </instance>
        <status event-id="0" level="error" type="driver-general">
          <description>java.lang.ClassCastException: com.fasterxml.jackson.databind.node.NullNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode</description>
        </status>
        <status event-id="0" level="success"/>
      </output>
    </nds>
    [07/01/24 11:03:37.035]:Hoxhunt SCIM ST:        Applying schema mapping policies to input.
    [07/01/24 11:03:37.035]:Hoxhunt SCIM ST:        Applying policy: %+C%14CNETQSCIM-smp-SchemaMapping%-C.
    [07/01/24 11:03:37.035]:Hoxhunt SCIM ST:          Mapping class-name 'urn:ietf:params:scim:schemas:core:2.0:User' to 'User'.
    [07/01/24 11:03:37.035]:Hoxhunt SCIM ST:          Mapping class-name 'urn:ietf:params:scim:schemas:core:2.0:User' to 'User'.
    [07/01/24 11:03:37.035]:Hoxhunt SCIM ST:        Resolving association references.
    [07/01/24 11:03:37.036]:Hoxhunt SCIM ST:        Query from policy result
    [07/01/24 11:03:37.036]:Hoxhunt SCIM ST:
    <nds dtdversion="2.0" ndsversion="8.x">
      <source>
        <product build="20221116_0247" instance="Hoxhunt SCIM" version="1.0.1.0300">Identity Manager SCIM Driver</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <output>
        <instance class-name="User" event-id="0">
          <association state="associated">668270b0d1b3076e64dfdeee</association>
        </instance>
        <instance class-name="User" event-id="0">
          <association state="associated">668270b0d1b3076e64dfdeee</association>
        </instance>
        <status event-id="0" level="error" type="driver-general">
          <description>java.lang.ClassCastException: com.fasterxml.jackson.databind.node.NullNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode</description>
        </status>
        <status event-id="0" level="success"/>
      </output>
    </nds>
    [07/01/24 11:03:37.037]:Hoxhunt SCIM ST:        Match found: src-dn='' association='668270b0d1b3076e64dfdeee'
    [07/01/24 11:03:37.037]:Hoxhunt SCIM ST:        Match found: src-dn='' association='668270b0d1b3076e64dfdeee'
    [07/01/24 11:03:37.037]:Hoxhunt SCIM ST:Policy returned:
    [07/01/24 11:03:37.037]:Hoxhunt SCIM ST:
    <nds dtdversion="4.0" ndsversion="8.x">
      <source>
        <product edition="Advanced" version="4.8.7.0100">DirXML</product>
        <contact>NetIQ Corporation</contact>
      </source>
      <input>
        <add cached-time="20240701090336.494Z" class-name="User" event-id="schari1b#20240701090336#1#4:16d8f8ac-518e-48d7-b0a7-acf8d8168e51" qualified-src-dn="O=data\OU=users\CN=yva" src-dn="\SNB\data\users\yva" src-entry-id="125022" timestamp="1719824616#3">
          <association>668270b0d1b3076e64dfdeee</association>
          <association>668270b0d1b3076e64dfdeee</association>
          <add-attr attr-name="city">
            <value timestamp="1633099975#19" type="string">BE</value>
          </add-attr>
          <add-attr attr-name="departmentNumber">
            <value timestamp="1633099975#9" type="string">2263</value>
          </add-attr>
          <add-attr attr-name="DirXML-EntitlementRef">
            <value timestamp="1719824616#3" type="structured">
              <component name="nameSpace">1</component>
              <component name="volume">\SNB\system\Driver Set\Hoxhunt SCIM\UserAccount</component>
              <component name="path.xml">
                <ref>
        <src>UA</src>
        <id/>
        <param>{"ID":"Hoxhunt"}</param>
    </ref>
              </component>
            </value>
          </add-attr>
          <add-attr attr-name="Given Name">
            <value timestamp="1633099975#12" type="string">Yqruryyn</value>
          </add-attr>
          <add-attr attr-name="Internet EMail Address">
            <value timestamp="1642189436#1" type="string">Yqruryyn.Vjmna@devsnb.ch</value>
          </add-attr>
          <add-attr attr-name="OU">
            <value timestamp="1633099975#8" type="string">Sicherheitsdienst Bern</value>
          </add-attr>
          <add-attr attr-name="preferredLanguage">
            <value timestamp="1633099975#22" type="string">DE</value>
          </add-attr>
          <add-attr attr-name="snbCloudID">
            <value timestamp="1633099975#108" type="string">20yfcd</value>
          </add-attr>
          <add-attr attr-name="Surname">
            <value timestamp="1633099975#11" type="string">Vjmna</value>
          </add-attr>
          <operation-data attempt-to-match="true" error.do-find-matching-object="668270b0d1b3076e64dfdeee, 668270b0d1b3076e64dfdeee"/>
        </add>
      </input>
    </nds>
    [07/01/24 11:03:37.039]:Hoxhunt SCIM ST:Processing returned document.
    [07/01/24 11:03:37.039]:Hoxhunt SCIM ST:Processing operation <status> for .
    [07/01/24 11:03:37.039]:Hoxhunt SCIM ST:
    DirXML Log Event -------------------
         Driver:   \SNB\system\Driver Set\Hoxhunt SCIM
         Channel:  Subscriber
         Object:   \SNB\data\users\yva
         Status:   Error
         Message:  Code(-9062) Multiple matches found by object matching policy: 668270b0d1b3076e64dfdeee, 668270b0d1b3076e64dfdeee.
    [07/01/24 11:03:37.040]:Hoxhunt SCIM ST:End transaction.
    

  • 0   in reply to 

    So if grab line 65, which is the raw JSON and format it, you see it only gets one object and then the built in JSON parser has an issue with it.

    {
       "schemas":[
          "urn:ietf:params:scim:api:messages:2.0:ListResponse"
       ],
       "totalResults":1,
       "Resources":[
          {
             "id":"668270b0d1b3076e64dfdeee",
             "schemas":[
                "urn:ietf:params:scim:schemas:core:2.0:User",
                "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
             ],
             "meta":{
                "resourceType":"User",
                "location":"https:\/\/app.hoxhunt.com\/services\/scim\/Users\/668270b0d1b3076e64dfdeee",
                "created":"2024-07-01T09:02:40.602Z"
             },
             "userName":"Vjmna.Yqruryyn@devsnb.ch",
             "name":{
                "givenName":"Vjmna",
                "familyName":"Yqruryyn"
             },
             "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User":{
                "department":"3",
                "division":"OE Zentrale IT Services",
                "manager":null
             },
             "preferredLanguage":"de",
             "addresses":[
                {
                   "primary":true,
                   "type":"work",
                   "country":null,
                   "locality":"ZH"
                }
             ],
             "emails":[
                {
                   "primary":true,
                   "type":"work",
                   "value":"Vjmna.Yqruryyn@devsnb.ch"
                }
             ],
             "phoneNumbers":[
                {
                   "primary":true,
                   "type":"work",
                   "value":null
                }
             ],
             "active":true,
             "externalId":"20yfcd",
             "urn:ietf:params:scim:schemas:extension:hoxhunt:2.0:User":{
                "customAttribute1":"F",
                "customAttribute2":"blabla2",
                "customAttribute3":null,
                "customAttribute4":null,
                "customAttribute5":null,
                "customAttribute6":null,
                "customAttribute7":null,
                "customAttribute8":null,
                "customAttribute9":null,
                "customAttribute10":null
             }
          }
       ]
    }

    So now the question is, what is wrong with that JSON or the JSON parser that gives this result...

  • 0 in reply to   

    Good question. I think only OpenText IDM Engineers can debug it. I will file a new case for the OpenText support

  • 0   in reply to   

    Hi Evanela,

    the Resources[0].schema array in the response is missing the custom "urn:ietf:params:scim:schemas:extension:hoxhunt:2.0:User" namespace value. That might throw off the parser. 

    One would have to setup a mock endpoint to return a correct SCIM response and see if that affects parsing.

  • 0   in reply to   

    Or use the REST driver which makes it "simpler" to workaround such issues Stuck out tongue winking eye

  • 0 in reply to   

    if "manager":null, JSON parser can not handle the JSON File correctly.

    That was a bug that was corrected recently, with SCIM Driver Version 1.1.0.0000.

    Finally problem solved.

  • 0   in reply to 

    I do not know why it did not occur to me earlier, but you could just strip one of the results in the itp policy (for example iterate through all instances and remove all the others with the same association). That would be a bit dirtier fix though, but if anyone has a similar problem in the future, he might fix it temporarily like this.