在 java 上实现的工作 oauth2 提供程序服务器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7726781/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 21:08:53  来源:igfitidea点击:

working oauth2 provider server implemented on java

javaoauth-2.0oauth-provider

提问by Muhammed ?ahsuvaro?lu

I am searching a working oauth2 provider server implemented on java, leeloo and spring security are some that I have found, but there is no working example.

我正在搜索在 java、leeloo 和 spring security 上实现的工作 oauth2 提供程序服务器是我发现的一些,但没有工作示例。

https://github.com/SpringSource/spring-security-oauth/wiki/tutorial
https://bitbucket.org/smartproject/oauth-2.0/wiki/Home

回答by Lukasz Moren

There is the Apache Oltu(formerly Apache Amber) implementation that supports building OAuth 2.0 Authorization and Resource Servers: https://cwiki.apache.org/confluence/display/OLTU/OAuth+2.0+Authorization+Serverand is not dependent on any framework.

有支持构建 OAuth 2.0 授权和资源服务器的Apache Oltu(以前称为 Apache Amber)实现:https: //cwiki.apache.org/confluence/display/OLTU/OAuth+2.0+Authorization+Server并且不依赖于任何框架。

You have examples of AS (Auth and Token endpoints) and RS test implementation in integration tests: https://github.com/apache/oltu/tree/trunk/oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/endpoints

您在集成测试中有 AS(身份验证和令牌端点)和 RS 测试实现的示例:https: //github.com/apache/oltu/tree/trunk/oauth-2.0/integration-tests/src/test/java/org /apache/oltu/oauth2/integration/endpoints

回答by Muhammed ?ahsuvaro?lu

?nside spring security package there has 2 example one tonr other sparklr implemented with oauth2

?nside spring 安全包有 2 个示例,一个 tonr 其他 sparklr 用 oauth2 实现

回答by user2803901

Bit late, but you could - for future references - have a look at https://github.com/OpenConextApps/apis.

有点晚了,但您可以 - 以供将来参考 - 看看https://github.com/OpenConextApps/apis