ConnId Result Handlers

Last modified 13 Mar 2023 15:51 +01:00

ConnId result handlers are an artifact of an original Identity Connector Framework over-engineering. The handlers are supposed to assist connectors by implementing "mechanism" that the connector or resource does not support - such as search result filtering, data normalization and so on. However, these handlers are too generic, and they know nothing about the particulars of the resource that the connector connects to. Therefore, in vast majority of cases, these handlers just get in the way, and they distort the data. Good connectors usually do not need these handlers at all.

Since midPoint 4.7 the result handlers are disabled by default.

In older midPoint versions the handlers were enabled by default. As there is no way for a connector to tell the framework to turn them off, the handlers needed to be explicitly disabled in the resource configuration:

<resource>
    ...
    <connectorConfiguration>
        ...
        <icfc:resultsHandlerConfiguration>
            <icfc:enableNormalizingResultsHandler>false</icfc:enableNormalizingResultsHandler>
            <icfc:enableFilteredResultsHandler>false</icfc:enableFilteredResultsHandler>
            <icfc:enableAttributesToGetSearchResultsHandler>false</icfc:enableAttributesToGetSearchResultsHandler>
        </icfc:resultsHandlerConfiguration>
    </connectorConfiguration>
    ...
</resource>

We strongly recommend to disable all the handlers when working with well-designed connectors in general and when working with our LDAP or AD/LDAP connectors in particular.

Was this page helpful?
YES NO
Thanks for your feedback