In some cases, user names supplied via client service authentication (e.g. Windows sAMAccountName) may not have the same format as the users in the document ACLs (e.g. email address). As a result, the authorization does not work properly and users do not find their documents for which they would be authorized in principle. To correctly authorize these search hits, the user names must be converted.
Activate the plugin for each desired index in the Management Center Configuration:
The CSV file to be used for username replacement must have exactly two columns. The first column defines the RegEx rule (Java RegEx) for the username (or its LDAP attribute). If a rule matches the username, the username will be replaced with the value of the second column.
e.g. the following rule converts testlab\betra.brunner to betra.burnner@testlab
(.+*)\\(.+*);$1@$2
If there are multiple rules in the CSV file, all of them are compared with the user name. In this case the last matching rule will be applied.