Re: [Dev] WSO2 Oxygen Tank > Manage endpoint text responses from proxy (Unexpected character 'some_character' code 45 in prolog expected '<')

2018-01-17 Thread Marcos Tarín Esteve
Hi Nadeeshaan Regarding the need to create a custom message formatter / builder. I do not have enough knowledge to implement it. And I would like to make a solution as simple as possible. As a solution I propose the following (if you could help me). Just take the complete response received from

Re: [Dev] Select Error Codes section does not work properly when configuring an EndPoint

2018-01-17 Thread Heshitha Hettihewa
Hi Malaka, It seems the message(Popup body content) we are passing to the CARBON.showPopupDialog() function is html encoded inside the function[1]. So the html content we are passing is considered as text and shown as text content inside the popup window body. So IMO we need to set the html conten

Re: [Dev] [IAM] Access Token revocation in OAuthAdminService

2018-01-17 Thread Indunil Upeksha Rathnayake
Hi, Please find the in line comments. On Wed, Jan 17, 2018 at 10:50 AM, Hasanthi Purnima Dissanayake < hasan...@wso2.com> wrote: > Hi All, > > In the method [1] which is used to revoke access tokens by resource > owners, it iterates all ACTIVE or EXPIRED access tokens for the particular > client

Re: [Dev] Image persisting and retrieval mechanism for WSO2 IoT Server

2018-01-17 Thread Nuwan Jayawardene
Hi Anusha, That's great to hear! I was also focusing on per image storage, retrieval and if possible; processing. Could the same implementation be applied directly to images without a video stream? If that's the case it would be awesome! Thanks and regards. On Wed, Jan 17, 2018 at 9:40 AM, Anus

Re: [Dev] [IAM] Access Token revocation in OAuthAdminService

2018-01-17 Thread Maduranga Siriwardena
On Wed, Jan 17, 2018 at 3:54 PM, Indunil Upeksha Rathnayake < indu...@wso2.com> wrote: > Hi, > > Please find the in line comments. > > On Wed, Jan 17, 2018 at 10:50 AM, Hasanthi Purnima Dissanayake < > hasan...@wso2.com> wrote: > >> Hi All, >> >> In the method [1] which is used to revoke access to

[Dev] Logging in JavaScript used in conditional authentication

2018-01-17 Thread Maduranga Siriwardena
Hi Devs, To support logging in the JavaScript used for conditional authentication (mail thread [1] @ architecture@) we are trying to mimic the "console.log()" in the JavaScripts. To achieve this, we have added a binding for a apache commons log object with key name "console" to nashorn engine. So

Re: [Dev] [DEV][puppet-apim] pre-packed IS as the KM throwing The service cannot be found for the endpoint reference (EPR)

2018-01-17 Thread Pubudu Gunatilaka
Hi Isuru, Please create a github issue in [1] with your findings to track this. We will fix this in the next release. [1] - https://github.com/wso2/puppet-apim Thank you! On Wed, Jan 17, 2018 at 4:15 PM, Isuru Uyanage wrote: > I got the same issue when implementing [1]. > > As I identified th

Re: [Dev] JSON payload being null inside script message context

2018-01-17 Thread Thilini Shanika
Hi Bhthiya, We have changed the default json message builder and formatter as org.apache.synapse.commons.json.JsonStreamBuilder/JsonStreamFormatter. Further, we have included some fixes to default WorkflowCallbackService proxy service config, in order to make the workflows work with this builder/

Re: [Dev] [Architecture][IS 5.5.0] Conditional steps based on HTTP context

2018-01-17 Thread Ruwan Abeykoon
Hi Sathya, We can enhance the DefaultRequestCoordinator itself, rather than extending and creating new coordinator, as there is no functional change done by adding the "request" and "response" to authentication context. Cheers, Ruwan On Wed, Jan 17, 2018 at 10:40 AM, Sathya Bandara wrote: > Hi

[Dev] API Manager with Identity Server as Key Manager - IS secondary user store to connect to APIM Store

2018-01-17 Thread Thomas LEGRAND
Hello, I configured the Identity Server (IS) to be the Key Manager of the API Manager (APIM). In the IS, I configured a secondary user store where I will have my users of my applications. But, I think I missed something because when I want to generate a OAuth token for a user stored in this second

Re: [Dev] [DEV][puppet-apim] pre-packed IS as the KM throwing The service cannot be found for the endpoint reference (EPR)

2018-01-17 Thread Isuru Uyanage
Hi Pubudu, I have already reported following issues. https://github.com/wso2/product-apim/issues/2337 https://github.com/wso2/product-apim/issues/2311 https://github.com/wso2/product-apim/issues/2333 https://github.com/wso2/product-apim/issues/2340 https://github.com/wso2/product-apim/issues/2341

Re: [Dev] [DEV][puppet-apim] pre-packed IS as the KM throwing The service cannot be found for the endpoint reference (EPR)

2018-01-17 Thread Isuru Uyanage
I got the same issue when implementing [1]. As I identified the reason for this issue is as below. We are downloading wso2is-prepacked-puppet-module-hieradata-5.3.0.zip and copying t

Re: [Dev] WSO2 Oxygen Tank > Manage endpoint text responses from proxy (Unexpected character 'some_character' code 45 in prolog expected '<')

2018-01-17 Thread Marcos Tarín Esteve
For facilitating a simple solution. I suggest only to send to client the SOAP part of response: http://schemas.xmlsoap.org/soap/envelope/"; xmlns: ns1 = "https://.es//ws/ws_/1.0/infoEnvi";> xa3x2x8xx7 And remove file’s information: --urn: uuid: ax7xx36-98xx9-4ex1-bxxc-a

