[Dev] [App Cloud] Tenant Creation/Deletion process

2014-08-20 Thread Godwin Shrimal
Hi, We are working on Training project (*[Cloud] Tenant deletion code/script for cloud* - https://redmine.wso2.com/issues/3121) , there for studying the process of create tenant in App Cloud. We studied the *CreateTenant.bpel *(under appfactory/1.1.0/modules/bpels/CreateTenant) which is use to

Re: [Dev] [App Cloud] Tenant Creation/Deletion process

2014-08-20 Thread Godwin Shrimal
Hi Amila, Thanks for the information. I'll update the process. On Wed, Aug 20, 2014 at 6:03 PM, Amila Maha Arachchi ami...@wso2.com wrote: On Wed, Aug 20, 2014 at 5:10 PM, Godwin Shrimal god...@wso2.com wrote: Hi, We are working on Training project (*[Cloud] Tenant deletion code/script

Re: [Dev] [App Cloud] Tenant Creation/Deletion process

2014-08-20 Thread Godwin Shrimal
://wso2.com/ Mobile : +94716332729 On Wed, Aug 20, 2014 at 6:03 PM, Amila Maha Arachchi ami...@wso2.com wrote: On Wed, Aug 20, 2014 at 5:10 PM, Godwin Shrimal god...@wso2.com wrote: Hi, We are working on Training project (*[Cloud] Tenant deletion code/script for cloud* - https

[Dev] WSO2-DSS - error on creating data service

2014-07-28 Thread Godwin Shrimal
Hi, I am trying to create a data service and it gives following error when click on *Add New Data Source. * Same kind of error occurring when trying to add New Queries and see the detail by clicking on existing data services PWC6197: An error occurred at line: 624 in the jsp file:

Re: [Dev] WSO2-DSS - error on creating data service

2014-07-28 Thread Godwin Shrimal
Hi, This is sorted out by installing jdk7. I previously run it on jdk8. BTW I face same issue on WSO2 Governance Service as well. Is there a incompatibility with jdk8 ? On Mon, Jul 28, 2014 at 12:27 PM, Godwin Shrimal god...@wso2.com wrote: Hi, I am trying to create a data service

Re: [Dev] WSO2-DSS - error on creating data service

2014-07-28 Thread Godwin Shrimal
Hi Rajitha, Thanks thanks for the info. On Mon, Jul 28, 2014 at 5:32 PM, Rajith Vitharana raji...@wso2.com wrote: Hi Godwin, AFAIK WSO2 products works well with jdk6 Thanks, On Mon, Jul 28, 2014 at 5:16 PM, Godwin Shrimal god...@wso2.com wrote: Hi, This is sorted out by installing

Re: [Dev] WSO2-DSS - error on creating data service

2014-07-30 Thread Godwin Shrimal
, 2014 at 6:15 PM, Godwin Shrimal god...@wso2.com wrote: Hi Rajitha, Thanks thanks for the info. On Mon, Jul 28, 2014 at 5:32 PM, Rajith Vitharana raji...@wso2.com wrote: Hi Godwin, AFAIK WSO2 products works well with jdk6 Thanks, On Mon, Jul 28, 2014 at 5:16 PM, Godwin Shrimal god

Re: [Dev] WSO2-DSS - error on creating data service

2014-07-30 Thread Godwin Shrimal
. http://wso2.com/ Mobile : +94716332729 On Thu, Jul 31, 2014 at 10:55 AM, Godwin Shrimal god...@wso2.com wrote: Hi Danushka, I didn't compile the source code, just run the distribution. It worked well with JDK6 and JDK7, and faced many issues with JDK8, It seems not supporting JDK8

[Dev] [Carbon] Student Manager Sample

2014-08-08 Thread Godwin Shrimal
Hi, I am working with student manager carbon component sample, when I deploy both backend and frontend component it shows the menu item and working properly. But when I try to check the wsdl of the backend service it gives following error HTTP Status 403 - Access to service metadata for service:

Re: [Dev] [Carbon] Student Manager Sample

2014-08-08 Thread Godwin Shrimal
/parameter parameter name=hiddenService locked=truefalse/parameter Thanks, On Fri, Aug 8, 2014 at 1:03 PM, Godwin Shrimal god...@wso2.com wrote: Hi, I am working with student manager carbon component sample, when I deploy both backend and frontend component it shows the menu item and working

[Dev] [Carbon Product] User Management - Password Change issue

2014-08-14 Thread Godwin Shrimal
Hi In Carbon products there is a problem when trying to change the user's password. *Steps to create the issue* 1. Login to Carbon product 2. Goto Users and Roles under Configure 3. Click on Users 4. Click Change password on particular user 5. This will show only to Enter New Password and New

Re: [Dev] [Carbon Product] User Management - Password Change issue

2014-08-14 Thread Godwin Shrimal
the carbon product you are using? Thanks Dulanja On Thu, Aug 14, 2014 at 2:14 PM, Godwin Shrimal god...@wso2.com wrote: Hi In Carbon products there is a problem when trying to change the user's password. *Steps to create the issue* 1. Login to Carbon product 2. Goto Users and Roles under

Re: [Dev] [Carbon Product] User Management - Password Change issue

2014-08-14 Thread Godwin Shrimal
? Thanks Dulanja On Thu, Aug 14, 2014 at 2:14 PM, Godwin Shrimal god...@wso2.com wrote: Hi In Carbon products there is a problem when trying to change the user's password. *Steps to create the issue* 1. Login to Carbon product 2. Goto Users and Roles under Configure 3. Click on Users 4

Re: [Dev] [Carbon Product] User Management - Password Change issue

2014-08-14 Thread Godwin Shrimal
, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi Godwin, Can you give more information about the product(s) and version(s) you encountered this issue? Thanks. /Gayashan On Thu, Aug 14, 2014 at 2:14 PM, Godwin Shrimal god...@wso2.com wrote: Hi In Carbon products there is a problem

Re: [Dev] [Carbon Product] User Management - Password Change issue

2014-08-14 Thread Godwin Shrimal
Hi Dulanja, Noted and Thanks for pointing it. On Thu, Aug 14, 2014 at 3:25 PM, Dulanja Liyanage dula...@wso2.com wrote: This is a known issue [1] and already fixed in the code base. [1] https://wso2.org/jira/browse/IDENTITY-1975 On Thu, Aug 14, 2014 at 3:08 PM, Godwin Shrimal god

Re: [Dev] Please review and merge PR

2015-12-02 Thread Godwin Shrimal
an/carbon-identity/commit/b06e2039f4c86ee80c97186e36327b635feece31 >> >> On Fri, Nov 27, 2015 at 10:32 AM, Godwin Shrimal <god...@wso2.com> wrote: >> >>> Hi Malintha, >>> >>> Please check the comments in the PR. >>> >>> >>

Re: [Dev] [VOTE] Release WSO2 Identity Server 5.1.0 RC1

2015-12-20 Thread Godwin Shrimal
Hi Devs, I tested major functionalities in XACML and PassiveSTS. No issues encountered. [x] Stable - go ahead and release. Thanks Godwin On Sun, Dec 20, 2015 at 8:27 PM, Damith Senanayake wrote: > Hi Devs, > > I tested the major functionalities of user management and

Re: [Dev] [VOTE] Release WSO2 Identity Server 5.1.0 RC2

2015-12-22 Thread Godwin Shrimal
Hi Devs, I have tested following functionalities. *XACML* - Use Simple/Basic/Advance policy editors and create a policy - Use XML view/Import an existing policy - Try out within the PAP - Policy Versioning/rollback - Publishing to PDP with different options. - Policy/Rule

Re: [Dev] [DEV][EMM] Enable Email Authentication

2015-11-27 Thread Godwin Shrimal
gt; > I have attached the carbon.xml and user-mgt.xml with this. > One other thing is im using embedded LDAP of IS as a secondary user store. > So im attaching that config file as well > > Thanks, > > On Fri, Nov 27, 2015 at 3:22 PM, Godwin Shrimal <god...@wso2.com> wrote:

Re: [Dev] [DEV][EMM] Enable Email Authentication

2015-11-27 Thread Godwin Shrimal
.com/display/IS500/Email+Authentication​ > > Regards, > > On Fri, Nov 27, 2015 at 4:53 PM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi Milan, >> >> You have to set email for UserNameSearchFilter and UserNameAttribute >> properties in user-mgt.xml as follows.

Re: [Dev] Please review and merge PR

2015-11-26 Thread Godwin Shrimal
Hi Malintha, Please check the comments in the PR. Thanks Godwin On Thu, Nov 26, 2015 at 3:15 PM, Malintha Amarasinghe wrote: > Hi IS Team, > > Can you please merge the following PR [1]. This contains a new NTLM grant > handler which fixes the following JiRA [2]. > > [1]

[Dev] rest service and servlet redirects problem

2015-11-29 Thread Godwin Shrimal
Hi, There is a problem with the send redirect in rest service in tomcat container. Ex. There is a rest service as http://localhost:9443/auth2/autheorize, If we directs to /authentication/login.do from above service, it redirects to http://localhost:9443/auth2/authentication/login.do but it

Re: [Dev] rest service and servlet redirects problem

2015-11-29 Thread Godwin Shrimal
2015 at 9:46 AM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi, >> >> There is a problem with the send redirect in rest service in tomcat >> container. >> >> Ex. There is a rest service as http://localhost:9443/auth2/autheorize, >> If we directs to /a

Re: [Dev] [DEV][EMM] Enable Email Authentication

2015-11-27 Thread Godwin Shrimal
Hi Milan, No, you don't need to add carbon.super for super tenant users, Did you configure carbon.xml and user-mgt.xml according to the [1], can you share those files ? [1] https://docs.wso2.com/display/IS500/Email+Authentication​ Thanks Godwin On Fri, Nov 27, 2015 at 3:04 PM, Milan Perera

[Dev] Read output logs in console

2015-11-20 Thread Godwin Shrimal
Hi Devs, I am writing an automation test for Kernel 4.1.0 which need to read the log to assert. Kernel 4.1.0 doesn't have LogViewer admin service, so cannot use LogViewerClient to read the logs. So what are other recommended way to read the logs in test cases ? Thanks Godwin -- *Godwin Amila

[Dev] Http Servlet forwarding issue

2015-11-23 Thread Godwin Shrimal
Hi, I am trying to forward the servlet request from *samlsso* servlet to *commonauth* and getting following error in browser. *HTTP Status 405 - HTTP method GET is not supported by this URL* Note : Both servlets are registered from OSGI Service component and has implemented doGet and doPost

Re: [Dev] Http Servlet forwarding issue

2015-11-23 Thread Godwin Shrimal
> AFAIK Only think you can do is redirecting. > On Nov 23, 2015 7:23 PM, "Godwin Shrimal" <god...@wso2.com> wrote: > >> Hi, >> >> I am trying to forward the servlet request from *samlsso* servlet to >> *commonauth* and getting following error in

Re: [Dev] [IS] Possible bug in SPInitLogoutRequestProcessor class

2015-11-20 Thread Godwin Shrimal
Hi Sajitha, Yes. There is an issue with the if condition as you pointed, You are welcome to send a PR for this :) Thanks Godwin On Sat, Nov 21, 2015 at 8:52 AM, Sajith Ariyarathna wrote: > Hi IS team, > > When looking at the >

Re: [Dev] Script Mediator getMonth issue

2016-06-03 Thread Godwin Shrimal
This is the behavior of Javascript and it returns the month 0-11. Please check [1] for more information. [1] http://www.w3schools.com/jsref/jsref_getmonth.asp Thanks Godwin On Fri, Jun 3, 2016 at 3:20 PM, Godwin Shrimal <god...@wso2.com> wrote: > Hi All, > > I am having a probl

[Dev] Script Mediator getMonth issue

2016-06-03 Thread Godwin Shrimal
Hi All, I am having a problem with getting month using script mediator, it always give (month - 1) value, As an example if we pass currentDate as 2015/12/31, it gives month as 11 not 12. What is the reason for this behavior ?? var currentDate = new Date(mc.getProperty('currentDate'));

[Dev] ESB Dynamic endpoint support

2016-06-07 Thread Godwin Shrimal
Hi All, Do we have a way to do $Subject such as below, same way we are doing with Sequence since my endpoint key is in a property. Thanks Godwin -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin:

Re: [Dev] ESB Dynamic endpoint support

2016-06-07 Thread Godwin Shrimal
t; > On Tue, Jun 7, 2016 at 9:11 PM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi Harsha, >> >> As I mentioned above endpoint key is in a property and we need to pick >> the endpoint based on that property. >> >> >> Thanks >> Godwi

