wso2-am

authorize user in wso2 api manager

爱⌒轻易说出口 提交于 2019-12-12 02:56:27
问题 Currently i am using wso2 api manager 1.9 store , we have a login page before accessing anything in store . it is working fine for now . Now , there's a requirement that we have a web application on some other domain having the webservice as well to authorize the users , in wso2 api manager store when we login using admin/admin ,, instead of calling its login.jag(for the authorization in wso2 store) , it must be calling that webservice for the authorization and we can use the same credentials

WSO2 API Manager - How to get User profile with consumer key & secrete

感情迁移 提交于 2019-12-12 02:25:25
问题 Does anyone know how to get the user profile (including username & password) via rest API provided by wso2am with consumer key and secrete? Because we don't store username & password in client side but only consumer key and secrete, and generally, we have to provide 4 parameters (username,password,consumer key and consumer secrete) to get access token. so we want to use only consumer key and secrete to get access token. 回答1: // how to get the user profile (including username & password) via

WSO2 APIM security - separation of the publisher access

佐手、 提交于 2019-12-12 02:25:08
问题 I have question about the separation of the publishers. If we want the publishers to manage only their own API, can we restrict them to see/update APIs published by other publishers? Or do we need to create a separate tenant? In theory - there's possibility to restrict API visibility to a specific role, but there's a way around. If a publisher is displaying statistics - the statistics shows records for APIs which should not be visible to the user without the specific restriction role.

Failed to start wso2 API Manager v2.0.0 on centos 7.0

本小妞迷上赌 提交于 2019-12-12 02:10:03
问题 I am trying WSO2 API Manager 2.0 and failed to start the server. Would you like give a hand? Thanks a lot Michael Below is the version information. [wso2@srv11 bin]$ ./wso2server.sh --version WSO2 API Manager v2.0.0 WSO2 Carbon Framework v4.4.7 But when I start the API Manager with "wso2server.sh --start" command, I found following error information in wso2carbon.log. ID: [-1234] [] [2016-08-15 09:48:32,824] INFO {org.wso2.andes.server.security.auth.manager

Unable to view statics in the WSO2 API Manager Publisher?

喜夏-厌秋 提交于 2019-12-12 01:59:37
问题 I'm setting up WSO2 API Manager & WSO2 BAM. I folloed each and every step given in the below article. http://umeshagunasinghe.blogspot.com/2013/11/how-to-configure-wso2-api-manager-to.html I see below error in the terminal when I try to access the statistics page. [2015-02-06 14:15:29,405] ERROR - usage:jag java.lang.NullPointerException: null Below is the page I get. I checked below questions as well. but didn't work out for me. Why am I unable to view stats in the WSO2 API Manager Store?

How to Use Query Params With WSO2 API Manager 1.8?

十年热恋 提交于 2019-12-12 01:55:05
问题 I am using Wso2 API manager 1.8 . I have created one API http://example.com:8280/api/test/v1/user/{userId}/content.json , Here userID value Coming dynamically .Normal API call working fine , ie http://example.com:8280/api/test/v1/user /200/content.json ,I am getting the results fine.Now I want to apply pagination. I am passing some query-params with this ,ie http://example.com:8280/api/test/v1/user /200/content.json?startIndex=0&count=1 But 403 forbidden error coming . <ams:fault> <ams:code

WSO2 APIM - api file deployment

陌路散爱 提交于 2019-12-12 01:36:50
问题 deploying the WSO2 APIM 2.1.0 using puppet, we consider to deploy the API itself with the CICD as well. In theory - I could copy (template) the synapse files (proxy, api) and the api is available for the call, however - the API is not visible in the store. I assume there's more data in the database than just a synapse config file. Is there a way to define / deploy API (including to the store) using the configuration files or it needs to be done manually? Edit: I thought there's a way to

WSO2 API Manager 2.0.0 and analytics configuraton, Error : “api_request_summary”

这一生的挚爱 提交于 2019-12-12 01:22:34
问题 I have configured WSO2 API Manager and WSO2 AM Analytics as per following document - https://docs.wso2.com/display/AM200/Configuring+APIM+Analytics I could see generated analytics data on analytics server carbon admin dashboard under Home>Manage>Interactive Analytics>Data Explorer but when I try Statistics on API Publisher or store it is giving following error in the log of api manager: please advise. thanks. [2017-01-06 03:56:34,768] ERROR - usage:jag org.wso2.carbon.apimgt.usage.client

Two WSO2 API Manager for Internal and External use

六眼飞鱼酱① 提交于 2019-12-12 00:02:50
问题 Is it a common practice to have one API Manager for external user (and internal developers/publishers) and another one for internal users/developers/publishers? If I have SOAP services in the backend, does that mean I should expose them as SOAP APIs in my internal API Manager? Do the consumers still need to generate the stubs? 回答1: yes you can have external setup for external users and internal setup for internal users. when come to developers you can setup a dev environment for them. once

WSO2AM2.1.0-update12 scope roles for federated users

那年仲夏 提交于 2019-12-11 18:28:30
问题 Using WSO2AM 2.1.0-update12 trying to get a token from an authorization code grant with role based scope: using SAML to authenticate users (SAML returning username only, we assume roles from the underlying AD userstore). Complete stacktrace is available we have an exception: DEBUG - Found Authorization Code for Client : kf2UGHFTyCzKUNgSMc65BZNCzooa, authorized user : FEDERATED/xxxxxxx@carbon.super, scope : test001_backend Caused by: java.lang.NullPointerException at org.wso2.carbon.user.core