Re: [Dev] [IDENTITY-6155] Invoking the user info endpoint without properly setting the 'Bearer' header causes server errors

2017-07-30 Thread Isura Karunaratne
Hi Hasini,

Merged the PR with [1]

Thanks
Isura.


[1]
https://github.com/wso2-extensions/identity-inbound-auth-oauth/commit/6adda2141e27cbe2df1a985e8f857816f37f2a66

On Fri, Jul 28, 2017 at 5:01 PM, Hasini Witharana  wrote:

> Hi,
>
> I am working on the jira IDENTITY-6155
> . When Invoking the user info
> endpoint without adding the access token to the 'Bearer' header causes the
> server to return an ArrayIndexOutOfBoundsException with the full stacktrace
> to the client.
>
> As per the OIDC/oauth2.0 specifications[1][2], this sort of a request can
> be treated as an invalid request.
> Please refer the PR[3] which fixes this issue.
>
> [1]- http://openid.net/specs/openid-connect-core-1_0.html#UserInfoError
> [2]- https://tools.ietf.org/html/rfc6750#section-6.2
> [3]- https://github.com/wso2-extensions/identity-inbound-auth-
> oauth/pull/420
>
> Thank you.
>
> --
>
> *Hasini Witharana*
> Software Engineering Intern | WSO2
>
>
> *Email : hasi...@wso2.com *
>
> *Mobile : +94713850143 <+94%2071%20385%200143>[image:
> http://wso2.com/signature] *
>



-- 

*Isura Dilhara Karunaratne*
Senior Software Engineer | WSO2
Email: is...@wso2.com
Mob : +94 772 254 810
Blog : http://isurad.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [C5] MB Components still uses XML based configurations.

2017-07-30 Thread Abimaran Kugathasan
Hi Indika,

Do we have any plans to incorporate these changes and re-release the
components in near future? I think all the products including EI 7 suppose
to have deployment.yaml file for the configuration.

On Tue, Jul 25, 2017 at 4:49 PM, Indika Sampath  wrote:

> Hi Abimaran,
>
> We have implemented enum based config read approach for all the above
> configurations. Please find the implementation [1]. Every config has a
> default value and it gets overrides after reading from the XML file. I
> think we could figure out approach to read data from deployment.yaml and
> inject it.
>
> [1] https://github.com/wso2/andes/blob/4.x.x/modules/andes-core/
> broker/src/main/java/org/wso2/andes/configuration/enums/
> AndesConfiguration.java
>
> Cheers!
>
> On Tue, Jul 25, 2017 at 4:22 PM, Abimaran Kugathasan 
> wrote:
>
>> Hi All,
>>
>> We planned to embed MB features [1] into API Manager 3.0 core to share
>> API Manager artifacts (APIs, Policies, Subscription, etc) between different
>> nodes/profiles.
>>
>> All the products/features which are written on C5 should have default
>> configuration values in source code and should be able to override this
>> value through YAML based configuration files [2]
>>
>> Recently released MB features based on C5 [1] are having old XML based
>> configuration files such as broker.xml, qpid-config.xml, q
>> pid-virtualhosts.xml.
>>
>> Can we please move these default values into source code, provide the
>> capability to override them through deployment.yaml file and release these
>> components?
>>
>>
>> [1]: https://github.com/wso2/carbon-business-messaging/tree/v4.0.2
>> [2]: [Architecture] Move away from XML to YAML config files
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>> Senior Software Engineer - API Technologies
>>
>> Email : abima...@wso2.com
>> Mobile : +94 773922820 <+94%2077%20392%202820>
>>
>> 
>> 
>>   
>> 
>>
>>
>
>
> --
> Indika Sampath
> Associate Technical Lead
> WSO2 Inc.
> http://wso2.com
>
> Phone: +94 716 424 744 <+94%2071%20642%204744>
> Blog: http://indikasampath.blogspot.com/
>
>


-- 
Thanks
Abimaran Kugathasan
Senior Software Engineer - API Technologies

Email : abima...@wso2.com
Mobile : +94 773922820


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


Re: [Dev] ballerina-samples 0.89 is missing in nexus

2017-07-30 Thread Dimuthu Leelarathne
Hi Sajith,

Forwarding to the correct list.

thanks,
Dimuthu


On Mon, Jul 17, 2017 at 5:47 PM, Sajith Kariyawasam  wrote:

> Hi,
>
> I couldn't find 0.89 in http://maven.wso2.org/nexus/
> content/repositories/releases/org/ballerinalang/ballerina-samples/
>
> There is a build failure in https://github.com/wso2/product-apim because
> due to this reason
>
> Thanks,
> Sajith
>
> --
> Sajith Kariyawasam
> *Associate Tech Lead*
> *WSO2 Inc.; http://wso2.com *
> *Committer and PMC member, Apache Stratos *
> *AMIE (SL)*
> *Mobile: 0772269575 <077%20226%209575>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Dimuthu Leelarathne
Director, Solutions Architecture

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com
Mobile: +94773661935
Blog: http://muthulee.blogspot.com

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


[Dev] [IoTS] Maven Archetype based RaspberryPi Plugin Status.

2017-07-30 Thread Sameera Wickramasekara
Hi Devs,

I have been working on a Raspberry Pi IoTS plugin based on the existing
maven archetype[1]. In order to make the plugin compatible with the latest
IoTS release, I have made following
changes.

 Updated the versions of following dependencies in pom.xml

carbon.device.mgt.version

carbon.device.mgt.plugin.version



*Sameera Wickramasekara*
Software Engineer
WSO2
lean . enterprise . middleware
Mobile : +94(0) 714652035 <+94%2071%20465%202035>

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