Re: [Dev] Account association with 'userAttribute' usecase in SMSOTP and TOTP

2017-10-24 Thread Kanapriya Kuleswararajan
Hi Malithi, Please find the comments in line. > > I was using $subject to associate federated identity over google and > facebook to the local user while configuring SMSOTP and TOTP as the second > factor authentication mechanism. > > As I noted, for this to work I had to configure the federated

[Dev] AuthenticationAdmin is not configured as an admin service

2017-10-24 Thread Nuwandi Wickramasinghe
Hi all, Noticed $subject while reviewing [1]. In services.xml for AuthenticationAdmin, adminservice parameter is set to false ([2]). Any specific reason for this? However in doc link [3] (step 8th point under *Discovering the admin services*), we have given AuthenticationAdmin as an example for

Re: [Dev] Unit test for siddhi-io-jms

2017-10-24 Thread Kalaiyarasi Ganeshalingam
Hi, Ok. I will work on this. Regards, Kalaiyarasi Ganeshalingam Associate Software Engineer| WSO2 WSO2 Inc : http://wso2.org Tel:+94 076 6792895 LinkedIn :www.linkedin.com/in/kalaiyarasiganeshalingam

Re: [Dev] AuthenticationAdmin is not configured as an admin service

2017-10-24 Thread Johann Nallathamby
By definition admin services are services that require authentication and authorization. This is the parameter you find in the services.xml of the service. If that is set to false then it is not an admin service. AuthenticationAdmin is the service to do authentication. So obviously you can't have

Re: [Dev] AuthenticationAdmin is not configured as an admin service

2017-10-24 Thread Nuwandi Wickramasinghe
Thanks Johann. So I think it makes sense not to use AuthenticationAdmin as an example in a doc when we are discussing about generic admin services, where admin users get authenticated and perform tasks. @Doc team, Could you please change [1] with a different admin service example. Created [2] to

Re: [Dev] Unit test for siddhi-io-jms

2017-10-24 Thread Kalaiyarasi Ganeshalingam
Hi, I tried with the binary mapper, But in the BinarySinkMapper, getOutputEventClasses() [1] method returns ByteBuffer.class. So is it possible to to convert Siddhi events to byte[] ? [1]

Re: [Dev] Unit test for siddhi-io-jms

2017-10-24 Thread Sriskandarajah Suhothayan
Then please change the code accept ByteBuffer and we don't need to support byte[] Regards Suho On Tue, Oct 24, 2017 at 4:42 PM, Kalaiyarasi Ganeshalingam < kalaiyar...@wso2.com> wrote: > Hi, > > I tried with the binary mapper, But in the BinarySinkMapper, > getOutputEventClasses() [1] method

[Dev] How to configure the IS Dashboard for a IS cluster fronted by Nginx

2017-10-24 Thread Sashika Wijesinghe
Hi All, We have configured two IS nodes fronted by Nginx and the site.json with server host details as below. { "proxy" : { "proxyHost" : "is.dev.wso2.org", "proxyHTTPSPort" : "443", "proxyContextPath" : "", "servicePath" : "/services" } } When I log in

[Dev] Endpoint Address

2017-10-24 Thread Melodias
Hi dev, It is possible to get backend endpoint address from org.apache.axis2.context.MessageContext? -- Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html ___ Dev mailing list Dev@wso2.org

Re: [Dev] Endpoint Address

2017-10-24 Thread Mushthaq Rumy
Hi Melodias, You can also try with messageContext.getTo() [1] as well. [1] - https://github.com/wso2/wso2-synapse/blob/master/modules/core/src/main/java/org/apache/synapse/core/axis2/Axis2MessageContext.java#L384 Thanks & Regards, Mushthaq On Tue, Oct 24, 2017 at 6:28 PM, Himasha Guruge

Re: [Dev] Endpoint Address

2017-10-24 Thread Himasha Guruge
Hi , Could you try with context.getEndpoint(endpointKey).getName(); [1] https://github.com/wso2/wso2-synapse/blob/master/modules/ core/src/main/java/org/apache/synapse/core/axis2/ Axis2MessageContext.java#L235 Thanks, Himasha On Tue, Oct 24, 2017 at 6:05 PM, Melodias

Re: [Dev] [APIM] Testing for Offline Microgateway

2017-10-24 Thread Rajith Roshan
Hi, In C5 we have used feign library[1] as a http client. You can refer the usages in code[2] [1] - https://github.com/OpenFeign/feign [2] -

Re: [Dev] How can I reset secret key of a federated identity when using TOTP

2017-10-24 Thread Kanapriya Kuleswararajan
Hi Malithi, > BTW, for both local user and federated user this will work once you > de-select the Enable TOTP claim from the dashboard. Because for the > federated scenario, based on the use-cases have to create the user in the > local user store. If you are not setting any use case, then

Re: [Dev] [APIM] Testing for Offline Microgateway

2017-10-24 Thread Abimaran Kugathasan
Hi Sabeena, I guess you are planning to write an HTTP client library to invoke APIs. In that case, there are many HTTP libraries out there. Swagger codegen [1] provides a client for different languages, for Java, it provides client SDK compatible with Jersey1.x, Jersey2.x, OkHttp, Retrofit1.x,

Re: [Dev] How can I reset secret key of a federated identity when using TOTP

2017-10-24 Thread Malithi Edirisinghe
On Wed, Oct 25, 2017 at 10:37 AM, Kanapriya Kuleswararajan < kanapr...@wso2.com> wrote: > Hi Malithi, > > >> BTW, for both local user and federated user this will work once you >> de-select the Enable TOTP claim from the dashboard. Because for the >> federated scenario, based on the use-cases

Re: [Dev] Account association with 'userAttribute' usecase in SMSOTP and TOTP

2017-10-24 Thread Kanapriya Kuleswararajan
Hi Malithi, 2. Noted, that in each authenticator an additional parameter needs to be >> configured to denote 'userAttribute' mapping. Is this how (1) above is >> achieved ? >> However, the respective configurations in SMSOTP and TOTP with this >> regard are not consistent. Moreover, I feel

Re: [Dev] Account association with 'userAttribute' usecase in SMSOTP and TOTP

2017-10-24 Thread Malithi Edirisinghe
Hi Kanapriya, On Tue, Oct 24, 2017 at 11:46 AM, Kanapriya Kuleswararajan < kanapr...@wso2.com> wrote: > Hi Malithi, > > Please find the comments in line. > >> >> I was using $subject to associate federated identity over google and >> facebook to the local user while configuring SMSOTP and TOTP

Re: [Dev] How can I reset secret key of a federated identity when using TOTP

2017-10-24 Thread Malithi Edirisinghe
Hi Kanapriya, On Tue, Oct 24, 2017 at 10:35 AM, Kanapriya Kuleswararajan < kanapr...@wso2.com> wrote: > Hi Malithi, > > If you wanted to re-scan the QR code then you have to deselect the Enable > TOTP claim in the dashboard, this will automatically remove the secret key > claim from the user