简体   繁体   English

如何使用Servlet在Java应用程序中实现OAuth2 SSO?

[英]How Can I implement OAuth2 SSO in a Java Application with Servlet?

I have searched but don't find any good example. 我已经搜索过,但找不到任何好的例子。 I don't have any idea about it. 我对此一无所知。 Also, I don't want to use spring in my application 另外,我不想在应用程序中使用spring

有很多可用的库,您可以看看https://oauth.net/code/java/上引用的非Spring库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Spring Security-实现OAuth2 SSO - Spring security - implement oauth2 sso 除了 Spring Oauth 和外部 Oauth 提供者之外,我如何在 SpringBoot 客户端-服务器通信中实现 Oauth2? - How can i implement Oauth2 in SpringBoot client-server comunnication beside of Spring Oauth and external Oauth providers? 我可以在Java应用程序中通过POP3和OAuth2访问Gmail邮件吗? - Can I access Gmail mails by POP3 and OAuth2 in Java application? 如何在Java Servlet中实现此PHP代码 - How can I implement this PHP code in Java Servlet 使用OAuth2 SSO在spring-boot应用程序中禁用CSRF - Disable CSRF in spring-boot application with OAuth2 SSO 如何将Slack的OAuth2与Java桌面应用程序一起使用 - How to use Slack's OAuth2 with a Java desktop application 如何使用 SAML 在 Java 中实现 SSO? - How to implement SSO in Java with SAML? 如何在 Java Servlet 上触发 OAuth/OpenID 身份验证并向用户添加我自己的角色? - How can I trigger OAuth/OpenID authentication on a Java Servlet and add my own roles to the user? 如何从Servlet调用Spring OAuth2资源服务器URI - how to call spring oauth2 resource server uri from servlet 如何在现有的 tomcat Web 应用程序上实现 SSO - How to Implement SSO on existing tomcat web application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM