简体   繁体   English

如何在WSO2 API管理器1.9中调用Rest服务

[英]How to call a rest service in wso2 api manager 1.9

I am having a login (of some another application) , now i want that same login for wso2 api store and authenticate the user,, 我正在登录(某些其他应用程序),现在我想要wso2 api存储使用相同的登录名并验证用户身份,

Is it possible to call it using rest service in wso2 api manager for user authentication.?? 可以使用wso2 api管理器中的rest服务进行调用以进行用户身份验证吗? if yes then how .?? 如果是,那么如何。

Yes you can. 是的你可以。 Add a new custom user store manager to WSO2 api manager. 将新的自定义用户商店管理器添加到WSO2 api管理器。 every user manger has a domain name and you can add one or more user store. 每个用户管理器都有一个域名,您可以添加一个或多个用户存储。 In user store you can call rest api or every other method. 在用户存储中,您可以调用rest api或所有其他方法。 You can use user store like this: 您可以像这样使用用户存储:

username : domain.com/username 用户名:domain.com/用户名

password : password 密码:密码

We use this method to authenticate our user with oauth2. 我们使用此方法通过oauth2对我们的用户进行身份验证。 https://docs.wso2.com/display/IS500/Writing+a+Custom+User+Store+Manager https://docs.wso2.com/display/IS500/Writing+a+Custom+User+Store+Manager

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM