由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 请教Java高手:如何运行OLTU OAUTH2.0 Server?
相关主题
Help needed! LDAP Integration with hosted applications (转载)学习 python Django 的一个问题
hbase的问题Web Service怎么让多个api call share 同一个 connection ??
Spring + Jersey 的 REST API, servlet context 能看到 Spring 的 root application context 里的bean吗?请教:apache-poi SXSSF data validation
Question of building apache module.开发web插件从哪里开头?
Question of apache module在哪可以找到跟IE toolbar development API 相关的 document, resources?
谁知道facebook chat这类的东东是怎么做的碰碰运气 Windows Server 2008 Resource Kit (转载)
借人气,请教个SMTP server的问题 (转载)把node.js web server放在host pc, 控制别的target system
就算假设魏老师的牛逼单机可行.net mvc & web api 架构 求建议和意见??
相关话题的讨论汇总
话题: server话题: oltu话题: java话题: resource
进入Programming版参与讨论
1 (共1页)
M**A
发帖数: 78
1
请教各位Maven和Java Servlet高手, 如何在本地机(local host)运行Apache OLTU
OAUTH2.0 Authorization Server 和 Resource Server?
OAUTH2.0的官方网页
http://oauth.net/2/
Java库有Apache Oltu, Apis Authorization Server (v2-31), 等
Apis的官方网页用户指南比较详细。 不过这个项目似乎不太活跃。
https://github.com/OpenConextApps/apis
Apache Oltu的官方网页基本没有用户指南。
http://oltu.apache.org/
按照Apache Oltu的用户指南
https://cwiki.apache.org/confluence/display/OLTU/OAuth+2.0+Authorization+
Server
找到integration-tests module
https://svn.apache.org/repos/asf/oltu/trunk/oauth-2.0/integration-tests/
integration-tests module的配置文件上为Authorization Server, Client Server
和 Resource Server设定9001, 9002 和 9003端口号。
https://svn.apache.org/repos/asf/oltu/trunk/oauth-2.0/integration-tests/src/
test/resources/oauth-beans.xml
在最上层目录(integration-tests的上级目录oauth-2.0的上级目录) mvn clean
install
在integration-tests/target目录下有org.apache.oltu.oauth2.integration-tests-1
.0.1-SNAPSHOT.jar文件。
但是这个文件内没有包含运行Authorization Server, Client Server 和 Resource
Server的文件
请教各位Maven和Java Servlet高手,如何在本地机(local host)让Authorization
Server, Client Server 和 Resource Server在9001, 9002 和 9003端口号运行?
万分感谢。
z*******3
发帖数: 13709
2
这个oauth protocol
跟servlet啥关系?
M**A
发帖数: 78
3
非常感谢赵老师的回答。
Apache OLTU实现OAUTH2.0 protocol采用Java Servlet的framework。
integration-tests module是用来测试OAUTH2.0 3个Server即Authorization Server,
Client Server 和 Resource Server是否运行正常。
通常是用
java -jar target/org.apache.oltu.oauth2.integration-tests-1.0.1-SNAPSHOT.jar
让3个Server即Authorization Server, Client Server 和 Resource Server运行
然后用curl命令测试每个Server是否运行正常。
Apis项目就是采用这种方法测试的。
但是Apache OLTU项目和Apis项目设计方法不一样。
org.apache.oltu.oauth2.integration-tests-1.0.1-SNAPSHOT.jar=文件内没有包含运
行Authorization Server, Client Server 和 Resource Server的文件
z*******3
发帖数: 13709
4
酱紫啊
那这个东西太新了
恐怕不是很多人有经验的说

jar

【在 M**A 的大作中提到】
: 非常感谢赵老师的回答。
: Apache OLTU实现OAUTH2.0 protocol采用Java Servlet的framework。
: integration-tests module是用来测试OAUTH2.0 3个Server即Authorization Server,
: Client Server 和 Resource Server是否运行正常。
: 通常是用
: java -jar target/org.apache.oltu.oauth2.integration-tests-1.0.1-SNAPSHOT.jar
: 让3个Server即Authorization Server, Client Server 和 Resource Server运行
: 然后用curl命令测试每个Server是否运行正常。
: Apis项目就是采用这种方法测试的。
: 但是Apache OLTU项目和Apis项目设计方法不一样。

1 (共1页)
进入Programming版参与讨论
相关主题
.net mvc & web api 架构 求建议和意见??Question of apache module
求教Python的一个问题谁知道facebook chat这类的东东是怎么做的
问个matlab socket问题借人气,请教个SMTP server的问题 (转载)
大家在linux下面用什么C++的IDE呢?就算假设魏老师的牛逼单机可行
Help needed! LDAP Integration with hosted applications (转载)学习 python Django 的一个问题
hbase的问题Web Service怎么让多个api call share 同一个 connection ??
Spring + Jersey 的 REST API, servlet context 能看到 Spring 的 root application context 里的bean吗?请教:apache-poi SXSSF data validation
Question of building apache module.开发web插件从哪里开头?
相关话题的讨论汇总
话题: server话题: oltu话题: java话题: resource