-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hi Team,
We are using JWT token for authentication and then using Local Bridge with context pooling as below code section. but every time we are sending request to harmony core server, it is sharing the same context pool for the all different token/users i.e. we are having only one dbs file instead of seperate one for each new token. Could you please help us to fix the issue.
StartUpCustom:
if (settings.Bridge.PoolContextReuse) then
begin
;; ----------------------------------------------------------------------------
;; Local pooled connection
;;
data context = new ExternalContextPool< BridgeMethodsService >
& (
& startCommand,
& startParameters,
& traditionalBridgeDirectory,
& ^null,
& settings.Bridge.PoolMinSize,
& settings.Bridge.PoolMaxSize,
& new TimeSpan(0,0,settings.Bridge.PoolMaxWait),
& true
& )
I also went through github documentation and find a concept of Multi-Tenancy but even that didn't work for us.