Skip to content

All User Sharing Same Context #376

@KuldeepAis

Description

@KuldeepAis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions