KEYCLOAK-14747 LDAP pooling should include SSL protocol by default

This commit is contained in:
Réda Housni Alaoui 2020-07-09 18:09:27 +02:00 committed by Marek Posolda
parent 5255336be2
commit 47f5b56a9a
4 changed files with 5 additions and 5 deletions

View file

@ -86,7 +86,7 @@ public class LDAPIdentityStoreRegistry {
checkSystemProperty("com.sun.jndi.ldap.connect.pool.maxsize", cfg.getConnectionPoolingMaxSize(), "1000"); checkSystemProperty("com.sun.jndi.ldap.connect.pool.maxsize", cfg.getConnectionPoolingMaxSize(), "1000");
checkSystemProperty("com.sun.jndi.ldap.connect.pool.prefsize", cfg.getConnectionPoolingPrefSize(), "5"); checkSystemProperty("com.sun.jndi.ldap.connect.pool.prefsize", cfg.getConnectionPoolingPrefSize(), "5");
checkSystemProperty("com.sun.jndi.ldap.connect.pool.timeout", cfg.getConnectionPoolingTimeout(), "300000"); checkSystemProperty("com.sun.jndi.ldap.connect.pool.timeout", cfg.getConnectionPoolingTimeout(), "300000");
checkSystemProperty("com.sun.jndi.ldap.connect.pool.protocol", cfg.getConnectionPoolingProtocol(), "plain"); checkSystemProperty("com.sun.jndi.ldap.connect.pool.protocol", cfg.getConnectionPoolingProtocol(), "plain ssl");
checkSystemProperty("com.sun.jndi.ldap.connect.pool.debug", cfg.getConnectionPoolingDebug(), "off"); checkSystemProperty("com.sun.jndi.ldap.connect.pool.debug", cfg.getConnectionPoolingDebug(), "off");
return new LDAPIdentityStore(session, cfg); return new LDAPIdentityStore(session, cfg);

View file

@ -1011,7 +1011,7 @@ unlink-users=Benutzer entsperren
#connection-pooling-prefsize=Connection Pool Preferred Size #connection-pooling-prefsize=Connection Pool Preferred Size
#connection-pooling-prefsize-default=5 #connection-pooling-prefsize-default=5
#connection-pooling-protocol=Connection Pool Protocol #connection-pooling-protocol=Connection Pool Protocol
#connection-pooling-protocol-default=plain #connection-pooling-protocol-default=plain ssl
#connection-pooling-timeout=Connection Pool Timeout #connection-pooling-timeout=Connection Pool Timeout
#connection-pooling-timeout-default=300000 #connection-pooling-timeout-default=300000
#ldap-connection-timeout=Connection Timeout #ldap-connection-timeout=Connection Timeout

View file

@ -993,7 +993,7 @@ connection-pooling-maxsize-default=1000
connection-pooling-prefsize=接続プールの推奨サイズ connection-pooling-prefsize=接続プールの推奨サイズ
connection-pooling-prefsize-default=5 connection-pooling-prefsize-default=5
connection-pooling-protocol=接続プールのプロトコル connection-pooling-protocol=接続プールのプロトコル
connection-pooling-protocol-default=plain connection-pooling-protocol-default=plain ssl
connection-pooling-timeout=接続プールのタイムアウト connection-pooling-timeout=接続プールのタイムアウト
connection-pooling-timeout-default=300000 connection-pooling-timeout-default=300000
ldap-connection-timeout=接続タイムアウト ldap-connection-timeout=接続タイムアウト

View file

@ -1093,7 +1093,7 @@ connection-pooling-maxsize-default=1000
connection-pooling-prefsize=Connection Pool Preferred Size connection-pooling-prefsize=Connection Pool Preferred Size
connection-pooling-prefsize-default=5 connection-pooling-prefsize-default=5
connection-pooling-protocol=Connection Pool Protocol connection-pooling-protocol=Connection Pool Protocol
connection-pooling-protocol-default=plain connection-pooling-protocol-default=plain ssl
connection-pooling-timeout=Connection Pool Timeout connection-pooling-timeout=Connection Pool Timeout
connection-pooling-timeout-default=300000 connection-pooling-timeout-default=300000
ldap-connection-timeout=Connection Timeout ldap-connection-timeout=Connection Timeout