zonkyio / embedded-postgres

Java embedded PostgreSQL component for testing
Apache License 2.0
352 stars 47 forks source link

Allow running postgres in different authentication modes #55

Closed NikolayMetchev closed 3 years ago

NikolayMetchev commented 3 years ago

At the moment Embedded postgres runs in trust mode. However I would like to test our password changing code and cannot do so if the server doesn't reject logins with incorrect passwords.

Other modes are documented here: https://www.postgresql.org/docs/10/auth-pg-hba-conf.html

tomix26 commented 3 years ago

I think this is a fairly rare test scenario that only a few people will use. Therefore, I see no reason to implement this task. It's not worth the effort.

tomix26 commented 3 years ago

But feel free to reopen the issue if you have a different opinion.