[Dev] WSO2 Committers += Sharon David

2019-04-23 Thread Kavith Lokuhewage
Hi All,

It's my pleasure to announce Sharon David as a WSO2 committer. She has been
a valuable contributor to both WSO2 UX team and Ballerina team.

Congratulations Sharon!

...
*Kavith Lokuhewage* | WSO2 Inc.
(m) +94 77 9145123 |  (e) kav...@wso2.com 
GET INTEGRATION AGILE
Integration Agility for Digitally Driven Business
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to handle an array of one

2019-04-23 Thread Arunan Sugunakumar
Hi Kanishka,

It would be helpful if you can share the payload factory configuration. The
scenario works fine according to the below configuration.

http://ws.apache.org/ns/synapse; name="arrayCheck"
context="/check1">
   
  
 
   {"outerbody" : $1}

   

 
 
  
   


Regards,
Arunan

On Wed, Apr 24, 2019 at 9:27 AM Kanishka Gunathilaka 
wrote:

> Hi All,
>
> When I try to pass single item only array through payloadfactory or
> datamapper mediator it returns me array as an object.
>
> For example I am expecting following result.
> { “entity” :
>   [ { “attr1” : “value”, “attr2” : “another value”}
>   ]
> }
>
> But I am getting this response.
> { “entity” :
>   { “attr1” : “value”, “attr2” : “another value”}
> }
>
> Could you please explain me how I can overcome this issue?
>
> Thank you,
> Kanishka
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
*Sugunakumar Arunan*
Software Engineer | WSO2

Email : aru...@wso2.com
Mobile : +94766016272
Web : http://wso2.com

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to handle an array of one

2019-04-23 Thread Kanishka Gunathilaka
Hi All,

When I try to pass single item only array through payloadfactory or
datamapper mediator it returns me array as an object.

For example I am expecting following result.
{ “entity” :
  [ { “attr1” : “value”, “attr2” : “another value”}
  ]
}

But I am getting this response.
{ “entity” :
  { “attr1” : “value”, “attr2” : “another value”}
}

Could you please explain me how I can overcome this issue?

Thank you,
Kanishka
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Identity Server 5.8.0-beta3 Released!

2019-04-23 Thread Hasanthi Purnima Dissanayake
WSO2 Identity and Access Management team is pleased to announce the release
of Identity Server 5.8.0 beta3!
Download

You can download WSO2 Identity Server 5.8.0 beta3 from here

.

You can download WSO2 Identity Server Analytics 5.8.0 beta3 from here

.
How to run

   1.

   Extract the downloaded zip file.
   2.

   Go to the bin directory in the extracted folder.
   3.

   Run the wso2server.sh file if you are on a Linux/Mac OS or run the
   wso2server.bat file if you are on a Windows OS.
   4.

   Optionally, if you need to start the OSGi console with the server, use
   the -DosgiConsole property when starting the server.

What's new in WSO2 Identity Server 5.8.0 beta3

A list of all the new features and bug fixes shipped with this release can
be found here 

Known Issues

All the open issues pertaining to WSO2 Identity Server are reported at the
following location:

   -

   IS Runtime 
   -

   IS Analytics 

Contribute to WSO2 Identity ServerMailing Lists

Join our mailing lists and correspond with the developers directly. We also
encourage you to take part in discussions related to the product in the
architecture mailing list. If you have any questions regarding the product
you can use our StackOverflow forum to raise them as well.

   -

   Developer List: dev@wso2.org
   -

   Architecture List: architect...@wso2.org
   -

   User Forum: StackOverflow
   

Reporting Issues

We encourage you to report issues, improvements, and feature requests
regarding WSO2 Identity Server through our public WSO2 Identity Server GIT
Issues .

For more information about WSO2 Identity Server, please see https://wso2
.com/identity-and-access-management or visit the WSO2 Oxygen Tank
 developer portal for additional resources.

~ The WSO2 Identity and Access Management Team ~

-- 

Hasanthi Dissanayake

Senior Software Engineer | WSO2

E: hasan...@wso2.com
M :0718407133| http://wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Multiple keys support in JWKS endpoint

2019-04-23 Thread Sathya Bandara
Hi Inthirakumaaran,

What about the case where the user sends a JWT signed with the old key,
along with JWT grant type to IS? Then don't we need to update the JWT
signature validation logic to obtain the keys for the respective JWTs based
on the 'kid' value?

Thanks,
Sathya

On Tue, Apr 23, 2019 at 11:31 AM Inthirakumaaran Tharmakulasingham <
inthirakumaa...@wso2.com> wrote:

> Hi Shammi,
>
> Thanks for the input
>
> So, in each an every validation request step of 6, Certificate resolver
>> has to send all the JWKs to JWKS endpoint or will they be cached int he
>> JWKS endpoint? If we can cache them, there will be a performance
>> improvement right ? However, we have to make sure the cache invalidation
>> time out is there.
>>
>
> Already the keys are cached in the keystore manager and in the certificate
> resolver, we will perform some validation before exposing those JWKS. I'll
> look into the cache validation time out and make sure it performs as
> expected.
>
> Thanks and regards
> kumaaran
>
> *Inthirakumaaran*
> Software Engineer | WSO2
>
> E-mail:inthirakumaa...@wso2.com
> Mobile:+94775558050
> Web:https://wso2.com
>
> 
>
>
>

-- 
Sathya Bandara
Senior Software Engineer
Blog: https://medium.com/@technospace
WSO2 Inc. http://wso2.com
Mobile: (+94) 715 360 421 <+94%2071%20411%205032>

<+94%2071%20411%205032>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Multiple keys support in JWKS endpoint

2019-04-23 Thread Inthirakumaaran Tharmakulasingham
Hi Shammi,

Thanks for the input

So, in each an every validation request step of 6, Certificate resolver has
> to send all the JWKs to JWKS endpoint or will they be cached int he JWKS
> endpoint? If we can cache them, there will be a performance improvement
> right ? However, we have to make sure the cache invalidation time out is
> there.
>

Already the keys are cached in the keystore manager and in the certificate
resolver, we will perform some validation before exposing those JWKS. I'll
look into the cache validation time out and make sure it performs as
expected.

Thanks and regards
kumaaran

*Inthirakumaaran*
Software Engineer | WSO2

E-mail:inthirakumaa...@wso2.com
Mobile:+94775558050
Web:https://wso2.com


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev