You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CIAM-1495] Explicitly add "com.ongres.scram.client" module as a dependency to
the PostgreSQL's "org.postgresql" module to prevent
"java.lang.ClassNotFoundException" errors if using PostgreSQL JDBC client with
SCRAM-SHA-256 password authentication method. See:
* pgjdbc/pgjdbc@befea18
* pgjdbc/pgjdbc@1a89290
for more details about the extra Ongres SCRAM library dependency,
required by the PostgreSQL JDBC driver, but not packaged into the
PostgreSQL driver by default.
This should fix errors like:
Caused by: java.lang.ClassNotFoundException: com.ongres.scram.common.stringprep.StringPreparation from [Module "org.postgresql" version 42.2.3 from local module loader @59a62269 (finder: local module finder @5644c1b1 (roots: /opt/eap/modules,/opt/eap/modules/system/layers/openshift,/opt/eap/modules/system/layers/keycloak,/opt/eap/modules/system/layers/base))]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
... 53 more
seen, when using "scram-sha-256" password authentication method with
postgresql-jdbc RPM
Signed-off-by: Jan Lieskovsky <[email protected]>
0 commit comments