wso2carbon

Error while installing features using POM in wso2

≡放荡痞女 提交于 2019-12-11 15:06:17
问题 i have tried to install features using the below method (https://docs.wso2.org/display/Carbon420/Installing+Features+using+pom+Files) I want to install the features using this method (instead of through UI) While building through maven,the features and plugins are properly inserted into the corresponding folder structure, but it's not updating the platform.xml and bundles.info file Can anyone help me on this... There is a bug in this Maven Installation i think Please help me ... Below is my

WSO2 Application Server will redirect to “/carbon” upon 404 error is expected

橙三吉。 提交于 2019-12-11 14:16:30
问题 I am being confused by wso2 aplication server. When i access a non-exist page, it will always redirect to carbon console, I have studied the xml config files, but find no luck. I just want to know how to make it just report 404 error when it does happen? 回答1: I have found the answer, the reason is the carbon app occupied the context root, so all request to non exist context-roots will be received by carbon app. After changing the carbon WebContextRoot in carbon.xml, all seems ok now. 来源:

wso2 identity server Multifactor Authentication error

≯℡__Kan透↙ 提交于 2019-12-11 11:48:50
问题 I am unable to implement Multifactor Authentication . The error i am getting is TID: [0] [WSO2 Identity Server] [2012-10-30 10:31:38,620] ERROR {org.wso2.carbon.identity.provider.xmpp.MPAuthenticationProvider} - login failed. Trying again.. {org.wso2.carbon.identity.provider.xmpp.MPAuthenticationProvider} SASL authentication failed: at org.jivesoftware.smack.SASLAuthentication.authenticate (SASLAuthentication.java:209) at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:341) at

Cannot import XACML 3,0 policy file inside WSO2 Identity Server 5.1.0

落花浮王杯 提交于 2019-12-11 11:34:33
问题 I am getting " Policy uploading failed. Invalid Entitlement Policy. Policy is not valid according to XACML schema " message, whenever i am uploading policy in WSO2 identity server. I have wso2is-5.1.0 version. I got this XACML policy from this WSO2 tutorial. The XACML policy is: <Policy xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17" PolicyId="Entitlement_Filter_Sample_Policy" RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:first-applicable" Version="1.0">

WSO2 APIM: Taking long time for retrieving applications list

最后都变了- 提交于 2019-12-11 08:53:03
问题 I'm using WSO2-APIM-2.1.0 . Which internally uses solr 5.2.1 . Inside WSO2-APIM-2.1.0 , I've added around 2087 applications. Wso2 internally generating the solr OR query which has around 2087 OR clauses of 121825 characters. When I tried to get application list though the API call: curl -k -H "Authorization: Bearer access_token" "https://localhost:9443/api/am/publisher/v0.11/subscriptions?apiId=apiId&limit=2200" (It took around 6 minutes, which is too long.) Using the link https://localhost

how to get all the scopes user has access to in WSO2 API manager

馋奶兔 提交于 2019-12-11 08:03:21
问题 My web client application has different menus like read , delete , add ,view etc depending up on the users roles. I have different scope as read , delete , add etc and associated roles with them which is configured in WSO2 API Manager. when user logs in , I authenticate user via WSO2 API Manager and gets the token .How can i obtain all the valid scopes for that token so that i can show the user different menu's depending on the scopes i received? Since i have many scopes , i hope to have some

WSO2AM - SAML - Provided Authorization Grant is invalid

↘锁芯ラ 提交于 2019-12-11 07:59:50
问题 I am integrating WSO2AM with our in-house proprietary Identity Provider (IDP). I was following the wso2 documentation "Exchanging SAML2 Bearer Tokens with OAuth2 - SAML Extension Grant Type". I have added Identity Providers in API Manager's management console and added public certificate .pem of IDP. Next I added wso2am as service provider on our IDP. I have generated a saml token from idp and i now i am ready to exchange it for OAuth token from API Manager. I am getting following error: {

WSO2 Authentication failure on gateway node running WSO2 AM 2.1.0

醉酒当歌 提交于 2019-12-11 07:25:41
问题 After working with WSO2 AM 1.10.0, we're now evaluating AM 2.1.0 for our WSO2 cluster. The cluster has two types of nodes: A manager node: a complete set of WSO2 AM products. A worker node: which runs only the gateway (-DworkerNode=true -Dprofile=gateway-worker) At the manager node, everything works ok. I am able to create a tenant (0000s7.com) and an API, and run it (I defined the GET verb to be unauthenticated, so no subscription is needed): $ curl http://localhost:8280/t/0000s7.com/ofer1/1

How can I modify the port 5672 in AM?

对着背影说爱祢 提交于 2019-12-11 07:04:18
问题 I start the AM server by running the commond wso2carbon.sh and the carbon.log prompts the 5672 was used. So I have to modify the port. Thus, which configuration file I should modify? Thanks a lot. 回答1: Here is a quick grep which will help you. (note: here the port is changed from 5672 to 5678.) bhathiya@bhathiya-x1:/data/products/am/wso2am-2.0.0/bin$ grep -r 5678 ../repository/conf/ -A 5 -B 5 ../repository/conf/api-manager.xml- <!--InitDelay>300000</InitDelay> ../repository/conf/api-manager

Cannot export Web Application to WSO2 Application Server with Developer Studio 2.1.0

℡╲_俬逩灬. 提交于 2019-12-11 05:41:34
问题 I downloaded the latest version of WSO2 Developer Studio: developer-studio-eclipse-jee-helios-linux-gtk-x86_64-2.1.0.zip and the WSO2 Carbon 4 based Application Server version: wso2as-5.0.1.zip unzipped both and started Developer Studio. As I want to deploy a Maven webapp project, I installed m2e on top of WSO2 Developer Studio. Then I followed this article: http://wso2.org/library/articles/2012/09/develop-deploy-web-applications-using-wso2-developer-studio#section3 apart from the fact that