Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All User Sharing Same Context #376

Open
KuldeepAis opened this issue Oct 9, 2024 · 0 comments
Open

All User Sharing Same Context #376

KuldeepAis opened this issue Oct 9, 2024 · 0 comments
Labels
question Further information is requested

Comments

@KuldeepAis
Copy link

KuldeepAis commented Oct 9, 2024

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.

@KuldeepAis KuldeepAis added the question Further information is requested label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant