From ff1066fdee0f8bd7c8db51f40360a5e5645a15cd Mon Sep 17 00:00:00 2001 From: Miranlfk Date: Fri, 19 Jun 2026 18:20:25 +0530 Subject: [PATCH] Add conditional auth config for max http connections --- .../resources/identity.xml | 2 ++ .../resources/identity.xml.j2 | 2 ++ .../org.wso2.carbon.identity.core.server.feature.default.json | 2 ++ 3 files changed, 6 insertions(+) diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml index dfd05c92dde5..8a9ff89b2abc 100644 --- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml +++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml @@ -2792,6 +2792,8 @@ 5 20 20 + 20 + 20 diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml.j2 b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml.j2 index edc304008c5a..c46979889b39 100644 --- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml.j2 +++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/identity.xml.j2 @@ -4494,6 +4494,8 @@ {{authentication.adaptive.async_executer_pool_size}} {{authentication.adaptive.http_connections.max}} {{authentication.adaptive.http_connections.max_per_route}} + {{authentication.adaptive.conditional_auth_http_connections.max}} + {{authentication.adaptive.conditional_auth_http_connections.max_per_route}} diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json index 15c765edbda9..07a7699d03a3 100644 --- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json +++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json @@ -949,6 +949,8 @@ "authentication.adaptive.async_executer_pool_size": "5", "authentication.adaptive.http_connections.max": "20", "authentication.adaptive.http_connections.max_per_route": "20", + "authentication.adaptive.conditional_auth_http_connections.max": "20", + "authentication.adaptive.conditional_auth_http_connections.max_per_route": "20", "authentication.adaptive.choreo_token_endpoint": "https://sts.choreo.dev/oauth2/token", "authentication.adaptive.http_connections.default_timeout": "3s", "authentication.adaptive.http_connections.connection_timeout": "$ref{authentication.adaptive.http_connections.default_timeout}",