[Dev] [IAM] Access Token revocation in OAuthAdminService

2018-01-17 Thread Hasanthi Purnima Dissanayake
Hi All, In the method [1] which is used to revoke access tokens by resource owners, it iterates all ACTIVE or EXPIRED access tokens for the particular client authorized by the user. // retrieve all ACTIVE or EXPIRED access tokens for particular client authorized by this user Set accessTokenDOs

Re: [Dev] Logging in JavaScript used in conditional authentication

2018-01-17 Thread Thusitha Kalugamage
Hi Maduranga, I'm not sure whether we can have a 1 to 1 mapping between Apache commons logging and all the methods available for console object or not. But wouldn't it be confusing for the user to support a limited set of methods? IMHO, We should at least state somewhere in the ui about the suppor

Re: [Dev] Select Error Codes section does not work properly when configuring an EndPoint

2018-01-17 Thread Manuri Amaya Perera
Hi Malaka, Can't we avoid calling htmlEncode method since the passed content is already html and hard-coded as well? Thanks, Manuri On Wed, Jan 17, 2018 at 10:14 AM, Malaka Gangananda wrote: > Select Error Codes section does not work properly when configuring advance > properties of end points

[Dev] Using user association during the federated authentication scenario

2018-01-17 Thread Prakhash Sivakumar
Hi all, I'm using the mobile connect as a federated authenticator with WSO2 Identity Server. I'm trying to authenticate using a mobile number which is corresponding to a user already in the user store. When I get authenticated through the federation, I get a subject identifier with *random string

Re: [Dev] Using user association during the federated authentication scenario

2018-01-17 Thread Prakhash Sivakumar
Hi Omindu, On Thu, Jan 18, 2018 at 12:36 AM, Omindu Rathnaweera wrote: > Hi Prakhash, > > In the SPs 'Local & Outbound Authentication Configuration', have you > enabled 'Assert identity using mapped local subject identifier' ? > I missed it :( It works now. Thanks for the quick reply. Regard

Re: [Dev] Using user association during the federated authentication scenario

2018-01-17 Thread Omindu Rathnaweera
Hi Prakhash, In the SPs 'Local & Outbound Authentication Configuration', have you enabled 'Assert identity using mapped local subject identifier' ? Regards, Omindu. On Thu, Jan 18, 2018 at 12:33 AM, Prakhash Sivakumar wrote: > > Hi all, > > I'm using the mobile connect as a federated authent

Re: [Dev] API Manager with Identity Server as Key Manager - IS secondary user store to connect to APIM Store

2018-01-17 Thread Sathya Bandara
Hi Thomas, Can you try with the following curl command. curl -v -X POST --basic -u : -H "Content-Type:application/x-www-form-urlencoded;charset=UTF-8" -k -d "grant_type=password&username=/sathya1@carbon.super&password=admin" https://localhost:8243/token [1] https://docs.wso2.com/display/AM210/P

Re: [Dev] API Manager with Identity Server as Key Manager - IS secondary user store to connect to APIM Store

2018-01-17 Thread Godwin Shrimal
Hi Sathya, Ideally, user should get authenticated even you send without user store domain. right? Thanks Godwin On Thu, Jan 18, 2018 at 1:15 PM, Sathya Bandara wrote: > Hi Thomas, > > Can you try with the following curl command. > > curl -v -X POST --basic -u : -H > "Content-Type:application

Re: [Dev] Enrich mediator inside for-each not working properly. Please guide

2018-01-17 Thread vikram nayak
Hi, Please let me know if I am not clear or any more input is required from my side. Thanks. On Wednesday, 17 January 2018 10:00 AM, vikram nayak wrote: Hi, Apologies I am raising the same issue again but this time with improved subject and content.Please consider what I have tried so

Re: [Dev] Logging in JavaScript used in conditional authentication

2018-01-17 Thread Maduranga Siriwardena
Hi Devs, Thanks for the inputs. We already have added "Log" object which have Java like logging options. Considering the ideas, we will revert back to this "Log" object instead of introducing a "console" object. Thanks, Maduranga On Thu, Jan 18, 2018 at 9:55 AM, SajithAR Ariyarathna wrote: >

Re: [Dev] API Manager with Identity Server as Key Manager - IS secondary user store to connect to APIM Store

2018-01-17 Thread Sathya Bandara
Hi, On Thu, Jan 18, 2018 at 12:20 PM, Godwin Shrimal wrote: > Hi Sathya, > > Ideally, user should get authenticated even you send without user store > domain. right? > Yes. user gets authenticated without the user store domain. If the user is in super tenant domain(carbon.super), we can discard

Re: [Dev] API Manager with Identity Server as Key Manager - IS secondary user store to connect to APIM Store

2018-01-17 Thread Godwin Shrimal
Yes, So Thomas's issue should be something different since he has used correct format of a request(Without using user store domain). @Thomas: Can you login to IS Management console and check secondary user store's users are listing under Users & Roles->List-> Users? Thanks Godwin On Thu, Jan 18,

[Dev] [DEV][IoT] Device view has inconsistent values for storage

2018-01-17 Thread Inosh Perera
Hi all, Currently, in iOS and Android device views, the values displayed seems to be inconsistent and wrong(Refer images). What would be the most understandable format here, option 1 - Available space / Total space option 2 - Total usage space / Total space *Android* *iOS* ​ ​Regards, Inosh