Re: [Dev] ESB Dynamic endpoint support

2016-06-07 Thread Godwin Shrimal
>> On Tue, Jun 7, 2016 at 2:11 PM, Lahiru Sandaruwan <lahi...@wso2.com> >> wrote: >> >>> Hi Godawin, >>> >>> You can set to header, see [1] >>> >>> >>> >>> Thanks. >>> [1] >>> https://svn

[Dev] ESB Blocking call mediator

2016-06-07 Thread Godwin Shrimal
Hi All, When I use call mediator in my sequence as below it gives error [1]. If I change the code as any of below, its works fine. Do we have a problem in Call mediator with the combination of *blocking=true *and *key-expression *in endpoint ? [1]

[Dev] ESB Dynamic Store support

2016-06-07 Thread Godwin Shrimal
Hi All, Do we have a way to do $Subject such as below. *Note. Above config is not working and it takes {$ctx:message_store} as the store name* Thanks Godwin -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165*

Re: [Dev] ESB Dynamic Store support

2016-06-07 Thread Godwin Shrimal
> Regards > Senduran > > On Tue, Jun 7, 2016 at 8:01 PM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi All, >> >> Do we have a way to do $Subject such as below. >> >> >> >> >> *Note. Above config is not working and it takes {$ct

Re: [Dev] ESB Blocking call mediator

2016-06-13 Thread Godwin Shrimal
mal...@wso2.com> wrote: > Hi Godwin, > > For using the key-expression feature, shall we get the exact use case that > you are trying to implement? > > On Wed, Jun 8, 2016 at 7:55 PM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi Kathees, >> >> My re

Re: [Dev] [wso2 IS] How to disable Shindig fetching google analytics

2016-06-13 Thread Godwin Shrimal
Hi Udara, You can disable Shindig from loading default features. However this might affect some of the gadgets in the dashboard. Comment below line in /repository/deployment/server/webapps/shindig/WEB-INF/web.xml org.apache.shindig.extras.ShindigExtrasGuiceModule: Thanks Godwin On Mon, Jun

Re: [Dev] ESB Blocking call mediator

2016-06-08 Thread Godwin Shrimal
proach. > > Thanks, > Kathees > > On Wed, Jun 8, 2016 at 6:27 AM, Isuru Udana <isu...@wso2.com> wrote: > >> Hi Godwin, >> >> I think key-expressions are not supported in blocking mode. >> @Kathees, >> Can you please confirm ? >> >> Th

Re: [Dev] Pass dynamic values to class mediator

2016-06-02 Thread Godwin Shrimal
t; >>> these values are dynamic values so we can receive these values in code >>> level without set property[1]. >>> >>> [1] >>> https://github.com/wso2-extensions/esb-connector-ejb2.0/blob/master/src/main/java/org/wso2/carbon/custom/connector/EJBUtil.java#L131

Re: [Dev] ESB Enrich Mediator Issue with JSON array

2016-05-26 Thread Godwin Shrimal
You can do the following. For more info see [1]. > > > > > > > [1] https://docs.wso2.com/display/ESB480/JSON+Support > <https://www.google.com/url?q=https%3A%2F%2Fdocs.wso2.com%2Fdisplay%2FESB480%2FJSON%2BSupport=D=1=AFQjCNGzk2n5B0bZhZdSndzB-lDEKp0BPA> > > &g

[Dev] Pass dynamic values to class mediator

2016-06-01 Thread Godwin Shrimal
Hi All, How can we pass dynamic values to class mediator ?, if we try to do as below it give a error *A Class mediator property must specify name and value attributes, or a name and a child XML fragment* How can we achieve this ? Thanks Godwin -- *Godwin Amila Shrimal* Senior

Re: [Dev] Pass dynamic values to class mediator

2016-06-01 Thread Godwin Shrimal
nly support static values. > > The only option is to set some property using the property mediator and > within the class mediator code read that property using > synCtx.getProperty('prop_name_here') > > Thanks. > > On Thu, Jun 2, 2016 at 8:54 AM, Godwin Shrimal <god...@wso2.c

Re: [Dev] Reading transport header with JMS inbound

2016-06-21 Thread Godwin Shrimal
Hi Manu, What is the exact issue you have ? I had an issue with reading numeric transport headers in JMS Message Store/Processor same artifacts work fine with InMemory Message Store. Thanks Godwin On Mon, Jun 20, 2016 at 3:50 PM, Manuranga Perera wrote: > Have some issues

[Dev] [ESB/MB] Issue with numeric Transport headers with JMS Message Store and Processor

2016-06-19 Thread Godwin Shrimal
Hi All, Having an issue with numeric values in transport headers when we use Message Store and Processor with JMS. There is a Script mediator as below inside a sequence to set the transport header *REDELIVERY_ATTEMPTS*. When we use JMS message store (connected WSO2 MB) it gives null value when it

Re: [Dev] Fixing IDENTITY-4722

2016-06-23 Thread Godwin Shrimal
Added a comment to PR. On Thu, Jun 23, 2016 at 6:58 AM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote: > Hi, > > Please review and merge the PR [1] which has the fix for [2]. > > [1] - > https://github.com/wso2-extensions/identity-outbound-auth-passive-sts/pull/10 > > [2] -

Re: [Dev] [ESB/MB] Issue with numeric Transport headers with JMS Message Store and Processor

2016-06-20 Thread Godwin Shrimal
ssage Processor. If it is > Forwarding Message Processor, I believe you are talking about accessing the > value from the reply sequence right ? > > On Mon, Jun 20, 2016 at 3:03 AM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi All, >> >> Having an issu

Re: [Dev] How can I get public key certificate

2016-01-14 Thread Godwin Shrimal
y. > > > > > > On Thu, Jan 14, 2016 at 2:39 PM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi Pramod, >> >> We keep only supper tenant keystore in the physical file system and >> tenant keystores stores in registry. You can get the public certif

Re: [Dev] How can I get public key certificate

2016-01-14 Thread Godwin Shrimal
Hi Pramod, We keep only supper tenant keystore in the physical file system and tenant keystores stores in registry. You can get the public certificate for the specific tenant using KeyStoreManager class. Please see below code snippet. KeyStoreManager.getInstance(tenantId).getDefaultPublicKey()

Re: [Dev] [Carbon] Adding user names with @ mark

2016-02-23 Thread Godwin Shrimal
Hi Lahiru, user-mgt.xml come from carbon kernel, you can find it under /distribution/kernel/carbon-home/repository/conf Thanks Godwin On Tue, Feb 23, 2016 at 12:37 PM, Lahiru J Ekanayake wrote: > Hi all, > > if we can update user-mgt.xml file from , *

Re: [Dev] [Architecture] create tenant via rest api

2016-02-25 Thread Godwin Shrimal
Hi John, You can find the relevant service in [1]. [1] https://github.com/wso2/carbon-multitenancy/blob/master/components/tenant-mgt/org.wso2.carbon.tenant.mgt/src/main/java/org/wso2/carbon/tenant/mgt/services/TenantMgtAdminService.java Thanks Godwin On Fri, Feb 26, 2016 at 10:10 AM,

Re: [Dev] [IS] Failed to create database tables for registry resource store.

2016-02-16 Thread Godwin Shrimal
Hi Rajjaz, It looks H2 database is corrupted. You may need to try it with fresh pack again (If data doesn't matters) or use a recovery tool to recover the database. Thanks Godwin On Tue, Feb 16, 2016 at 3:20 PM, Rajjaz Mohammed wrote: > Hi All, > i'm trying to create new

Re: [Dev] [IS] Failed to create database tables for registry resource store.

2016-02-16 Thread Godwin Shrimal
d the table in the fresh pack DB and start >> the IS. >> >> On Tue, Feb 16, 2016 at 3:38 PM, Godwin Shrimal <god...@wso2.com> wrote: >> >>> Hi Rajjaz, >>> >>> It looks H2 database is corrupted. You may need to try it with fresh >>> pack again (If data doesn

Re: [Dev] Access Public key certificates from wso2carbon.jks

2016-02-17 Thread Godwin Shrimal
Hi Tharinda, If you need to do this in carbon runtime, you can use KeyStoreManager class as follows to get public certificate of the keystore in super and other tenants. KeyStoreManager.getInstance(tenantID).getDefaultPublicKey(); Thanks Godwin On Thu, Feb 18, 2016 at 10:42 AM, Tharinda

[Dev] WSO2 Identity Server 5.2.0 Alpha Released !!

2016-03-19 Thread Godwin Shrimal
WSO2 Identity Server 5.2.0 Alpha Released !!Date: 17th March 2016The WSO2 Identity Server team is pleased to announce the release of WSO2 Identity Server 5.2.0 Alpha. You can download this distribution from https://github.com/wso2/product-is/releases/tag/v5.2.0-alpha

Re: [Dev] How to get email address of a tenant

2016-04-28 Thread Godwin Shrimal
Hi Lahiru, You can use getEmail() method in Tenant class to get the email address. Thanks Godwin On Thu, Apr 28, 2016 at 3:43 PM, Lahiru Manohara wrote: > Hi All, > > Is there any platform level method do the $subject? > > Thanks! > > -- > Best regards, > > *Lahiru

[Dev] ESB Enrich Mediator Issue with JSON array

2016-05-23 Thread Godwin Shrimal
Hi All, I used Enrich Mediator to copy the original payload as follows. Incoming JSON payload has multi-value attribute, But when multi-value attribute has only one value, Enrich mediator convert the JSON payload it as a single value attribute. Is this a known issue or do we have

Re: [Dev] ESB Enrich Mediator Issue with JSON array

2016-05-24 Thread Godwin Shrimal
Hi Shafreen, Yes. This is JSON array. Thanks Godwin On Tue, May 24, 2016 at 6:22 AM, Shafreen Anfar <shafr...@wso2.com> wrote: > Hi Godwin, > > On Mon, May 23, 2016 at 9:05 PM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi All, >> >> I used En

Re: [Dev] [IS] New Identity Extension Repo Can't Find Parent Pom

2016-05-08 Thread Godwin Shrimal
Hi Chamila, You need to add nexus repositories to your extension pom file, Can you verify it ? Thanks Godwin On Sun, May 8, 2016 at 12:50 AM, Chamila Wijayarathna wrote: > Hi all, > > I have attached the wrong error, correct one is the below one. > > mvn clean install

Re: [Dev] [ESB] DataMapper issue

2016-07-22 Thread Godwin Shrimal
n Tue, Jul 19, 2016 at 7:28 PM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi Viraj, >> >> This is not a blocking thing and we can move forward by changing it from >> the graphical view. But I think we need to figure out the proper way to fix >> it. Do we hav

[Dev] [ESB] DataMapper issue

2016-07-18 Thread Godwin Shrimal
Hi All, When load following xml file in to data mapper (input/output), the add1 data type takes as NUMBER as in screenshot . It looks when there is at least one record in the array with NUMBER it takes as NUMBER. I think It should consider all the values in the array. Demo Demo

Re: [Dev] [ESB] DataMapper issue

2016-07-19 Thread Godwin Shrimal
> > Until we figure out that conventional issue, you can change the datatype > of "add1" from the graphical view. Right click on the "add1" element from > the tree --> Click "Edit Field" and then change the Schema type. > > Thanks, > Vi

[Dev] [ESB] fn:sum is not working

2016-08-05 Thread Godwin Shrimal
Hi All, I have following sample config to sum two values http://www.w3.org/2005/xpath-functions; xmlns:test=" http://test; xmlns:ns="http://org.apache.synapse/xsd; name="testValue" expression="fn:sum($ctx:num1,$ctx:num2)"/> Total gives as 10 not 30, Is this a known bug or am I

Re: [Dev] [ESB] fn:sum is not working

2016-08-05 Thread Godwin Shrimal
e. I had to use parseInt, just using > + did not work for me. > > > > <![CDATA[ > var sum = parseInt(mc.getProperty("num1")) > +parseInt(mc.getProperty("num2")); > var sum = mc.setProperty("testValue",sum.toString()); > ]]&g

Re: [Dev] [ESB] fn:sum is not working

2016-08-07 Thread Godwin Shrimal
> will return you the value 11. So I think you can't use fn:sum to just add > two numbers together. > > > [1] - https://www.w3.org/TR/xpath-functions/#func-sum > [2] - > > > > > > > > > Thanks, > > On 6 August 2016 at 01:55, Godwin Shrimal

[Dev] [ESB] $ctx vs get-property

2016-08-02 Thread Godwin Shrimal
Hi All, Why are we recommending to Use dollar context (i.e. $ctx) instead of using the get property in the documentation [1]. Can someone explain the reason for this ? [1] https://docs.wso2.com/display/ESB481/Best+Practices+for+Mediation Thanks Godwin -- *Godwin Amila Shrimal* Senior Software

Re: [Dev] [ESB] $ctx vs get-property

2016-08-02 Thread Godwin Shrimal
> operation. But $ctx only checks in message context, does not check in the > registry. > > On Tue, Aug 2, 2016 at 11:27 AM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi All, >> >> Why are we recommending to Use dollar context (i.e. $ctx) instead of >> usi

[Dev] DSS Struct Type sample with ESB

2016-06-29 Thread Godwin Shrimal
Hi All, Do we have $Subject ? Thanks Godwin -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D * twitter: https://twitter.com/godwinamila

Re: [Dev] Difference between wso2server.bat and wso2server.sh

2016-06-20 Thread Godwin Shrimal
Hi Maduranga, In windows you can run WSO2 Severs as windows service. Please see the link [1] [1] https://docs.wso2.com/display/AS530/Installing+as+a+Windows+Service Thanks Godwin On Mon, Jun 20, 2016 at 4:46 PM, Maduranga Siriwardena wrote: > Hi all, > > While going

[Dev] [WSO2 Connector] Concur- getExchangeRate issue

2016-07-01 Thread Godwin Shrimal
Hi All, I am trying to get exchange rate using WSO2 Concur connector and getting below response. Not Found 2016-07-01T15:31:40 26D1A0AC-E21C-4626-85A3-2BB5380505DF Once we enable wire log it has an outbound as *GET /api/v3.0/expense/exchangerates/?forDate=01/01/2016& HTTP/1.1 ,

Re: [Dev] [WSO2 IS] SAML2 SSO2 into a tenant

2017-02-06 Thread Godwin Shrimal
ed. > How did you test such feature to validate it's working ? > > Regards, > Hanen > > On Thu, Feb 2, 2017 at 3:14 PM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi Hanen, >> >> Under Local and Outbound configuration of Service provider there is an >

Re: [Dev] [WSO2 IS] SAML2 SSO2 into a tenant

2017-02-02 Thread Godwin Shrimal
Hi Hanen, Under Local and Outbound configuration of Service provider there is an option called *Use tenant domain in local subject identifier *which will append the tenant domain to subject. you can find more information in [1] [1]

Re: [Dev] Dependancy issue identity-inbound-auth-saml-cloud 5.2.0-M1 Branch

2016-09-12 Thread Godwin Shrimal
Hi Jenananthan, Changed the framework version dependency issue. Can you check now ? Thanks Godwin On Mon, Sep 12, 2016 at 10:59 AM, Jenananthan Yogendran < jenanant...@wso2.com> wrote: > Hi > > Getting build issue on 5.2.0-M1 Branch. > Seems Idenity frame work version[1] still refer to

Re: [Dev] [VOTE] Release WSO2 Identity Server 5.2.0- RC1

2016-09-15 Thread Godwin Shrimal
Hi Devs, Tested following functionalities in XACML. - Use Simple/Basic/Standard policy editors and import existing policy and create a policy - Publishing to PDP with different options. - Evaluate policies No blocking issues found. [x] -Stable -go ahead and release Thanks Godwin

Re: [Dev] Custom Active Directory User Store

2016-10-28 Thread Godwin Shrimal
905.273.1306 | Cell: 647.888.6548 > > > > *From:* Godwin Shrimal [mailto:god...@wso2.com] > *Sent:* Friday, October 28, 2016 10:10 AM > *To:* Ken McDonald <kmcdon...@symcor.com> > *Cc:* WSO2 Developers' List <dev@wso2.org> > *Subject:* Re: [Dev] Custom Active Direct

Re: [Dev] WSO2 Identity Server on the cloud with custom data stores (not the classic connectors)

2016-11-16 Thread Godwin Shrimal
Hi Hanen, Yes you can deploy WSO2 Identity Server on cloud environment, And you can communicate it with on premise user stores through REST, LDAP etc. What you have to do is write a custom user store manager to communicate with the on premise user store via REST, LDAP etc. Thanks Godwin On

Re: [Dev] Custom Active Directory User Store

2016-10-28 Thread Godwin Shrimal
Hi Ken, User store manager doesn't have any control to do redirection such as password change page. User store manager take care of user operations such as create/update/authenticate etc. in your scenario its authenticate. Yes. doAuthenticate is the correct function to override. For overcome your

Re: [Dev] Where can I find the APIs for UM_GROUP/UM_USER_GROUP?

2016-10-11 Thread Godwin Shrimal
w, I think it's for the Roles, but not the Groups. > > There are tables for UM_GROUP and UM_ROLE. I think there are different > > Thanks, Wenxing > > > -- Original ------ > *From: * "Godwin Shrimal";<god...@wso2.com>; > *S

Re: [Dev] Where can I find the APIs for UM_GROUP/UM_USER_GROUP?

2016-10-11 Thread Godwin Shrimal
-- Original ------ > *From: * "Godwin Shrimal";<god...@wso2.com>; > *Send time:* Tuesday, Oct 11, 2016 8:19 PM > *To:* "wenxzhen"<wenxing.zh...@qq.com>; > *Cc:* "dev"<dev@wso2.org>; > *Subject: * Re: [Dev] Where can I find the APIs

Re: [Dev] Where can I find the APIs for UM_GROUP/UM_USER_GROUP?

2016-10-11 Thread Godwin Shrimal
Hi wenxing, You can use https://localhost:9443/services/UserAdmin?wsdl for this and see below for operation information. Get groups : getAllRolesNames Get User groups : getRolesOfUsers Let us know if you need further information on this. Thanks Godwin On Tue, Oct 11, 2016 at 3:40 PM,

[Dev] Dynamic zip file download from Jaggery application

2016-10-17 Thread Godwin Shrimal
Hi All, We need to dynamically create zip file and allow download it from jaggery application. For resolve the concurrent access of the system, we are going to create a directory with the time-stamp and archive that directory and allow user to download it. Then we need to create a separate

Re: [Dev] Dynamic zip file download from Jaggery application

2016-10-17 Thread Godwin Shrimal
arbon.ho >> me}/repository/resources/mobileapps/) and HostObject >> method has been provided to get the location. >> >> @Chathura should be able to explain the logic more since he implemented >> this. >> >> Regards, >> Dinusha. >> >> On Mon

[Dev] WSO2 Identity Server analytic username/password configuration

2017-01-09 Thread Godwin Shrimal
Hi All, As described in [1] we need to configure username/password in IsAnalytics-Publisher-wso2event-AuthenticationData.xml and IsAnalytics-Publisher-wso2event-SessionData.xml files. How do we handle when some user store has policies to change credentials periodically. Do we have to change

Re: [Dev] Any way to know the life-cycle of a tenant on AS?

2016-12-05 Thread Godwin Shrimal
Yes, you need to register the listener when bundle activate. Please refer [1] how to register Listener (which Kasun pointed above) [1]

Re: [Dev] WSO2 Identity Server analytic username/password configuration

2017-01-10 Thread Godwin Shrimal
Hi Mohan, Thanks for response, I think having a separate user (may be in another userstore) which have required permission will be a option. Thanks Godwin On Tue, Jan 10, 2017 at 2:30 PM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > > > On Tue, Jan 10, 2017 at 1

Re: [Dev] [IS] Enhance authentication criteria with a third attribute

2016-12-22 Thread Godwin Shrimal
Thu, Dec 22, 2016 at 10:30 AM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi Hanen, >> >> You are referring logging to Identity Server management console or SSO >> login ? >> >> Thanks >> Godwin >> >> >> On Thu, Dec 22, 20

Re: [Dev] [IS] Enhance authentication criteria with a third attribute

2016-12-22 Thread Godwin Shrimal
Hi Hanen, You are referring logging to Identity Server management console or SSO login ? Thanks Godwin On Thu, Dec 22, 2016 at 2:25 PM, Hanen Ben Rhouma wrote: > Hello, > > Is there a way to manage authentication based on a third attribute like > "workingHours" which

Re: [Dev] [IS] Issue while trying to call oauth2 userinfo

2017-03-24 Thread Godwin Shrimal
You need to send "openid" as scope while authorizing. Please look at the [1] [1] https://docs.wso2.com/display/IS500/OpenID+Connect+with+the+WSO2+Identity+Server+and+WSO2+OAuth2+Playground Thanks Godwin On Fri, Mar 24, 2017 at 10:05 PM, Hanen Ben Rhouma wrote: > Hi, > >

Re: [Dev] [IS 6.0.0] Making native claim dialect configurable

2017-03-20 Thread Godwin Shrimal
If we make native claim dialect configurable, will product work by changing to different claim dialect ? Thanks Godwin On Mon, Mar 20, 2017 at 4:34 PM, Pushpalanka Jayawardhana wrote: > +Prabath > > On Mon, Mar 20, 2017 at 4:33 PM, Pushpalanka Jayawardhana >

Re: [Dev] Create patch for IS

2017-04-04 Thread Godwin Shrimal
Hi Illia, You can find all the feature related carbon components inside the /repository/components/plugins directory, If you want to patch existing component, you need to do what ever the changes, build it and put into /repository/components/patches with patch number (with format *patch*) and

Re: [Dev] MSF4J Websocket security token transmit

2017-04-21 Thread Godwin Shrimal
i, Apr 21, 2017 at 11:27 AM, Arshardh Ifthikar <arsha...@wso2.com> > wrote: > >> You can find it here: https://docs.wso2.com/display/ >> AM210/Create+a+WebSocket+API >> >> Thanks >> >> On Fri, Apr 21, 2017 at 11:24 AM, Godwin Shrimal <god...@wso2.com

Re: [Dev] MSF4J Websocket security token transmit

2017-04-21 Thread Godwin Shrimal
ish the connection. This is the method we follow > to send the access token for websocket APIs in the API Manager. > > Thanks > Arshardh > > On Fri, Apr 21, 2017 at 11:11 AM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi All, >> >> What is the best way to transmit a

[Dev] MSF4J Websocket security token transmit

2017-04-20 Thread Godwin Shrimal
Hi All, What is the best way to transmit a security token in web socket while establishing a connection ? Currently we are passing through path parameter such as wss://localhost:8080/server/ Is it secure to sent it via path parameter ? If not what is the correct approach ? Thanks Godwin --

Re: [Dev] MSF4J Websocket security token transmit

2017-04-21 Thread Godwin Shrimal
*LinkedIn : https://lk.linkedin.com/in/irunika >> <https://lk.linkedin.com/in/irunika>* >> *Mobile : +94712403314 <+94%2071%20240%203314>* >> *Lean . Enterprise . Middleware* >> >> >> On Fri, Apr 21, 2017 at 11:27 AM, Arshardh Ifthikar <arsha...@wso2.com> &

Re: [Dev] MSF4J Websocket security token transmit

2017-04-21 Thread Godwin Shrimal
@adding Thusitha. As described above currently there is no way to extract headers from Session in MSF4J and no interceptor support yet with websocket. Shall we add the capability to extract headers from Session ? Thanks Godwin On Fri, Apr 21, 2017 at 5:32 PM, Godwin Shrimal <god...@wso2.

Re: [Dev] GSoC project Idea: CLI tool for IS

2017-03-06 Thread Godwin Shrimal
Adding mentors. On Mon, Mar 6, 2017 at 4:31 PM, Eranga Heshan wrote: > Hi all, > > I am an undergraduate of Department of Computer Science & Engineering, > University of Moratuwa. I was an intern at WSO2 recently. > > I am participating in GSoC this year and found the

Re: [Dev] Get Super tenant admin email

2017-07-11 Thread Godwin Shrimal
ext.getThreadLocalCarbonContext().getUserRealm(). > getRealmConfiguration() > .getAdminUserName() > > Thanks! > -Ayesha > > > On Tue, Jul 11, 2017 at 7:35 AM, Godwin Shrimal <god...@wso2.com> wrote: > >> Hi All, >> >> We cannot get super t

[Dev] [APIM] Workflow in multi-tenant environment

2017-07-11 Thread Godwin Shrimal
Hi All, If we create a custom workflow executer we need to configure it in [1] with required classes, properties etc. So in multi-tenant env we cannot modify [1] each time when we create a tenant. Do we have a better solution for this ? [1]

[Dev] Get Super tenant admin email

2017-07-10 Thread Godwin Shrimal
Hi All, We cannot get super tenant information via TenantManager. Below code returns null, So how can we get the super tenant admin's email address ? *tenantManager.getTenant(-1234)* Thanks Godwin -- *Godwin Amila Shrimal* WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile:

Re: [Dev] Get Super tenant admin email

2017-07-14 Thread Godwin Shrimal
ify the email address for the tenant (like for other tenants). > Then I believe what you need to retrieve is the email address defined in > super tenant admin's profile. > > Is that the case ? > > Regards, > TharinduE > > > > On Tue, Jul 11, 2017 at 7:09 PM, Godwin

  1   2   3   >