Make "Scrub known-sensitive settings from EMF.getProperties()" configurable

Description

Since HHH-8122, the values of javax.persistence.jdbc.password and hibernate.connection.password are "masked" with ****.

This breaks components re-using that information for data initialization etc.
In my case it is a JUnit rule which triggers Liquibase. In that test scenario, the password is not sensitive at all!

Please introduce a new EMF property to control whether or not to "scrub" settings (default value can be true).

Environment

None

Assignee

Unassigned

Reporter

Falko Modler

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure