René's URL Explorer Experiment


Title: Added support for https oauth request using custom keystore file by athodis · Pull Request #333 · scribejava/scribejava · GitHub

Open Graph Title: Added support for https oauth request using custom keystore file by athodis · Pull Request #333 · scribejava/scribejava

X Title: Added support for https oauth request using custom keystore file by athodis · Pull Request #333 · scribejava/scribejava

Description: I figured it would be useful to have a subclass of the OAuthRequest (which I called HttpsOAuthRequest) that uses a connection of type HttpsURLConnection. The keystore file path of the trusted certificates that this connection instance will use, is specified in the constructor of the HttpsOAuthRequest. This way there is no need to import the trusted certificates in the default keystore of the JVM ({JRE_HOME/lib/cacerts}) in order to make the https connections. Just create a keyStore file with the trusted certificates needed (for instance using the keytool -import command), and pass the path of that file to the HttpsOAuthRequest constructor. Also, I have added a boolean to the constructor that controls if a new SSLSocketFactory will be created with the new HttpsOAuthRequest or not. If set to false, the new https connection will reuse a previously created SSLSocketFactory, if it exists (if it doesn't exist, a new one will be created). If set to true, a new SSLSocketFactory will be created for the new https connection.

Open Graph Description: I figured it would be useful to have a subclass of the OAuthRequest (which I called HttpsOAuthRequest) that uses a connection of type HttpsURLConnection. The keystore file path of the trusted cert...

X Description: I figured it would be useful to have a subclass of the OAuthRequest (which I called HttpsOAuthRequest) that uses a connection of type HttpsURLConnection. The keystore file path of the trusted cert...

Opengraph URL: https://github.com/scribejava/scribejava/pull/333

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:417f0abb-5321-ce1c-b4f1-b89093c7d16f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9214:172993:10E2386:16ABC35:6A5AA88C
html-safe-nonceb40b838b6099121a2dd7f9f16579075d79f23cfbc718900f0162717f1dd86cb1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjE0OjE3Mjk5MzoxMEUyMzg2OjE2QUJDMzU6NkE1QUE4OEMiLCJ2aXNpdG9yX2lkIjoiMTQwNzY2MjIxNDM1NDc0MTM4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac36bf90e8549f141dab9c7242fd6a8224f46ff73bdfca6afded9a955765b26be9
hovercard-subject-tagpull_request:3245395
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/scribejava/scribejava/pull/333/files
twitter:imagehttps://avatars.githubusercontent.com/u/2931200?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2931200?s=400&v=4
og:image:altI figured it would be useful to have a subclass of the OAuthRequest (which I called HttpsOAuthRequest) that uses a connection of type HttpsURLConnection. The keystore file path of the trusted cert...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None17a57ee6ab03686731c491fccb57e6a97c066a29d7cdf1a7d83c46f5c56684fc
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/scribejava/scribejava git https://github.com/scribejava/scribejava.git
octolytics-dimension-user_id15140551
octolytics-dimension-user_loginscribejava
octolytics-dimension-repository_id889932
octolytics-dimension-repository_nwoscribejava/scribejava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id889932
octolytics-dimension-repository_network_root_nwoscribejava/scribejava
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5cb870aa6b86b87be75e23ca7caec54726a25af9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/scribejava/scribejava/pull/333/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscribejava%2Fscribejava%2Fpull%2F333%2Ffiles
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%2Fscribejava%2Fscribejava%2Fpull%2F333%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=scribejava%2Fscribejava
Reloadhttps://github.com/scribejava/scribejava/pull/333/files
Reloadhttps://github.com/scribejava/scribejava/pull/333/files
Reloadhttps://github.com/scribejava/scribejava/pull/333/files
Please reload this pagehttps://github.com/scribejava/scribejava/pull/333/files
scribejava https://github.com/scribejava
scribejavahttps://github.com/scribejava/scribejava
Please reload this pagehttps://github.com/scribejava/scribejava/pull/333/files
Notifications https://github.com/login?return_to=%2Fscribejava%2Fscribejava
Fork 1.6k https://github.com/login?return_to=%2Fscribejava%2Fscribejava
Star 5.5k https://github.com/login?return_to=%2Fscribejava%2Fscribejava
Code https://github.com/scribejava/scribejava
Issues 44 https://github.com/scribejava/scribejava/issues
Pull requests 32 https://github.com/scribejava/scribejava/pulls
Actions https://github.com/scribejava/scribejava/actions
Projects https://github.com/scribejava/scribejava/projects
Wiki https://github.com/scribejava/scribejava/wiki
Security and quality 0 https://github.com/scribejava/scribejava/security
Insights https://github.com/scribejava/scribejava/pulse
Code https://github.com/scribejava/scribejava
Issues https://github.com/scribejava/scribejava/issues
Pull requests https://github.com/scribejava/scribejava/pulls
Actions https://github.com/scribejava/scribejava/actions
Projects https://github.com/scribejava/scribejava/projects
Wiki https://github.com/scribejava/scribejava/wiki
Security and quality https://github.com/scribejava/scribejava/security
Insights https://github.com/scribejava/scribejava/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fscribejava%2Fscribejava%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fscribejava%2Fscribejava%2Fissues%2Fnew%2Fchoose
athodishttps://github.com/athodis
scribejava:masterhttps://github.com/scribejava/scribejava/tree/master
athodis:masterhttps://github.com/athodis/scribe-java/tree/master
Conversation 0 https://github.com/scribejava/scribejava/pull/333
Commits 8 https://github.com/scribejava/scribejava/pull/333/commits
Checks 0 https://github.com/scribejava/scribejava/pull/333/checks
Files changed https://github.com/scribejava/scribejava/pull/333/files
Please reload this pagehttps://github.com/scribejava/scribejava/pull/333/files
Added support for https oauth request using custom keystore file https://github.com/scribejava/scribejava/pull/333/files#top
Show all changes 8 commits https://github.com/scribejava/scribejava/pull/333/files
df976cc added support for https oauth requests Dec 5, 2012 https://github.com/scribejava/scribejava/pull/333/commits/df976cc0faffbe050f2db9e481e9ff9109fa0a2a
efa8707 added support for https oauth requests athodis Dec 5, 2012 https://github.com/scribejava/scribejava/pull/333/commits/efa8707542ae7cfd41aa5400c1a6e23ad59d1a4c
7b3ad80 Merge remote-tracking branch 'origin/master' Dec 5, 2012 https://github.com/scribejava/scribejava/pull/333/commits/7b3ad80c53ed52cefac6e6e0010218666fa81517
8336d5a Merge remote-tracking branch 'origin/master' athodis Dec 5, 2012 https://github.com/scribejava/scribejava/pull/333/commits/8336d5a1563e8a396a274a1016afb22438126b11
39c6dfe Merge branch 'master' of https://github.com/athodis/scribe-java athodis Dec 5, 2012 https://github.com/scribejava/scribejava/pull/333/commits/39c6dfe44289be9157fca2c1b57289a1e6ccac24
250f904 Added @Override annotation for clarification athodis Dec 5, 2012 https://github.com/scribejava/scribejava/pull/333/commits/250f9042e14c4bb3cbea62154e71c6dff30c3492
b695ed6 remove file commited by mistake athodis Dec 5, 2012 https://github.com/scribejava/scribejava/pull/333/commits/b695ed6f5b3d0e14e5899c14b207e501c6d9e269
7105dbc fix in javadoc athodis Dec 5, 2012 https://github.com/scribejava/scribejava/pull/333/commits/7105dbc9cb34e6d9de6b9c13275aabded34c290b
Clear filters https://github.com/scribejava/scribejava/pull/333/files
Please reload this pagehttps://github.com/scribejava/scribejava/pull/333/files
Please reload this pagehttps://github.com/scribejava/scribejava/pull/333/files
HttpsOAuthRequest.java https://github.com/scribejava/scribejava/pull/333/files#diff-078c1592106490787fb9b6c04950e3786d78c8426947b91640b6c4d5fb84f1e8
Request.java https://github.com/scribejava/scribejava/pull/333/files#diff-821346055f7c124714ac9585b5314371507953e2b74e95eb8552f0770f14cb4e
src/main/java/org/scribe/model/HttpsOAuthRequest.javahttps://github.com/scribejava/scribejava/pull/333/files#diff-078c1592106490787fb9b6c04950e3786d78c8426947b91640b6c4d5fb84f1e8
View file https://github.com/athodis/scribe-java/blob/7105dbc9cb34e6d9de6b9c13275aabded34c290b/src/main/java/org/scribe/model/HttpsOAuthRequest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/scribejava/scribejava/pull/333/{{ revealButtonHref }}
src/main/java/org/scribe/model/Request.javahttps://github.com/scribejava/scribejava/pull/333/files#diff-821346055f7c124714ac9585b5314371507953e2b74e95eb8552f0770f14cb4e
View file https://github.com/athodis/scribe-java/blob/7105dbc9cb34e6d9de6b9c13275aabded34c290b/src/main/java/org/scribe/model/Request.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/scribejava/scribejava/pull/333/{{ revealButtonHref }}
https://github.com/scribejava/scribejava/pull/333/files#diff-821346055f7c124714ac9585b5314371507953e2b74e95eb8552f0770f14cb4e
https://github.com/scribejava/scribejava/pull/333/files#diff-821346055f7c124714ac9585b5314371507953e2b74e95eb8552f0770f14cb4e
https://github.com/scribejava/scribejava/pull/333/files#diff-821346055f7c124714ac9585b5314371507953e2b74e95eb8552f0770f14cb4e
https://github.com/scribejava/scribejava/pull/333/files#diff-821346055f7c124714ac9585b5314371507953e2b74e95eb8552f0770f14cb4e
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.