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

UserCredentialsDataSourceAdapter is not updating the credentials [SPR-17494] #22026

spring-projects-issues opened this issue Nov 14, 2018 · 0 comments
in: data status: waiting-for-triage


Copy link

@spring-projects-issues spring-projects-issues commented Nov 14, 2018

Arunprasad opened SPR-17494 and commented

Hi Team,

I have a requirement like where I have a password to connect to database  which will be sent by different team through rest api. So in persistence context I connect to the service and get the password and create datasource object with the credentials, now since connection is made using persistence context it will create some active threads. But if suppose I am using the application and suddenly password changed and I have to get the updated password, since there is no functionality to check when the password is changed, I have to call the webservice before each database call in my application. If password is changed then I am using USerCredentialsDataSource Adaptor and setting the changed password, but issue here is even though password is changed the connections are still made with old password. So I am missing something in the code, please help. 


@spring-projects-issues spring-projects-issues added type: bug status: waiting-for-triage in: data and removed type: bug labels Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: data status: waiting-for-triage
None yet

No branches or pull requests

1 participant