René's URL Explorer Experiment


Title: Avoid Race Condition When Fetching new Access Token from UAA using Refresh Token Flow by eaglerainbow · Pull Request #1300 · cloudfoundry/cf-java-client · GitHub

Open Graph Title: Avoid Race Condition When Fetching new Access Token from UAA using Refresh Token Flow by eaglerainbow · Pull Request #1300 · cloudfoundry/cf-java-client

X Title: Avoid Race Condition When Fetching new Access Token from UAA using Refresh Token Flow by eaglerainbow · Pull Request #1300 · cloudfoundry/cf-java-client

Description: Java Client Library for Cloud Foundry. Contribute to cloudfoundry/cf-java-client development by creating an account on GitHub.

Open Graph Description: Problem When multiple concurrent requests arrive with expired access tokens, the AbstractUaaTokenProvider could enter a broken state due to race conditions in the refresh token flow. This occurred ...

X Description: Problem When multiple concurrent requests arrive with expired access tokens, the AbstractUaaTokenProvider could enter a broken state due to race conditions in the refresh token flow. This occurred ...

Opengraph URL: https://github.com/cloudfoundry/cf-java-client/pull/1300

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:55a40734-f59f-771b-ebae-92df873628bb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDB1A:213839:38B67DC:487A4E5:6B01EB8D
html-safe-nonceab80f8aee74ecba69182f09551560f79b7b11200cb6acce2a4f79934a4b1a649
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjFBOjIxMzgzOTozOEI2N0RDOjQ4N0E0RTU6NkIwMUVCOEQiLCJ2aXNpdG9yX2lkIjoiMzg0MDc3NzMxNTE1MTg5OTUzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac820cbf8bea95d5de4a016b4e85eacfb8ae82f3da2c21158c727294d3f7c6b54e
hovercard-subject-tagpull_request:2732972100
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cloudfoundry/cf-java-client/1300/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b1e930b34f4d23a057aaaeecbf6a49471c0b5448c30d7ffc6af1bc1c5d6dbb7a/cloudfoundry/cf-java-client/pull/1300
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b1e930b34f4d23a057aaaeecbf6a49471c0b5448c30d7ffc6af1bc1c5d6dbb7a/cloudfoundry/cf-java-client/pull/1300
og:image:altProblem When multiple concurrent requests arrive with expired access tokens, the AbstractUaaTokenProvider could enter a broken state due to race conditions in the refresh token flow. This occurred ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeaglerainbow
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/cloudfoundry/cf-java-client git https://github.com/cloudfoundry/cf-java-client.git
octolytics-dimension-user_id621746
octolytics-dimension-user_logincloudfoundry
octolytics-dimension-repository_id2433623
octolytics-dimension-repository_nwocloudfoundry/cf-java-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id2433623
octolytics-dimension-repository_network_root_nwocloudfoundry/cf-java-client
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/cloudfoundry/cf-java-client/pull/1300#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfoundry%2Fcf-java-client%2Fpull%2F1300
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfoundry%2Fcf-java-client%2Fpull%2F1300
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cloudfoundry%2Fcf-java-client
Reloadhttps://github.com/cloudfoundry/cf-java-client/pull/1300
Reloadhttps://github.com/cloudfoundry/cf-java-client/pull/1300
Reloadhttps://github.com/cloudfoundry/cf-java-client/pull/1300
cloudfoundryhttps://github.com/cloudfoundry
cf-java-clienthttps://github.com/cloudfoundry/cf-java-client
Codehttps://github.com/cloudfoundry/cf-java-client
Issues85 (85)https://github.com/cloudfoundry/cf-java-client/issues
Pull requests17 (17)https://github.com/cloudfoundry/cf-java-client/pulls
Actionshttps://github.com/cloudfoundry/cf-java-client/actions
Security and qualityhttps://github.com/cloudfoundry/cf-java-client/security
Insightshttps://github.com/cloudfoundry/cf-java-client/insights
https://github.com/cloudfoundry/cf-java-client
eaglerainbowhttps://github.com/eaglerainbow
cloudfoundry:mainhttps://github.com/cloudfoundry/cf-java-client/tree/main
eaglerainbow:issue-1146-secondhttps://github.com/eaglerainbow/cf-java-client/tree/issue-1146-second
Conversationhttps://github.com/cloudfoundry/cf-java-client/pull/1300
Commits8 (8)https://github.com/cloudfoundry/cf-java-client/pull/1300/commits
Checkshttps://github.com/cloudfoundry/cf-java-client/pull/1300/checks
Files changedhttps://github.com/cloudfoundry/cf-java-client/pull/1300/files
Avoid Race Condition When Fetching new Access Token from UAA using Refresh Token Flowhttps://github.com/cloudfoundry/cf-java-client/pull/1300#top
eaglerainbowhttps://github.com/eaglerainbow
cloudfoundry:mainhttps://github.com/cloudfoundry/cf-java-client/tree/main
eaglerainbow:issue-1146-secondhttps://github.com/eaglerainbow/cf-java-client/tree/issue-1146-second
https://github.com/eaglerainbow
eaglerainbowhttps://github.com/eaglerainbow
Aug 9, 2025https://github.com/cloudfoundry/cf-java-client/pull/1300#issue-3306813822
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
#1146https://github.com/cloudfoundry/cf-java-client/issues/1146
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
eaglerainbowhttps://github.com/eaglerainbow
August 9, 2025 16:25https://github.com/cloudfoundry/cf-java-client/pull/1300#commits-pushed-7ad23db
https://github.com/eaglerainbow
Base proposal tohttps://github.com/cloudfoundry/cf-java-client/pull/1300/commits/7ad23db7826f31ec2da5c4c9ea2cf6fbf8d8f176
fixhttps://github.com/cloudfoundry/cf-java-client/pull/1300/commits/7ad23db7826f31ec2da5c4c9ea2cf6fbf8d8f176
cloudfoundry#1146https://github.com/cloudfoundry/cf-java-client/issues/1146
7ad23dbhttps://github.com/cloudfoundry/cf-java-client/pull/1300/commits/7ad23db7826f31ec2da5c4c9ea2cf6fbf8d8f176
https://github.com/eaglerainbow
Noting down the intention of the fixhttps://github.com/cloudfoundry/cf-java-client/pull/1300/commits/a3886d7fb7fa2df8716a19cac87439d7f0747618
a3886d7https://github.com/cloudfoundry/cf-java-client/pull/1300/commits/a3886d7fb7fa2df8716a19cac87439d7f0747618
https://github.com/eaglerainbow
Move single-thread Scheduler to ConnectionContexthttps://github.com/cloudfoundry/cf-java-client/pull/1300/commits/b0a41a82d8eed2451e4e1c91437d20f787315fde
b0a41a8https://github.com/cloudfoundry/cf-java-client/pull/1300/commits/b0a41a82d8eed2451e4e1c91437d20f787315fde
https://github.com/eaglerainbow
Improve comments/documentationhttps://github.com/cloudfoundry/cf-java-client/pull/1300/commits/9526f35b2e8cb3b9623dab9a8ef40a521a0dd587
9526f35https://github.com/cloudfoundry/cf-java-client/pull/1300/commits/9526f35b2e8cb3b9623dab9a8ef40a521a0dd587
https://github.com/eaglerainbow
Initial implementation of unit test for concurrency issuehttps://github.com/cloudfoundry/cf-java-client/pull/1300/commits/908e5f60557be67f40ffd8908cd82efb7e92cbbd
908e5f6https://github.com/cloudfoundry/cf-java-client/pull/1300/commits/908e5f60557be67f40ffd8908cd82efb7e92cbbd
https://github.com/eaglerainbow
Unit Test require /v2/info mocking as wellhttps://github.com/cloudfoundry/cf-java-client/pull/1300/commits/58cfaf14e4c406397b9c61aa34136eddb2735f5f
58cfaf1https://github.com/cloudfoundry/cf-java-client/pull/1300/commits/58cfaf14e4c406397b9c61aa34136eddb2735f5f
https://github.com/apps/linux-foundation-easycla
linux-foundation-easyclahttps://github.com/apps/linux-foundation-easycla
Aug 9, 2025https://github.com/cloudfoundry/cf-java-client/pull/1300#issuecomment-3172087549
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
https://easycla.lfx.linuxfoundation.org/#/?version=2
b0a41a8https://github.com/cloudfoundry/cf-java-client/commit/b0a41a82d8eed2451e4e1c91437d20f787315fde
a3886d7https://github.com/cloudfoundry/cf-java-client/commit/a3886d7fb7fa2df8716a19cac87439d7f0747618
908e5f6https://github.com/cloudfoundry/cf-java-client/commit/908e5f60557be67f40ffd8908cd82efb7e92cbbd
7ad23dbhttps://github.com/cloudfoundry/cf-java-client/commit/7ad23db7826f31ec2da5c4c9ea2cf6fbf8d8f176
a2e8f14https://github.com/cloudfoundry/cf-java-client/commit/a2e8f14efc752eed38406b10d344b1782e0f3996
9526f35https://github.com/cloudfoundry/cf-java-client/commit/9526f35b2e8cb3b9623dab9a8ef40a521a0dd587
ca1a020https://github.com/cloudfoundry/cf-java-client/commit/ca1a02071ab3e582a4dc0d1cb8a722a904f09338
58cfaf1https://github.com/cloudfoundry/cf-java-client/commit/58cfaf14e4c406397b9c61aa34136eddb2735f5f
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
https://github.com/eaglerainbow
eaglerainbowhttps://github.com/eaglerainbow
Aug 9, 2025 https://github.com/cloudfoundry/cf-java-client/pull/1300#ref-issue-1206480358
Parallel Requests with Expired Access Tokens triggering Refresh Token Flow leads to Broken State (no further requests possible) #1146 https://github.com/cloudfoundry/cf-java-client/issues/1146
https://github.com/eaglerainbow
Ensure that caching is also done in a single threadhttps://github.com/cloudfoundry/cf-java-client/pull/1300/commits/a2e8f14efc752eed38406b10d344b1782e0f3996
a2e8f14https://github.com/cloudfoundry/cf-java-client/pull/1300/commits/a2e8f14efc752eed38406b10d344b1782e0f3996
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
Aug 18, 2025https://github.com/cloudfoundry/cf-java-client/pull/1300#issuecomment-3195945462
@eaglerainbowhttps://github.com/eaglerainbow
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
https://github.com/eaglerainbow
eaglerainbowhttps://github.com/eaglerainbow
Aug 18, 2025https://github.com/cloudfoundry/cf-java-client/pull/1300#issuecomment-3197711387
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
Java CI / Java 11 build (pull_request)https://github.com/cloudfoundry/cf-java-client/actions/runs/16865664956/job/48291797705?pr=1300
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
Aug 19, 2025https://github.com/cloudfoundry/cf-java-client/pull/1300#issuecomment-3200637844
@eaglerainbowhttps://github.com/eaglerainbow
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
https://github.com/eaglerainbow
Spotless-ificationhttps://github.com/cloudfoundry/cf-java-client/pull/1300/commits/ca1a02071ab3e582a4dc0d1cb8a722a904f09338
ca1a020https://github.com/cloudfoundry/cf-java-client/pull/1300/commits/ca1a02071ab3e582a4dc0d1cb8a722a904f09338
https://github.com/eaglerainbow
eaglerainbowhttps://github.com/eaglerainbow
Aug 19, 2025https://github.com/cloudfoundry/cf-java-client/pull/1300#issuecomment-3201652455
@eaglerainbowhttps://github.com/eaglerainbow
ca1a020https://github.com/cloudfoundry/cf-java-client/commit/ca1a02071ab3e582a4dc0d1cb8a722a904f09338
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
Aug 21, 2025https://github.com/cloudfoundry/cf-java-client/pull/1300#issuecomment-3211310892
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
https://github.com/eaglerainbow
eaglerainbowhttps://github.com/eaglerainbow
Aug 21, 2025https://github.com/cloudfoundry/cf-java-client/pull/1300#issuecomment-3211963042
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
Oct 20, 2025https://github.com/cloudfoundry/cf-java-client/pull/1300#issuecomment-3421990121
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
Oct 20, 2025 https://github.com/cloudfoundry/cf-java-client/pull/1300#ref-pullrequest-3533836754
Do not reuse the same refresh token multiple times #1309 https://github.com/cloudfoundry/cf-java-client/pull/1309
https://github.com/eaglerainbow
eaglerainbowhttps://github.com/eaglerainbow
Nov 26, 2025https://github.com/cloudfoundry/cf-java-client/pull/1300#issuecomment-3583282949
#1309https://github.com/cloudfoundry/cf-java-client/pull/1309
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
https://github.com/eaglerainbow
eaglerainbowhttps://github.com/eaglerainbow
Nov 26, 2025https://github.com/cloudfoundry/cf-java-client/pull/1300#event-21205747998
https://github.com/eaglerainbow
eaglerainbowhttps://github.com/eaglerainbow
November 26, 2025 21:35https://github.com/cloudfoundry/cf-java-client/pull/1300#event-21205749118
https://github.co/hiddenchars
https://github.com/cloudfoundry/cf-java-client/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfoundry%2Fcf-java-client%2Fpull%2F1300
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
Parallel Requests with Expired Access Tokens triggering Refresh Token Flow leads to Broken State (no further requests possible) https://github.com/cloudfoundry/cf-java-client/issues/1146
Please reload this pagehttps://github.com/cloudfoundry/cf-java-client/pull/1300
https://github.com/eaglerainbow
https://github.com/Kehrlann
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.