Accentuated characters wrongly encoded for Security Principal Credentials configured in alfresco-global.properties

Description

When configuring ldap synchronisation via alfresco-global.properties the parameter

ldap.synchronization.java.naming.security.credentials

is wrongly encoded when containing accents.

Supporting evidence

Steps to reproduce

  1. Configure LDAP's server administrative user password with an accentuated character (for example "Pass-é").

  2. Configure alfresco-global.properties accordingly :
    ...
    ldap.synchronization.java.naming.security.credentials=Pass-é
    ...

  3. Start Alfresco

Expected Behaviour

Synchronizing with ldap directory.

Observed Behaviour

Palliative
Use unicode, in the previous example, in order to use the password "Pass-é", alfresco-global.properties must contain :
ldap.synchronization.java.naming.security.credentials=Pass-\u00E9

Environment

None

Testcase ID

None

Assignee

Unassigned

Reporter

Pierre Bouchard

Labels

None

Escalated By

None

Security Issue

None

ACT Numbers

00362451

Premier Customer

Yes

Code Branch

None

Build Location

None

Regression Since

None

Work Funnel End

None

Patch Attached

None

Dependent Version/s

None

Cloud or Enterprise

None

Prioritization Score

None

Delivery Team

None

Bug Priority

Category 4

Components

Fix versions

Affects versions