Skip to end of metadata
Go to start of metadata

Some connectors have string values for configuration items that should be protected, e.g. passwords. While this is clear problem of the connector there is a way how to work around that in midPoint. The basic idea is to manually change the type of the configuration item in the connector schema.

Find the Connector

In Configuration > Repository objects find the appropriate connector object. It contains a <xsd:schema> section. Find the problematic configuration item definition in the schema:

Note the type definition: type="xsd:string".

Correct the type

Edit the schema by replacing the string type with ProtectedStringType:

Make sure that the appropariate namespace prefix is defined (the c prefix in this case):

Fix resource definitions

Instead of using string in the resource definition use protected strings as usual:

The value will be encrypted as usual when such resource definition in imported.

  • No labels