René's URL Explorer Experiment


Title: fix: accept header accessor function in ServerTransportSecurityValidator by neerajbhatt · Pull Request #982 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: fix: accept header accessor function in ServerTransportSecurityValidator by neerajbhatt · Pull Request #982 · modelcontextprotocol/java-sdk

X Title: fix: accept header accessor function in ServerTransportSecurityValidator by neerajbhatt · Pull Request #982 · modelcontextprotocol/java-sdk

Description: The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI - fix: accept header accessor function in ServerTransportSecurityValidator by neerajbhatt · Pull Request #982 · modelcontextprotocol/java-sdk

Open Graph Description: Summary Introduce a HeaderAccessor interface with getHeader(String) and getHeaderNames() methods, replacing the raw Function<String, List<String>> parameter in ServerTransportSecurityV...

X Description: Summary Introduce a HeaderAccessor interface with getHeader(String) and getHeaderNames() methods, replacing the raw Function&lt;String, List&lt;String&gt;&gt; parameter in ServerTr...

Opengraph URL: https://github.com/modelcontextprotocol/java-sdk/pull/982

X: @github

direct link

Domain: github.com

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:5cd86e5e-cb61-3c54-afc8-3efb4e474293
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAABA:1C4312:776E98:9DC3F3:6A5B36A6
html-safe-noncef6d7bb3cf44ebd6ff61a38ec3cfd46aee745a561b6deef2326f13342e733321d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUJBOjFDNDMxMjo3NzZFOTg6OURDM0YzOjZBNUIzNkE2IiwidmlzaXRvcl9pZCI6IjI5MjgwMTI1NjE5MDcxMzYxNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3f3267332978d2672588d0b72fc09dd94e89cc0c247ddae9314ce849506d07b1
hovercard-subject-tagpull_request:3737121612
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/modelcontextprotocol/java-sdk/982/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/96f1e5389f6ce2c7ffcf3e69bff70205faa9e82344d4efb72777c7736b28402f/modelcontextprotocol/java-sdk/pull/982
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/96f1e5389f6ce2c7ffcf3e69bff70205faa9e82344d4efb72777c7736b28402f/modelcontextprotocol/java-sdk/pull/982
og:image:altSummary Introduce a HeaderAccessor interface with getHeader(String) and getHeaderNames() methods, replacing the raw Function<String, List<String>> parameter in ServerTransportSecurityV...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameneerajbhatt
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/java-sdk git https://github.com/modelcontextprotocol/java-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id919609219
octolytics-dimension-repository_nwomodelcontextprotocol/java-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id919609219
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/java-sdk
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/java-sdk/pull/982#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F982
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F982
Sign up https://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=modelcontextprotocol%2Fjava-sdk
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/982
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/982
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/982
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982
modelcontextprotocol https://github.com/modelcontextprotocol
java-sdkhttps://github.com/modelcontextprotocol/java-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Fork 978 https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Star 3.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Code https://github.com/modelcontextprotocol/java-sdk
Issues 133 https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests 147 https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality 2 https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
Code https://github.com/modelcontextprotocol/java-sdk
Issues https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
neerajbhatthttps://github.com/neerajbhatt
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
neerajbhatt:fix/870-security-validator-header-accessorhttps://github.com/neerajbhatt/java-sdk/tree/fix/870-security-validator-header-accessor
Conversationhttps://github.com/modelcontextprotocol/java-sdk/pull/982
Commits3 (3)https://github.com/modelcontextprotocol/java-sdk/pull/982/commits
Checkshttps://github.com/modelcontextprotocol/java-sdk/pull/982/checks
Files changedhttps://github.com/modelcontextprotocol/java-sdk/pull/982/files
fix: accept header accessor function in ServerTransportSecurityValidatorhttps://github.com/modelcontextprotocol/java-sdk/pull/982#top
neerajbhatthttps://github.com/neerajbhatt
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
neerajbhatt:fix/870-security-validator-header-accessorhttps://github.com/neerajbhatt/java-sdk/tree/fix/870-security-validator-header-accessor
https://github.com/neerajbhatt
neerajbhatthttps://github.com/neerajbhatt
May 24, 2026https://github.com/modelcontextprotocol/java-sdk/pull/982#issue-4510985087
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982
ServerTransportSecurityValidator accepts an accessor function for header #870https://github.com/modelcontextprotocol/java-sdk/issues/870
#870https://github.com/modelcontextprotocol/java-sdk/issues/870
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982
https://github.com/neerajbhatt
fix: accept header accessor function in ServerTransportSecurityValidatorhttps://github.com/modelcontextprotocol/java-sdk/pull/982/commits/590c6c352695bc16ca5e1209fd97be433f12be7e
590c6c3https://github.com/modelcontextprotocol/java-sdk/pull/982/commits/590c6c352695bc16ca5e1209fd97be433f12be7e
modelcontextprotocol#870https://github.com/modelcontextprotocol/java-sdk/issues/870
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
May 26, 2026https://github.com/modelcontextprotocol/java-sdk/pull/982#issuecomment-4541768588
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
May 26, 2026https://github.com/modelcontextprotocol/java-sdk/pull/982#event-25957085779
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
area/server https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fserver
waiting for user https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3A%22waiting%20for%20user%22
enhancement https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aenhancement
P2 https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3AP2
May 26, 2026https://github.com/modelcontextprotocol/java-sdk/pull/982#event-25957090865
https://github.com/neerajbhatt
refactor: add deprecation path for validateHeaders APIhttps://github.com/modelcontextprotocol/java-sdk/pull/982/commits/83c796c9eff26cb9412fea6c22d477217339b9ff
83c796chttps://github.com/modelcontextprotocol/java-sdk/pull/982/commits/83c796c9eff26cb9412fea6c22d477217339b9ff
https://github.com/neerajbhatt
neerajbhatthttps://github.com/neerajbhatt
May 26, 2026https://github.com/modelcontextprotocol/java-sdk/pull/982#issuecomment-4546629138
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982
https://github.com/neerajbhatt
neerajbhatthttps://github.com/neerajbhatt
May 29, 2026https://github.com/modelcontextprotocol/java-sdk/pull/982#issuecomment-4571866934
@Kehrlannhttps://github.com/Kehrlann
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
Jun 4, 2026https://github.com/modelcontextprotocol/java-sdk/pull/982#issuecomment-4620685119
@neerajbhatthttps://github.com/neerajbhatt
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982
https://github.com/neerajbhatt
refactor: introduce HeaderAccessor interface for validateHeaders APIhttps://github.com/modelcontextprotocol/java-sdk/pull/982/commits/cee7a22f11a26256aada022aa3bca8bba315b1a3
cee7a22https://github.com/modelcontextprotocol/java-sdk/pull/982/commits/cee7a22f11a26256aada022aa3bca8bba315b1a3
https://github.com/neerajbhatt
neerajbhatthttps://github.com/neerajbhatt
force-pushedhttps://github.com/modelcontextprotocol/java-sdk/compare/b16ccde2faf2da398b039c1d3f048e013467193c..cee7a22f11a26256aada022aa3bca8bba315b1a3
b16ccdehttps://github.com/modelcontextprotocol/java-sdk/commit/b16ccde2faf2da398b039c1d3f048e013467193c
cee7a22https://github.com/modelcontextprotocol/java-sdk/commit/cee7a22f11a26256aada022aa3bca8bba315b1a3
Compare https://github.com/modelcontextprotocol/java-sdk/compare/b16ccde2faf2da398b039c1d3f048e013467193c..cee7a22f11a26256aada022aa3bca8bba315b1a3
June 6, 2026 15:08https://github.com/modelcontextprotocol/java-sdk/pull/982#event-26423175048
https://github.com/neerajbhatt
neerajbhatthttps://github.com/neerajbhatt
Jun 6, 2026https://github.com/modelcontextprotocol/java-sdk/pull/982#issuecomment-4639366210
@Kehrlannhttps://github.com/Kehrlann
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
2.1.0 Planninghttps://github.com/modelcontextprotocol/java-sdk/milestone/31
Jun 11, 2026https://github.com/modelcontextprotocol/java-sdk/pull/982#event-26618108715
https://github.com/neerajbhatt
neerajbhatthttps://github.com/neerajbhatt
Jun 19, 2026https://github.com/modelcontextprotocol/java-sdk/pull/982#issuecomment-4750391460
@Kehrlannhttps://github.com/Kehrlann
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
breaking-change https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Abreaking-change
waiting for user https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3A%22waiting%20for%20user%22
Jun 19, 2026https://github.com/modelcontextprotocol/java-sdk/pull/982#event-26959453818
https://github.com/Kehrlann
Kehrlannhttps://github.com/Kehrlann
Jun 25, 2026https://github.com/modelcontextprotocol/java-sdk/pull/982#issuecomment-4799427786
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/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%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F982
https://github.com/Kehrlann
Kehrlann https://github.com/Kehrlann
area/server https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fserver
breaking-change https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Abreaking-change
enhancement https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3Aenhancement
P2 https://github.com/modelcontextprotocol/java-sdk/issues?q=state%3Aopen%20label%3AP2
2.1.0 Planning https://github.com/modelcontextprotocol/java-sdk/milestone/31
ServerTransportSecurityValidator accepts an accessor function for header https://github.com/modelcontextprotocol/java-sdk/issues/870
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982
https://github.com/neerajbhatt
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.