[JAVA-4327] when a connection is active and authenticated, a drop and recreation of the user fall the connection in an unauthenticated state Created: 04/Oct/21  Updated: 04/May/22  Resolved: 04/Oct/21

Status: Closed
Project: Java Driver
Component/s: Authentication
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Claudio Bisegni Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: external-user
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I got problem during restore of our database. The connection active and authenticated as became unauthenticated after restore restarting application fix the problem.

The user of the backuped database was the same in source-dest databases. I also have notice that dropping user and recreate it when a connection is active and authenticated, make far connection into an unauthenticated state.

there is a simple solution with JDBC pool configuration for this or is a server bug?



 Comments   
Comment by Claudio Bisegni [ 04/Oct/21 ]

thank you I'll try to community portal, but in anyway I think in this condition server should close authenticated connection instead leave it open loosing previous authentication role.

Comment by Jeffrey Yemin [ 04/Oct/21 ]

Hi there, thank you for reaching out. As this sounds like a support issue, I wanted to give you some resources to get this question answered more quickly:

  • Our MongoDB support portal, located at support.mongodb.com
  • Our MongoDB community portal, located here
  • If you are an Atlas customer, you can review your support options by clicking Support in the top menu bar of the Atlas UI

Regards,
Jeff

Generated at Thu Feb 08 09:01:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.