1

我目前正在使用WSO2 DSS创建RESTful API 来访问数据库。

我需要 DSS 为每个传入请求执行 OAuth 身份验证。有没有办法在不使用 WSO2 API Manager 或 WSO2 ESB 的情况下做到这一点?

如果我必须更改源代码来实现此功能,我应该研究哪个特定的库?

4

1 回答 1

1

对于这种不使用 WSO2 API Manager 的场景,您需要使用 WSO2 SOA Suite 的三个产品(ESB、IS、DSS)。在其他情况下,您可以将 WSO2 DSS 作为功能添加到 WSO2 ESB,并使用 IS 作为密钥管理器。检查此链接并做出最佳决定。

http://wso2.com/library/tutorials/2015/05/tutorial-hosting-restful-web-services-using-oauth-with-the-wso2-platform-0/

https://www.yenlo.com/blog/wso2-tutorial-adding-wso2-data-services-server-dss-as-a-feature-to-the-wso2-esb

于 2017-02-03T16:34:30.087 回答