Re: [Dev] Hi,Abimaran,sorry to disturb you again

2016-10-20 Thread Abimaran Kugathasan
Hi Christ,

On Wed, Oct 19, 2016 at 1:56 PM, christ Feng  wrote:

> Hi,Abimaran.
>
> When I deploy APIM under NO distributed with DAS and the database is mysql
> . I configured APIM and DAS order this blog [1]. After I revoke an api
> ,stats shows good in publisher and store.
>
> Then I distributed APIM into pubilsher、store、keymanager and gateway. I
> also configured APIM and DAS order this blog [1]. but cannot get stats and
> no error shows on every node.
>
> what is the different configuration between distributed APIM and NO
> distributed APIM with DAS under RDBMsClient?
>
> I have posted my confuse on stackoverflow [2], It seems that he [3] has
> the same problem with me ,but did not explain how to slove DAS doesn't
> accept subscription event .
>
> Thanks and Reguards
>
> [1]: http://rukspot.com/configure_wso2_apim_analytics_using_xml.html
> [2]: http://stackoverflow.com/questions/40104970/wso2-das-
> clustering-apim-with-mysql
> [3]: http://stackoverflow.com/questions/36786391/wso2-api-
> manager-publishing-runtime-to-das-das-has-no-data-in-wso2-stats-db
>

In the distributed set up, you have to point the gateway, publisher node to
DAS. Can you please share your api-manager.xml of each node? We will be
updating our documenation on clustering API Manager with DAS.



-- 
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] API Manager 2.0.0 - Cannot add SAML inbound authentication config to Service Provider

2016-10-20 Thread Chamila Adhikarinayake
Hi Tharidu,
You could use the workaround suggested in [1] .

[1] http://stackoverflow.com/a/34990864/1110305

Chamila

On Wed, Oct 19, 2016 at 10:52 AM, Tharindu Edirisinghe 
wrote:

> Thanks !
>
> On Wed, Oct 19, 2016 at 10:45 AM, Abimaran Kugathasan 
> wrote:
>
>> Hi Tharindu,
>>
>> Yes, This is a known issue, yet to be fixed. Reported through [1]
>>
>> [1] : https://wso2.org/jira/browse/APIMANAGER-4493
>>
>> On Wed, Oct 19, 2016 at 10:27 AM, Tharindu Edirisinghe <
>> tharin...@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> I'm using a fresh pack of API Manager 2.0.0 and added a Service
>>> Provider. It got registered correctly.
>>>
>>> Then I edit the SP and try to add SAML inbound authentication and then I
>>> get an empty page. Tested this on both Firefox and Chrome and the behavior
>>> is same.
>>>
>>> Here's the backend error. Is this known issue ? or is there a patch ?
>>>
>>>
>>> TID: [-1234] [] [2016-10-19 10:15:36,464] ERROR
>>> {org.apache.tiles.jsp.context.JspTilesRequestContext} -  JSPException
>>> while including path '/sso-saml/add_service_provider.jsp'.
>>> {org.apache.tiles.jsp.context.JspTilesRequestContext}
>>> javax.servlet.jsp.JspException: ServletException while including page.
>>> at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
>>> at org.apache.tiles.jsp.context.JspTilesRequestContext.include(
>>> JspTilesRequestContext.java:88)
>>> at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch
>>> (JspTilesRequestContext.java:82)
>>> at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesC
>>> ontainer.java:465)
>>> at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(Insert
>>> AttributeTag.java:140)
>>> at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(Insert
>>> AttributeTag.java:117)
>>> at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderT
>>> agSupport.java:171)
>>> at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(
>>> RoleSecurityTagSupport.java:75)
>>> at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(Con
>>> tainerTagSupport.java:80)
>>> at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_00
>>> 5finsertAttribute_005f7(template_jsp.java:661)
>>> at org.apache.jsp.admin.layout.template_jsp._jspService(templat
>>> e_jsp.java:377)
>>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja
>>> va:70)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>> at org.apache.jasper.servlet.JspServletWrapper.service(JspServl
>>> etWrapper.java:439)
>>> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl
>>> et.java:395)
>>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>>> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.j
>>> ava:80)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>> at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.se
>>> rvice(ContextPathServletAdaptor.java:37)
>>> at org.eclipse.equinox.http.servlet.internal.ServletRegistratio
>>> n.service(ServletRegistration.java:61)
>>> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce
>>> ssAlias(ProxyServlet.java:128)
>>> at org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi
>>> ce(ProxyServlet.java:68)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>>> at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service
>>> (DelegationServlet.java:68)
>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:303)
>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
>>> r.java:52)
>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:241)
>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>>> licationFilterChain.java:208)
>>> at org.apache.catalina.core.ApplicationDispatcher.invoke(Applic
>>> ationDispatcher.java:747)
>>> at org.apache.catalina.core.ApplicationDispatcher.processReques
>>> t(ApplicationDispatcher.java:485)
>>> at org.apache.catalina.core.ApplicationDispatcher.doForward(App
>>> licationDispatcher.java:410)
>>> at org.apache.catalina.core.ApplicationDispatcher.forward(Appli
>>> cationDispatcher.java:337)
>>> at org.eclipse.equinox.http.servlet.internal.RequestDispatcherA
>>> daptor.forward(RequestDispatcherAdaptor.java:30)
>>> at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$Re
>>> questDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
>>> at org.apache.tiles.servlet.context.ServletTilesRequestContext.
>>> 

Re: [Dev] WSO2 Committers += Kasun Thennakoon

2016-10-20 Thread Mushthaq Rumy
Congratz Kasun :)

Thanks & Regards,
Mushthaq

On Fri, Oct 21, 2016 at 9:58 AM, Lahiru J Ekanayake 
wrote:

> Congratz Kasun :) !!!
>
> On Fri, Oct 21, 2016 at 9:39 AM, Samitha Chathuranga 
> wrote:
>
>> Congratz Kasun :)
>>
>> On Fri, Oct 21, 2016 at 9:36 AM, Malintha Amarasinghe > > wrote:
>>
>>> Congratulations Kasun!! :)
>>>
>>>
>>> On Fri, Oct 21, 2016 at 9:30 AM, Maneesha Wijesekara 
>>> wrote:
>>>
 Congratulations Kasun.

 On Fri, Oct 21, 2016 at 9:13 AM, Chandana Napagoda 
 wrote:

> Hi Devs,
>
> It is my pleasure to welcome Kasun Thennakoon as a WSO2 Committer.
> Kasun has made some great contributions to WSO2 Enterprise Store and WSO2
> Governance Registry products during the last few months and in recognition
> of his commitment and contributions, he has been voted as a Committer for
> WSO2.
>
> @Kasun, welcome aboard and keep up the good work.
>
> Best Regards,
> Chandana
>
> --
> *Chandana Napagoda*
> Associate Technical Lead
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile :
> +94718169299 <%2B94718169299>*
>
> *Blog  :http://cnapagoda.blogspot.com
>  | http://chandana.napagoda.com
> *
>
> *Linkedin : http://www.linkedin.com/in/chandananapagoda
> *
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Maneesha Wijesekara
 Software Engineer - QA Team
 WSO2 Inc.

 Email: manee...@wso2.com
 Linkedin: http://linkedin.com/in/maneeshawijesekara
 Mobile: +94712443119

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


>>>
>>>
>>> --
>>> Malintha Amarasinghe
>>> Software Engineer
>>> *WSO2, Inc. - lean | enterprise | middleware*
>>> http://wso2.com/
>>>
>>> Mobile : +94 712383306
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Samitha Chathuranga
>> Software Engineer, WSO2 Inc.
>> lean.enterprise.middleware
>> Mobile: +94715123761
>>
>> [image: http://wso2.com/signature] 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
>
>
> *Lahiru J Ekanayake**Software Engineer*
> Mobile : +9471 8812629 / +94778509547
> Email : lahi...@wso2.com
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middleware.
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Mushthaq Rumy
*Software Engineer*
Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194>
Email : musht...@wso2.com
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.


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


Re: [Dev] WSO2 EMM Support

2016-10-20 Thread Dilan Udara Ariyaratne
Hi Praveen,

Have you set authorization attributes correctly as described in the docs
[1].
In default single server set up, you have to set following properties in
either way in portal/configs/designer.json

"authorization": {
"activeMethod": "oauth",
"methods": {
"oauth": {
"attributes": {
"idPServer": "https://localhost:9443/oauth2/token;, (or
https://:9443/oauth2/token)
"dynamicClientProperties": {
"callbackUrl": "https://localhost:9443/portal;, (or
https://:9443/portal)
"clientName": "portal",
"owner": "admin",
"applicationType": "JaggeryApp",
"grantType": "password refresh_token
urn:ietf:params:oauth:grant-type:saml2-bearer",
"saasApp": false,
"dynamicClientRegistrationEndPoint": "
https://localhost:9443/dynamic-client-web/register/;, (or https://
:9443/dynamic-client-web/register/)
"tokenScope": "Production"
}
}
}
}
}

References:
[1]
https://docs.wso2.com/display/EMM220/General+Server+Configurations#GeneralServerConfigurations-EnablingDashboardServerCommunication


Cheers,
Dilan.


*Dilan U. Ariyaratne*
Senior Software Engineer
WSO2 Inc. 
Mobile: +94766405580 <%2B94766405580>
lean . enterprise . middleware


On Thu, Oct 20, 2016 at 5:15 PM, Praveen J <
praveen.josephmasilam...@nexttechnosolutions.co.in> wrote:

> Hi All,
>
> I have checked the device monitoring using latest Beta 2.2.0. In dashboard
> EMM Analytics shows fine but device count and active inactive devices are
> not showing refer the screenshot for your kind reference.
>
> But I have entrolled device in MDM. So please guide me which step I have
> missed. and also refer the below link which i have refered.
>
> *URL:*
>
> https://docs.wso2.com/display/EMM220/General+Server+Configurations#
> GeneralServerConfigurations-EnablingDashboardServerCommunication
>
> 20.10.2016, 09:20, "Megala Uthayakumar" :
>
> Hi Praveen,
>
> This is a known issue in EMM as per the jira [1]. It is fixed in the
> latest version. Can you try out the latest beta2 pack[2], to access the
> dashboard.
>
> [1] https://wso2.org/jira/browse/EMM-1523
> [2] https://github.com/wso2/product-emm/releases
>
> Thanks.
>
> Regards,
> Megala
>
> On Wed, Oct 19, 2016 at 5:45 PM, Praveen J  nexttechnosolutions.co.in> wrote:
>
> Hi All,
>
> Thank you for your quick response and support. Now I'm working on that
> based on your suggestion. if any doubts I will let you know.
>
> And one more clarification regarding dashboard server (
> https://:/portal) When i logged in portal there is no
> EMM Analytics Dashboard and for your info I also enbled the dasboard server
> communication.
>
> But I didn't get any result, Please refer the below links which i have
> referred and followed.
>
> https://docs.wso2.com/display/EMM210/Accessing+the+WSO2+EMM+
> Device+Monitoring+Dashboard
>
> https://docs.wso2.com/display/EMM210/Monitoring+Devices+via+the+Dashboard
>
> Please give some suggestion how to setup the dashboard server.
>
>
> 19.10.2016, 16:52, "Madawa Soysa" :
>
> Hi Praveen,
>
> Regarding your last question, 5th step of the data containerization guide
> [1]
> 
>  means
> that you can uninstall the agent installed in your personal profile.
>
> [1] - https://docs.wso2.com/display/EMM210/Data+
> Containerization+for+Android+Device#DataContainerizationforAndroidDevice-
> ApplyingAndroiddeviceoperations
>
> Regards,
> Madawa
>
> On Wed, Oct 19, 2016 at 3:35 PM, Rasika Perera  wrote:
>
> Hi Praveen,
>
> It's great to hear that you started using WSO2 EMM. Please find inline
> comments below.
>
> Regarding to setup project-emm, Actually I already setup the project in
> IntelliJ IDE but i don't know how to run the product and debug so please
> guide me via steps how to setup the project and work with source code and
> finally built the product using Maven.
> We are using three repositories; CDMF and CDMF-plugins and Product EMM to
> build the product. Please refer [1] for additional details. You can debug
> the EMM server as per [3]. If you find any issue you can raise JIRAs on [2]
> and even you can fix and send us a PR to relevant repository.
>
> Then I need clarification regarding how to install and uninstall app
> silent using Application management? And we got some search result in stack
> overflow about that but they discussed about old version and i have
> mentioned the link below for your reference. So please give some suggestion
> how to achieve this.
> In order to get it work silent app install/uninstall you need 

[Dev] [VOTE] Release WSO2 MSF4J 2.1.0 RC2

2016-10-20 Thread Thusitha Thilina Dayaratne
Hi Devs,

This is the 2nd Release Candidate of WSO2 MSF4J(Microservices Framework for
Java) 2.1.0.

Please download, test the framework and vote. The vote will be open for 72
hours or as needed.
Refer to GitHub readmes for guides.

* Source and binary distribution files:*
https://github.com/wso2/msf4j/releases/tag/v2.1.0-rc2

*Maven staging repository:*
https://maven.wso2.org/nexus/content/repositories/orgwso2msf4j-1008

*The tag to be voted upon:*
https://github.com/wso2/msf4j/tree/v2.1.0-rc2



[ ] Broken - do not release (explain why)
[ ] Stable - go ahead and release

Thank you,
Platform Team

-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina

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


Re: [Dev] WSO2 Committers += Kasun Thennakoon

2016-10-20 Thread Lahiru J Ekanayake
Congratz Kasun :) !!!

On Fri, Oct 21, 2016 at 9:39 AM, Samitha Chathuranga 
wrote:

> Congratz Kasun :)
>
> On Fri, Oct 21, 2016 at 9:36 AM, Malintha Amarasinghe 
> wrote:
>
>> Congratulations Kasun!! :)
>>
>>
>> On Fri, Oct 21, 2016 at 9:30 AM, Maneesha Wijesekara 
>> wrote:
>>
>>> Congratulations Kasun.
>>>
>>> On Fri, Oct 21, 2016 at 9:13 AM, Chandana Napagoda 
>>> wrote:
>>>
 Hi Devs,

 It is my pleasure to welcome Kasun Thennakoon as a WSO2 Committer.
 Kasun has made some great contributions to WSO2 Enterprise Store and WSO2
 Governance Registry products during the last few months and in recognition
 of his commitment and contributions, he has been voted as a Committer for
 WSO2.

 @Kasun, welcome aboard and keep up the good work.

 Best Regards,
 Chandana

 --
 *Chandana Napagoda*
 Associate Technical Lead
 WSO2 Inc. - http://wso2.org

 *Email  :  chand...@wso2.com **Mobile :
 +94718169299 <%2B94718169299>*

 *Blog  :http://cnapagoda.blogspot.com
  | http://chandana.napagoda.com
 *

 *Linkedin : http://www.linkedin.com/in/chandananapagoda
 *


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


>>>
>>>
>>> --
>>> Maneesha Wijesekara
>>> Software Engineer - QA Team
>>> WSO2 Inc.
>>>
>>> Email: manee...@wso2.com
>>> Linkedin: http://linkedin.com/in/maneeshawijesekara
>>> Mobile: +94712443119
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Malintha Amarasinghe
>> Software Engineer
>> *WSO2, Inc. - lean | enterprise | middleware*
>> http://wso2.com/
>>
>> Mobile : +94 712383306
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Samitha Chathuranga
> Software Engineer, WSO2 Inc.
> lean.enterprise.middleware
> Mobile: +94715123761
>
> [image: http://wso2.com/signature] 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 



*Lahiru J Ekanayake**Software Engineer*
Mobile : +9471 8812629 / +94778509547
Email : lahi...@wso2.com
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM]Issues in calling admin services as a tenant user from a jaggery app

2016-10-20 Thread Megala Uthayakumar
Thanks Thushitha.

On Fri, Oct 21, 2016 at 9:41 AM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> PR is merged with https://github.com/wso2/carbon-kernel/commit/
> 23776864731699ad9971cd15ace71a6ef71f65ce
>
> On Thu, Oct 20, 2016 at 2:13 PM, Lakshani Gamage 
> wrote:
>
>> [adding LakshmanU, ThusithaD]
>>
>> On Thu, Oct 20, 2016 at 2:05 PM, Megala Uthayakumar 
>> wrote:
>>
>>> Hi,
>>>
>>> I have created a PR[1] to fix this issue. Can someone from kernel team
>>> review and merge this PR?
>>>
>>> [1] https://github.com/wso2/carbon-kernel/pull/1163
>>>
>>> Thanks.
>>>
>>> Regards,
>>> Megala
>>>
>>>
>>> On Wed, Oct 19, 2016 at 5:25 PM, Kamidu Punchihewa 
>>> wrote:
>>>
 Hi Megala,

 If you have found out the issue and solution. Please do the necessary
 change and do a round of testing. If everything works as expected please
 send a pull request to the carbon kernel.
 @Kernal Team How we can get the this released for the EMM 2.2.0 release
 ?

 Thanks and Best Regards,

 Kamidu Sachith Punchihewa
 *Software Engineer*
 WSO2, Inc.
 lean . enterprise . middleware
 Mobile : +94 (0) 770566749 <%2B94%20%280%29%20773%20451194>


 Disclaimer: This communication may contain privileged or other
 confidential information and is intended exclusively for the addressee/s.
 If you are not the intended recipient/s, or believe that you may have
 received this communication in error, please reply to the sender indicating
 that fact and delete the copy you received and in addition, you should not
 print, copy, retransmit, disseminate, or otherwise use the information
 contained in this communication. Internet communications cannot be
 guaranteed to be timely, secure, error or virus-free. The sender does not
 accept liability for any errors or omissions.

 On Wed, Oct 19, 2016 at 11:07 AM, Megala Uthayakumar 
 wrote:

> Hi All,
>
> I am working on a jira [1] which is related with an exception that is
> thrown when trying to add a user/role in tenant mode using EMM console.
> This is particularly happens when we call the admin service to get the
> secondary user store configurations related to particular tenant [2].
> Following is the root cause behind this exception,
>
> *Caused by: java.lang.SecurityException: Illegal access attempt to
> cache ] owned by tenant*
> *{[test.com ],[1]} by tenant {[test.com
> ],[-1234]}*
>
> When trying to access the cache, the caller's tenant id has changed to
> super-tenant id, although tenant domain is correct. I tried to start the
> tenant flow before calling the admin service, but still I got the same
> error. While debugging I found, [3] is the point where the tenant domain 
> is
> set to correct domain, while the tenant id still set to super-tenant id.
> Locally I changed that particular line as per below,
>
> PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantDomain(
> userTenantDomain,*true*);
>
> After that I could get the secondary user-store configurations related
> to that particular tenant. Is this a bug from carbon-level or is there any
> work-around to avoid this? Any comments or suggestions on this regard is
> highly appreciated.
>
> [1] https://wso2.org/jira/browse/EMM-1762
> [2] https://github.com/wso2/carbon-device-mgt/blob/master/co
> mponents/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/r
> esources/jaggeryapps/devicemgt/app/modules/business-controll
> ers/user.js#L607
> [3] https://github.com/wso2/carbon-kernel/blob/v4.4.9/core/o
> rg.wso2.carbon.server.admin/src/main/java/org/wso2/carbon/se
> rver/admin/module/handler/AuthenticationHandler.java#L93
>
> Thanks.
>
> Regards,
> Megala
> --
> Megala Uthayakumar
>
> Software Engineer
> Mobile : 0779967122
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>

>>>
>>>
>>> --
>>> Megala Uthayakumar
>>>
>>> Software Engineer
>>> Mobile : 0779967122
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Lakshani Gamage
>>
>> *Software Engineer, WSO2*
>>
>> *Mobile : +94 71 5478184 <%2B94%20%280%29%20773%20451194>*
>> *Blog : http://lakshanigamage.blogspot.com/
>> *
>>
>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
> 
>
>


-- 
Megala Uthayakumar


Re: [Dev] [EMM]Issues in calling admin services as a tenant user from a jaggery app

2016-10-20 Thread Thusitha Thilina Dayaratne
PR is merged with
https://github.com/wso2/carbon-kernel/commit/23776864731699ad9971cd15ace71a6ef71f65ce

On Thu, Oct 20, 2016 at 2:13 PM, Lakshani Gamage  wrote:

> [adding LakshmanU, ThusithaD]
>
> On Thu, Oct 20, 2016 at 2:05 PM, Megala Uthayakumar 
> wrote:
>
>> Hi,
>>
>> I have created a PR[1] to fix this issue. Can someone from kernel team
>> review and merge this PR?
>>
>> [1] https://github.com/wso2/carbon-kernel/pull/1163
>>
>> Thanks.
>>
>> Regards,
>> Megala
>>
>>
>> On Wed, Oct 19, 2016 at 5:25 PM, Kamidu Punchihewa 
>> wrote:
>>
>>> Hi Megala,
>>>
>>> If you have found out the issue and solution. Please do the necessary
>>> change and do a round of testing. If everything works as expected please
>>> send a pull request to the carbon kernel.
>>> @Kernal Team How we can get the this released for the EMM 2.2.0 release ?
>>>
>>> Thanks and Best Regards,
>>>
>>> Kamidu Sachith Punchihewa
>>> *Software Engineer*
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> Mobile : +94 (0) 770566749 <%2B94%20%280%29%20773%20451194>
>>>
>>>
>>> Disclaimer: This communication may contain privileged or other
>>> confidential information and is intended exclusively for the addressee/s.
>>> If you are not the intended recipient/s, or believe that you may have
>>> received this communication in error, please reply to the sender indicating
>>> that fact and delete the copy you received and in addition, you should not
>>> print, copy, retransmit, disseminate, or otherwise use the information
>>> contained in this communication. Internet communications cannot be
>>> guaranteed to be timely, secure, error or virus-free. The sender does not
>>> accept liability for any errors or omissions.
>>>
>>> On Wed, Oct 19, 2016 at 11:07 AM, Megala Uthayakumar 
>>> wrote:
>>>
 Hi All,

 I am working on a jira [1] which is related with an exception that is
 thrown when trying to add a user/role in tenant mode using EMM console.
 This is particularly happens when we call the admin service to get the
 secondary user store configurations related to particular tenant [2].
 Following is the root cause behind this exception,

 *Caused by: java.lang.SecurityException: Illegal access attempt to
 cache ] owned by tenant*
 *{[test.com ],[1]} by tenant {[test.com
 ],[-1234]}*

 When trying to access the cache, the caller's tenant id has changed to
 super-tenant id, although tenant domain is correct. I tried to start the
 tenant flow before calling the admin service, but still I got the same
 error. While debugging I found, [3] is the point where the tenant domain is
 set to correct domain, while the tenant id still set to super-tenant id.
 Locally I changed that particular line as per below,

 PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantDomain(
 userTenantDomain,*true*);

 After that I could get the secondary user-store configurations related
 to that particular tenant. Is this a bug from carbon-level or is there any
 work-around to avoid this? Any comments or suggestions on this regard is
 highly appreciated.

 [1] https://wso2.org/jira/browse/EMM-1762
 [2] https://github.com/wso2/carbon-device-mgt/blob/master/co
 mponents/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/r
 esources/jaggeryapps/devicemgt/app/modules/business-controll
 ers/user.js#L607
 [3] https://github.com/wso2/carbon-kernel/blob/v4.4.9/core/o
 rg.wso2.carbon.server.admin/src/main/java/org/wso2/carbon/se
 rver/admin/module/handler/AuthenticationHandler.java#L93

 Thanks.

 Regards,
 Megala
 --
 Megala Uthayakumar

 Software Engineer
 Mobile : 0779967122

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


>>>
>>
>>
>> --
>> Megala Uthayakumar
>>
>> Software Engineer
>> Mobile : 0779967122
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Lakshani Gamage
>
> *Software Engineer, WSO2*
>
> *Mobile : +94 71 5478184 <%2B94%20%280%29%20773%20451194>*
> *Blog : http://lakshanigamage.blogspot.com/
> *
>



-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina

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


Re: [Dev] WSO2 Committers += Kasun Thennakoon

2016-10-20 Thread Samitha Chathuranga
Congratz Kasun :)

On Fri, Oct 21, 2016 at 9:36 AM, Malintha Amarasinghe 
wrote:

> Congratulations Kasun!! :)
>
>
> On Fri, Oct 21, 2016 at 9:30 AM, Maneesha Wijesekara 
> wrote:
>
>> Congratulations Kasun.
>>
>> On Fri, Oct 21, 2016 at 9:13 AM, Chandana Napagoda 
>> wrote:
>>
>>> Hi Devs,
>>>
>>> It is my pleasure to welcome Kasun Thennakoon as a WSO2 Committer. Kasun
>>> has made some great contributions to WSO2 Enterprise Store and WSO2
>>> Governance Registry products during the last few months and in recognition
>>> of his commitment and contributions, he has been voted as a Committer for
>>> WSO2.
>>>
>>> @Kasun, welcome aboard and keep up the good work.
>>>
>>> Best Regards,
>>> Chandana
>>>
>>> --
>>> *Chandana Napagoda*
>>> Associate Technical Lead
>>> WSO2 Inc. - http://wso2.org
>>>
>>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>>> <%2B94718169299>*
>>>
>>> *Blog  :http://cnapagoda.blogspot.com
>>>  | http://chandana.napagoda.com
>>> *
>>>
>>> *Linkedin : http://www.linkedin.com/in/chandananapagoda
>>> *
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Maneesha Wijesekara
>> Software Engineer - QA Team
>> WSO2 Inc.
>>
>> Email: manee...@wso2.com
>> Linkedin: http://linkedin.com/in/maneeshawijesekara
>> Mobile: +94712443119
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Malintha Amarasinghe
> Software Engineer
> *WSO2, Inc. - lean | enterprise | middleware*
> http://wso2.com/
>
> Mobile : +94 712383306
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Samitha Chathuranga
Software Engineer, WSO2 Inc.
lean.enterprise.middleware
Mobile: +94715123761

[image: http://wso2.com/signature] 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Kasun Thennakoon

2016-10-20 Thread Malintha Amarasinghe
Congratulations Kasun!! :)


On Fri, Oct 21, 2016 at 9:30 AM, Maneesha Wijesekara 
wrote:

> Congratulations Kasun.
>
> On Fri, Oct 21, 2016 at 9:13 AM, Chandana Napagoda 
> wrote:
>
>> Hi Devs,
>>
>> It is my pleasure to welcome Kasun Thennakoon as a WSO2 Committer. Kasun
>> has made some great contributions to WSO2 Enterprise Store and WSO2
>> Governance Registry products during the last few months and in recognition
>> of his commitment and contributions, he has been voted as a Committer for
>> WSO2.
>>
>> @Kasun, welcome aboard and keep up the good work.
>>
>> Best Regards,
>> Chandana
>>
>> --
>> *Chandana Napagoda*
>> Associate Technical Lead
>> WSO2 Inc. - http://wso2.org
>>
>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>> <%2B94718169299>*
>>
>> *Blog  :http://cnapagoda.blogspot.com 
>> | http://chandana.napagoda.com *
>>
>> *Linkedin : http://www.linkedin.com/in/chandananapagoda
>> *
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Maneesha Wijesekara
> Software Engineer - QA Team
> WSO2 Inc.
>
> Email: manee...@wso2.com
> Linkedin: http://linkedin.com/in/maneeshawijesekara
> Mobile: +94712443119
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Malintha Amarasinghe
Software Engineer
*WSO2, Inc. - lean | enterprise | middleware*
http://wso2.com/

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


Re: [Dev] WSO2 Committers += Kasun Thennakoon

2016-10-20 Thread Maneesha Wijesekara
Congratulations Kasun.

On Fri, Oct 21, 2016 at 9:13 AM, Chandana Napagoda 
wrote:

> Hi Devs,
>
> It is my pleasure to welcome Kasun Thennakoon as a WSO2 Committer. Kasun
> has made some great contributions to WSO2 Enterprise Store and WSO2
> Governance Registry products during the last few months and in recognition
> of his commitment and contributions, he has been voted as a Committer for
> WSO2.
>
> @Kasun, welcome aboard and keep up the good work.
>
> Best Regards,
> Chandana
>
> --
> *Chandana Napagoda*
> Associate Technical Lead
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile : +94718169299
> <%2B94718169299>*
>
> *Blog  :http://cnapagoda.blogspot.com 
> | http://chandana.napagoda.com *
>
> *Linkedin : http://www.linkedin.com/in/chandananapagoda
> *
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Maneesha Wijesekara
Software Engineer - QA Team
WSO2 Inc.

Email: manee...@wso2.com
Linkedin: http://linkedin.com/in/maneeshawijesekara
Mobile: +94712443119
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Kasun Thennakoon

2016-10-20 Thread Yashothara Shanmugarajah
Congrats Kasun :)

Best Regards,
Yashothara.S
Software Engineer
WSO2
http://wso2.com
https://wso2.com/signature


On Fri, Oct 21, 2016 at 9:21 AM, Dilshani Subasinghe 
wrote:

> Congrats Kasun :)
>
> On Fri, Oct 21, 2016 at 9:16 AM, Heshitha Hettihewa 
> wrote:
>
>> Congratz kasun!!!
>>
>> On Fri, Oct 21, 2016 at 9:13 AM, Chandana Napagoda 
>> wrote:
>>
>>> Hi Devs,
>>>
>>> It is my pleasure to welcome Kasun Thennakoon as a WSO2 Committer. Kasun
>>> has made some great contributions to WSO2 Enterprise Store and WSO2
>>> Governance Registry products during the last few months and in recognition
>>> of his commitment and contributions, he has been voted as a Committer for
>>> WSO2.
>>>
>>> @Kasun, welcome aboard and keep up the good work.
>>>
>>> Best Regards,
>>> Chandana
>>>
>>> --
>>> *Chandana Napagoda*
>>> Associate Technical Lead
>>> WSO2 Inc. - http://wso2.org
>>>
>>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>>> <%2B94718169299>*
>>>
>>> *Blog  :http://cnapagoda.blogspot.com
>>>  | http://chandana.napagoda.com
>>> *
>>>
>>> *Linkedin : http://www.linkedin.com/in/chandananapagoda
>>> *
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Heshitha Hettihewa
>> *Software Engineer*
>> Mobile : +94716866386
>> <%2B94%20%280%29%20773%20451194>
>> heshit...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Best Regards,
>
> Dilshani Subasinghe
> Software Engineer - QA *|* WSO2
> lean *|* enterprise *|* middleware
>
> Mobile : +94773375185
> Blog: dilshani.me
>
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Kasun Thennakoon

2016-10-20 Thread Dilshani Subasinghe
Congrats Kasun :)

On Fri, Oct 21, 2016 at 9:16 AM, Heshitha Hettihewa 
wrote:

> Congratz kasun!!!
>
> On Fri, Oct 21, 2016 at 9:13 AM, Chandana Napagoda 
> wrote:
>
>> Hi Devs,
>>
>> It is my pleasure to welcome Kasun Thennakoon as a WSO2 Committer. Kasun
>> has made some great contributions to WSO2 Enterprise Store and WSO2
>> Governance Registry products during the last few months and in recognition
>> of his commitment and contributions, he has been voted as a Committer for
>> WSO2.
>>
>> @Kasun, welcome aboard and keep up the good work.
>>
>> Best Regards,
>> Chandana
>>
>> --
>> *Chandana Napagoda*
>> Associate Technical Lead
>> WSO2 Inc. - http://wso2.org
>>
>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>> <%2B94718169299>*
>>
>> *Blog  :http://cnapagoda.blogspot.com 
>> | http://chandana.napagoda.com *
>>
>> *Linkedin : http://www.linkedin.com/in/chandananapagoda
>> *
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Heshitha Hettihewa
> *Software Engineer*
> Mobile : +94716866386
> <%2B94%20%280%29%20773%20451194>
> heshit...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards,

Dilshani Subasinghe
Software Engineer - QA *|* WSO2
lean *|* enterprise *|* middleware

Mobile : +94773375185
Blog: dilshani.me


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


Re: [Dev] WSO2 Committers += Kasun Thennakoon

2016-10-20 Thread Heshitha Hettihewa
Congratz kasun!!!

On Fri, Oct 21, 2016 at 9:13 AM, Chandana Napagoda 
wrote:

> Hi Devs,
>
> It is my pleasure to welcome Kasun Thennakoon as a WSO2 Committer. Kasun
> has made some great contributions to WSO2 Enterprise Store and WSO2
> Governance Registry products during the last few months and in recognition
> of his commitment and contributions, he has been voted as a Committer for
> WSO2.
>
> @Kasun, welcome aboard and keep up the good work.
>
> Best Regards,
> Chandana
>
> --
> *Chandana Napagoda*
> Associate Technical Lead
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile : +94718169299
> <%2B94718169299>*
>
> *Blog  :http://cnapagoda.blogspot.com 
> | http://chandana.napagoda.com *
>
> *Linkedin : http://www.linkedin.com/in/chandananapagoda
> *
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Heshitha Hettihewa
*Software Engineer*
Mobile : +94716866386
<%2B94%20%280%29%20773%20451194>
heshit...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Kasun Thennakoon

2016-10-20 Thread Chandana Napagoda
Hi Devs,

It is my pleasure to welcome Kasun Thennakoon as a WSO2 Committer. Kasun
has made some great contributions to WSO2 Enterprise Store and WSO2
Governance Registry products during the last few months and in recognition
of his commitment and contributions, he has been voted as a Committer for
WSO2.

@Kasun, welcome aboard and keep up the good work.

Best Regards,
Chandana

-- 
*Chandana Napagoda*
Associate Technical Lead
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com **Mobile : +94718169299*

*Blog  :http://cnapagoda.blogspot.com  |
http://chandana.napagoda.com *

*Linkedin : http://www.linkedin.com/in/chandananapagoda
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to debug an App under WSO2 AS 5.3.0

2016-10-20 Thread wenxzhen
Thanks to Thusitha and Lakshani.


Regards, Wenxing


-- Original --
From:  "Lakshani Gamage";;
Send time: Thursday, Oct 20, 2016 8:09 PM
To: "wenxzhen"; 
Cc: "dev"; 
Subject:  Re: [Dev] How to debug an App under WSO2 AS 5.3.0



Hi Wenxzen,


This link[1] contains how to debug wso2 products.

[1] http://blog.kasunbg.org/2010/05/remote-debugging-java-packages-in-wso2.html


Thanks,

Lakshani




On Thu, Oct 20, 2016 at 4:57 PM, wenxzhen  wrote:
Dear all,


I have deployed a Web APP under AS 5.3.0, how to debug the App with the 
Intellij IDEA?


Appreciated for your advice
Thanks, Wenxing

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




-- 
Lakshani Gamage

Software Engineer, WSO2


Mobile : +94 71 5478184
Blog : http://lakshanigamage.blogspot.com/___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to debug an App under WSO2 AS 5.3.0

2016-10-20 Thread wenxzhen
Thanks to 


-- Original --
From:  "Lakshani Gamage";;
Send time: Thursday, Oct 20, 2016 8:09 PM
To: "wenxzhen"; 
Cc: "dev"; 
Subject:  Re: [Dev] How to debug an App under WSO2 AS 5.3.0



Hi Wenxzen,


This link[1] contains how to debug wso2 products.

[1] http://blog.kasunbg.org/2010/05/remote-debugging-java-packages-in-wso2.html


Thanks,

Lakshani




On Thu, Oct 20, 2016 at 4:57 PM, wenxzhen  wrote:
Dear all,


I have deployed a Web APP under AS 5.3.0, how to debug the App with the 
Intellij IDEA?


Appreciated for your advice
Thanks, Wenxing

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




-- 
Lakshani Gamage

Software Engineer, WSO2


Mobile : +94 71 5478184
Blog : http://lakshanigamage.blogspot.com/___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] EMM - Help

2016-10-20 Thread Bhathiya Jayasekara
[+dev@wso2.org]

On Thu, Oct 20, 2016 at 11:17 PM, Sylvain Puel <
sylvain.p...@vitamines-it.com> wrote:

> Hi Bhathiya,
>
> I found you on Stackoverflow about WSO2 EMM.
>
> We have one question that stops us with the solution :
> http://stackoverflow.com/questions/39981245/wso2-emm-
> install-application-by-role
>
> Could you have a look on our question please ?
>
> Best regards,
>
> Sylvain PUEL
> Tel : +33 1 73 79 44 80 + choix 2
> Fax : +33 1 77 62 49 01
> www.vitamines-it.com
>
> vITamines by la boITe
> Dynamisez votre IT !
>
>


-- 
*Bhathiya Jayasekara*
*Senior Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] What are the REST APIs in WSO2IS-5.3.0 that need to be secured?

2016-10-20 Thread Isura Karunaratne
We need to secure recovery APIs and self-registration APIs (
*api/identity/recovery* and *api/identity/user*).

Thanks
Isura


*Isura Dilhara Karunaratne*
Senior Software Engineer | WSO2
Email: is...@wso2.com
Mob : +94 772 254 810
Blog : http://isurad.blogspot.com/




On Thu, Oct 20, 2016 at 2:24 AM, Harsha Thirimanna  wrote:

> +1 then. We can intergrate later.
> But for DCR , we have to fix that because of specification.
>
> *Harsha Thirimanna*
> Associate Tech Lead | WSO2
>
> Email: hars...@wso2.com
> Mob: +94715186770
> Blog: http://harshathirimanna.blogspot.com/
> Twitter: http://twitter.com/harshathirimann
> Linked-In: linked-in: http://www.linkedin.com/pub/
> harsha-thirimanna/10/ab8/122
> 
>
> On Thu, Oct 20, 2016 at 1:48 PM, Ishara Karunarathna 
> wrote:
>
>>
>>
>> On Thu, Oct 20, 2016 at 1:40 PM, Harsha Thirimanna 
>> wrote:
>>
>>>
>>>
>>> *Harsha Thirimanna*
>>> Associate Tech Lead | WSO2
>>>
>>> Email: hars...@wso2.com
>>> Mob: +94715186770
>>> Blog: http://harshathirimanna.blogspot.com/
>>> Twitter: http://twitter.com/harshathirimann
>>> Linked-In: linked-in: http://www.linkedin.com/pub/ha
>>> rsha-thirimanna/10/ab8/122
>>> 
>>>
>>> On Thu, Oct 20, 2016 at 1:39 PM, Harsha Thirimanna 
>>> wrote:
>>>
 Moving to DEV...

 *Harsha Thirimanna*
 Associate Tech Lead | WSO2

 Email: hars...@wso2.com
 Mob: +94715186770
 Blog: http://harshathirimanna.blogspot.com/
 Twitter: http://twitter.com/harshathirimann
 Linked-In: linked-in: http://www.linkedin.com/pub/ha
 rsha-thirimanna/10/ab8/122
 

 On Thu, Oct 20, 2016 at 12:49 PM, Harsha Thirimanna 
 wrote:

>>> Hi,
>>
>> At this point I don't think that its good idea to remove already
>> available authentication mechanism and use this instead, for secured APIs
>> since those may have some logics those apis need.
>>
>> Instead only check with the REST APIs that need security.
>> WDYT ?
>>
>> -Ishara
>>
>>> If there any REST API that already secured within itself the feature,
> then we have to remove it and use this. As ex : DCR. in DCR we expect user
> in request payload for now and that APIs are not secured. After apply this
> we can remove the user from request payload and rely on this. And same as
> we may have to check other REST APIs whether those are rely on any other
> secure mechanism.
>
> @Isura, Can you please confirm in identity management REST API like
> inforecovery ?
>
> @Ayesha,
> Ishara already test the DCR and you can fix that removing user in
> payload, apply this and test.
>
> *Harsha Thirimanna*
> Associate Tech Lead | WSO2
>
> Email: hars...@wso2.com
> Mob: +94715186770
> Blog: http://harshathirimanna.blogspot.com/
> Twitter: http://twitter.com/harshathirimann
> Linked-In: linked-in: http://www.linkedin.com/pub/ha
> rsha-thirimanna/10/ab8/122
> 
>
> On Thu, Oct 20, 2016 at 12:34 PM, Ishara Karunarathna <
> isha...@wso2.com> wrote:
>
>> Hi Ayesha,
>>
>> This feature provide a authentication layer in front of any unsecured
>> REST APIs. So do we need to test this with all the REST APIs ?
>>
>> -Ishara
>>
>>
>> On Thu, Oct 20, 2016 at 12:05 PM, Ayesha Dissanayaka > > wrote:
>>
>>> Hi all,
>>>
>>> I have started testing the"Generic Authentication Mechanism to all
>>> the REST APIs" feature [1] in IS-5.3.0.
>>> Please mention details on REST APIs in IS services which needs to be
>>> secured, so that I can test those APIs with this feature.
>>>
>>> [1] https://wso2.org/jira/browse/IDENTITY-4742
>>>
>>> Thanks!
>>> -Ayesha
>>>
>>> --
>>> *Ayesha Dissanayaka*
>>> Software Engineer,
>>> WSO2, Inc : http://wso2.com
>>> 
>>> 20, Palmgrove Avenue, Colombo 3
>>> E-Mail: aye...@wso2.com 
>>>
>>
>>
>>
>> --
>> Ishara Karunarathna
>> Associate Technical Lead
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
>> +94717996791
>>
>>
>>
>

>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Ishara Karunarathna
>> Associate Technical Lead
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
>> +94717996791
>>
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> 

Re: [Dev] WSO2 EMM Support

2016-10-20 Thread Praveen J
Hi All, I have checked the device monitoring using latest Beta 2.2.0. In dashboard EMM Analytics shows fine but device count and active inactive devices are not showing refer the screenshot for your kind reference. But I have entrolled device in MDM. So please guide me which step I have missed. and also refer the below link which i have refered. URL: https://docs.wso2.com/display/EMM220/General+Server+Configurations#GeneralServerConfigurations-EnablingDashboardServerCommunication 20.10.2016, 09:20, "Megala Uthayakumar" :Hi Praveen, This is a known issue in EMM as per the jira [1]. It is fixed in the latest version. Can you try out the latest beta2 pack[2], to access the dashboard. [1] https://wso2.org/jira/browse/EMM-1523[2] https://github.com/wso2/product-emm/releases Thanks. Regards,Megala On Wed, Oct 19, 2016 at 5:45 PM, Praveen J  wrote:Hi All, Thank you for your quick response and support. Now I'm working on that based on your suggestion. if any doubts I will let you know. And one more clarification regarding dashboard server (https://:/portal) When i logged in portal there is no EMM Analytics Dashboard and for your info I also enbled the dasboard server communication. But I didn't get any result, Please refer the below links which i have referred and followed. https://docs.wso2.com/display/EMM210/Accessing+the+WSO2+EMM+Device+Monitoring+Dashboard https://docs.wso2.com/display/EMM210/Monitoring+Devices+via+the+Dashboard Please give some suggestion how to setup the dashboard server.  19.10.2016, 16:52, "Madawa Soysa" :Hi Praveen, Regarding your last question, 5th step of the data containerization guide [1] means that you can uninstall the agent installed in your personal profile. [1] - https://docs.wso2.com/display/EMM210/Data+Containerization+for+Android+Device#DataContainerizationforAndroidDevice-ApplyingAndroiddeviceoperations Regards,Madawa On Wed, Oct 19, 2016 at 3:35 PM, Rasika Perera  wrote:Hi Praveen, It's great to hear that you started using WSO2 EMM. Please find inline comments below. Regarding to setup project-emm, Actually I already setup the project in IntelliJ IDE but i don't know how to run the product and debug so please guide me via steps how to setup the project and work with source code and finally built the product using Maven.We are using three repositories; CDMF and CDMF-plugins and Product EMM to build the product. Please refer [1] for additional details. You can debug the EMM server as per [3]. If you find any issue you can raise JIRAs on [2] and even you can fix and send us a PR to relevant repository. Then I need clarification regarding how to install and uninstall app silent using Application management? And we got some search result in stack overflow about that but they discussed about old version and i have mentioned the link below for your reference. So please give some suggestion how to achieve this.In order to get it work silent app install/uninstall you need to install WSO2 Android Agent as a System App. Please follow instructions on [4] to enable it. [1] https://docs.wso2.com/display/EMM220/Working+with+the+Source+Code[2] https://wso2.org/jira/projects/EMM/[3] https://dzone.com/articles/how-debug-wso2-carbon-kernel[4] https://docs.wso2.com/display/EMM220/Integrating+the+Android+System+Service+Application  On Wed, Oct 19, 2016 at 2:42 PM, Praveen J  wrote:Hi Sir/Madam, Good day, I'm using WSO2 EMM 2.1.0 and I need to customise the source code So I need your support and i have some doubts and clarification which i have listed out below. Regarding to setup project-emm, Actually I already setup the project in IntelliJ IDE but i don't know how to run the product and debug so please guide me via steps how to setup the project and work with source code and finally built the product using Maven. Then I need clarification regarding how to install and uninstall app silent using Application management? And we got some search result in stack overflow about that but they discussed about old version and i have mentioned the link below for your reference. So please give some suggestion how to achieve this. http://stackoverflow.com/questions/26008471/application-management-in-wso2-emm And finally data containerisation in Android lollipop using Android for work. And I have followed the below link instructions. https://docs.wso2.com/display/EMM210/Data+Containerization+for+Android+Device#DataContainerizationforAndroidDevice-ApplyingAndroiddeviceoperations In device registration section I'm stuck with 5th step after uninstall the app what i do further? So please guide me. Awaiting for your response. And let me know if any comments. -- Thanks & Regards,Praveen JApplication Developer,Next Techno Enterprises India Pvt. Ltd, Module No: 308/1,Third Floor, ELCOT IT/ITES-SEZ, TIDEL PARKVilankurichi Village, Coimbatore-641 014, TAMIL NADU, 

Re: [Dev] How to debug an App under WSO2 AS 5.3.0

2016-10-20 Thread Rajith Roshan
Hi,

Add a new Remote configuration using intellij (Run -> Edit configurations).
Default port will be 5005.
Then start the AS with following command

sh wso2server.sh debug 5005

Thanks!
Rajith

On Thu, Oct 20, 2016 at 4:57 PM, wenxzhen  wrote:

> Dear all,
>
> I have deployed a Web APP under AS 5.3.0, how to debug the App with the
> Intellij IDEA?
>
> Appreciated for your advice
> Thanks, Wenxing
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rajith Roshan
Software Engineer, WSO2 Inc.
Mobile: +94-72-642-8350 <%2B94-71-554-8430>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to debug an App under WSO2 AS 5.3.0

2016-10-20 Thread Lakshani Gamage
Hi Wenxzen,

This link[1] contains how to debug wso2 products.

[1]
http://blog.kasunbg.org/2010/05/remote-debugging-java-packages-in-wso2.html

Thanks,
Lakshani


On Thu, Oct 20, 2016 at 4:57 PM, wenxzhen  wrote:

> Dear all,
>
> I have deployed a Web APP under AS 5.3.0, how to debug the App with the
> Intellij IDEA?
>
> Appreciated for your advice
> Thanks, Wenxing
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lakshani Gamage

*Software Engineer, WSO2*

*Mobile : +94 71 5478184 <%2B94%20%280%29%20773%20451194>*
*Blog : http://lakshanigamage.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to debug an App under WSO2 AS 5.3.0

2016-10-20 Thread Thusitha Thilina Dayaratne
Hi Wenxing,

You can start the WSO2 AS with debug mode
e.g. ./wso2server.sh debug 5005 and then connect to that via your IDEA.

Thanks
Thusitha

On Thu, Oct 20, 2016 at 4:57 PM, wenxzhen  wrote:

> Dear all,
>
> I have deployed a Web APP under AS 5.3.0, how to debug the App with the
> Intellij IDEA?
>
> Appreciated for your advice
> Thanks, Wenxing
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina

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


[Dev] How to debug an App under WSO2 AS 5.3.0

2016-10-20 Thread wenxzhen
Dear all,


I have deployed a Web APP under AS 5.3.0, how to debug the App with the 
Intellij IDEA?


Appreciated for your advice
Thanks, Wenxing___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 MSF4J 2.1.0 RC1

2016-10-20 Thread Thusitha Thilina Dayaratne
Hi All,

We are calling off this vote due to a versioning issue found in a sample.
We will do an RC2 ASAP.

Thanks
Thusitha

On Thu, Oct 20, 2016 at 12:09 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi Devs,
>
> This is the 1st Release Candidate of WSO2 MSF4J(Microservices Framework
> for Java) 2.1.0.
>
> Please download, test the framework and vote. The vote will be open for
> 72 hours or as needed.
> Refer to GitHub readmes for guides.
>
> * Source and binary distribution files:*
> https://github.com/wso2/msf4j/releases/tag/v2.1.0-rc1
>
> *Maven staging repository:*
> https://maven.wso2.org/nexus/content/repositories/orgwso2msf4j-1007/
>
> *The tag to be voted upon:*
> https://github.com/wso2/msf4j/tree/v2.1.0-rc1
>
>
>
> [ ] Broken - do not release (explain why)
> [ ] Stable - go ahead and release
>
> Thank you,
> Platform Team
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
> 
>
>


-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina

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


[Dev] DB script location for C5 based products

2016-10-20 Thread Rajith Roshan
What is the ${subject}?

Is it ${Carbon_Home}/dbscripts ?

Thanks!
Rajith

-- 
Rajith Roshan
Software Engineer, WSO2 Inc.
Mobile: +94-72-642-8350 <%2B94-71-554-8430>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM]Issues in calling admin services as a tenant user from a jaggery app

2016-10-20 Thread Lakshani Gamage
[adding LakshmanU, ThusithaD]

On Thu, Oct 20, 2016 at 2:05 PM, Megala Uthayakumar  wrote:

> Hi,
>
> I have created a PR[1] to fix this issue. Can someone from kernel team
> review and merge this PR?
>
> [1] https://github.com/wso2/carbon-kernel/pull/1163
>
> Thanks.
>
> Regards,
> Megala
>
>
> On Wed, Oct 19, 2016 at 5:25 PM, Kamidu Punchihewa 
> wrote:
>
>> Hi Megala,
>>
>> If you have found out the issue and solution. Please do the necessary
>> change and do a round of testing. If everything works as expected please
>> send a pull request to the carbon kernel.
>> @Kernal Team How we can get the this released for the EMM 2.2.0 release ?
>>
>> Thanks and Best Regards,
>>
>> Kamidu Sachith Punchihewa
>> *Software Engineer*
>> WSO2, Inc.
>> lean . enterprise . middleware
>> Mobile : +94 (0) 770566749 <%2B94%20%280%29%20773%20451194>
>>
>>
>> Disclaimer: This communication may contain privileged or other
>> confidential information and is intended exclusively for the addressee/s.
>> If you are not the intended recipient/s, or believe that you may have
>> received this communication in error, please reply to the sender indicating
>> that fact and delete the copy you received and in addition, you should not
>> print, copy, retransmit, disseminate, or otherwise use the information
>> contained in this communication. Internet communications cannot be
>> guaranteed to be timely, secure, error or virus-free. The sender does not
>> accept liability for any errors or omissions.
>>
>> On Wed, Oct 19, 2016 at 11:07 AM, Megala Uthayakumar 
>> wrote:
>>
>>> Hi All,
>>>
>>> I am working on a jira [1] which is related with an exception that is
>>> thrown when trying to add a user/role in tenant mode using EMM console.
>>> This is particularly happens when we call the admin service to get the
>>> secondary user store configurations related to particular tenant [2].
>>> Following is the root cause behind this exception,
>>>
>>> *Caused by: java.lang.SecurityException: Illegal access attempt to cache
>>> ] owned by tenant*
>>> *{[test.com ],[1]} by tenant {[test.com
>>> ],[-1234]}*
>>>
>>> When trying to access the cache, the caller's tenant id has changed to
>>> super-tenant id, although tenant domain is correct. I tried to start the
>>> tenant flow before calling the admin service, but still I got the same
>>> error. While debugging I found, [3] is the point where the tenant domain is
>>> set to correct domain, while the tenant id still set to super-tenant id.
>>> Locally I changed that particular line as per below,
>>>
>>> PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantDomain(
>>> userTenantDomain,*true*);
>>>
>>> After that I could get the secondary user-store configurations related
>>> to that particular tenant. Is this a bug from carbon-level or is there any
>>> work-around to avoid this? Any comments or suggestions on this regard is
>>> highly appreciated.
>>>
>>> [1] https://wso2.org/jira/browse/EMM-1762
>>> [2] https://github.com/wso2/carbon-device-mgt/blob/master/co
>>> mponents/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/r
>>> esources/jaggeryapps/devicemgt/app/modules/business-controll
>>> ers/user.js#L607
>>> [3] https://github.com/wso2/carbon-kernel/blob/v4.4.9/core/o
>>> rg.wso2.carbon.server.admin/src/main/java/org/wso2/carbon/se
>>> rver/admin/module/handler/AuthenticationHandler.java#L93
>>>
>>> Thanks.
>>>
>>> Regards,
>>> Megala
>>> --
>>> Megala Uthayakumar
>>>
>>> Software Engineer
>>> Mobile : 0779967122
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> Megala Uthayakumar
>
> Software Engineer
> Mobile : 0779967122
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lakshani Gamage

*Software Engineer, WSO2*

*Mobile : +94 71 5478184 <%2B94%20%280%29%20773%20451194>*
*Blog : http://lakshanigamage.blogspot.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM]Issues in calling admin services as a tenant user from a jaggery app

2016-10-20 Thread Megala Uthayakumar
Hi,

I have created a PR[1] to fix this issue. Can someone from kernel team
review and merge this PR?

[1] https://github.com/wso2/carbon-kernel/pull/1163

Thanks.

Regards,
Megala


On Wed, Oct 19, 2016 at 5:25 PM, Kamidu Punchihewa 
wrote:

> Hi Megala,
>
> If you have found out the issue and solution. Please do the necessary
> change and do a round of testing. If everything works as expected please
> send a pull request to the carbon kernel.
> @Kernal Team How we can get the this released for the EMM 2.2.0 release ?
>
> Thanks and Best Regards,
>
> Kamidu Sachith Punchihewa
> *Software Engineer*
> WSO2, Inc.
> lean . enterprise . middleware
> Mobile : +94 (0) 770566749 <%2B94%20%280%29%20773%20451194>
>
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, retransmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>
> On Wed, Oct 19, 2016 at 11:07 AM, Megala Uthayakumar 
> wrote:
>
>> Hi All,
>>
>> I am working on a jira [1] which is related with an exception that is
>> thrown when trying to add a user/role in tenant mode using EMM console.
>> This is particularly happens when we call the admin service to get the
>> secondary user store configurations related to particular tenant [2].
>> Following is the root cause behind this exception,
>>
>> *Caused by: java.lang.SecurityException: Illegal access attempt to cache
>> ] owned by tenant*
>> *{[test.com ],[1]} by tenant {[test.com
>> ],[-1234]}*
>>
>> When trying to access the cache, the caller's tenant id has changed to
>> super-tenant id, although tenant domain is correct. I tried to start the
>> tenant flow before calling the admin service, but still I got the same
>> error. While debugging I found, [3] is the point where the tenant domain is
>> set to correct domain, while the tenant id still set to super-tenant id.
>> Locally I changed that particular line as per below,
>>
>> PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantDomain(
>> userTenantDomain,*true*);
>>
>> After that I could get the secondary user-store configurations related to
>> that particular tenant. Is this a bug from carbon-level or is there any
>> work-around to avoid this? Any comments or suggestions on this regard is
>> highly appreciated.
>>
>> [1] https://wso2.org/jira/browse/EMM-1762
>> [2] https://github.com/wso2/carbon-device-mgt/blob/master/co
>> mponents/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/
>> resources/jaggeryapps/devicemgt/app/modules/business-
>> controllers/user.js#L607
>> [3] https://github.com/wso2/carbon-kernel/blob/v4.4.9/core/
>> org.wso2.carbon.server.admin/src/main/java/org/wso2/carbon/
>> server/admin/module/handler/AuthenticationHandler.java#L93
>>
>> Thanks.
>>
>> Regards,
>> Megala
>> --
>> Megala Uthayakumar
>>
>> Software Engineer
>> Mobile : 0779967122
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
Megala Uthayakumar

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


Re: [Dev] [IS] What are the REST APIs in WSO2IS-5.3.0 that need to be secured?

2016-10-20 Thread Harsha Thirimanna
+1 then. We can intergrate later.
But for DCR , we have to fix that because of specification.

*Harsha Thirimanna*
Associate Tech Lead | WSO2

Email: hars...@wso2.com
Mob: +94715186770
Blog: http://harshathirimanna.blogspot.com/
Twitter: http://twitter.com/harshathirimann
Linked-In: linked-in:
http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122


On Thu, Oct 20, 2016 at 1:48 PM, Ishara Karunarathna 
wrote:

>
>
> On Thu, Oct 20, 2016 at 1:40 PM, Harsha Thirimanna 
> wrote:
>
>>
>>
>> *Harsha Thirimanna*
>> Associate Tech Lead | WSO2
>>
>> Email: hars...@wso2.com
>> Mob: +94715186770
>> Blog: http://harshathirimanna.blogspot.com/
>> Twitter: http://twitter.com/harshathirimann
>> Linked-In: linked-in: http://www.linkedin.com/pub/ha
>> rsha-thirimanna/10/ab8/122
>> 
>>
>> On Thu, Oct 20, 2016 at 1:39 PM, Harsha Thirimanna 
>> wrote:
>>
>>> Moving to DEV...
>>>
>>> *Harsha Thirimanna*
>>> Associate Tech Lead | WSO2
>>>
>>> Email: hars...@wso2.com
>>> Mob: +94715186770
>>> Blog: http://harshathirimanna.blogspot.com/
>>> Twitter: http://twitter.com/harshathirimann
>>> Linked-In: linked-in: http://www.linkedin.com/pub/ha
>>> rsha-thirimanna/10/ab8/122
>>> 
>>>
>>> On Thu, Oct 20, 2016 at 12:49 PM, Harsha Thirimanna 
>>> wrote:
>>>
>> Hi,
>
> At this point I don't think that its good idea to remove already available
> authentication mechanism and use this instead, for secured APIs since those
> may have some logics those apis need.
>
> Instead only check with the REST APIs that need security.
> WDYT ?
>
> -Ishara
>
>> If there any REST API that already secured within itself the feature,
 then we have to remove it and use this. As ex : DCR. in DCR we expect user
 in request payload for now and that APIs are not secured. After apply this
 we can remove the user from request payload and rely on this. And same as
 we may have to check other REST APIs whether those are rely on any other
 secure mechanism.

 @Isura, Can you please confirm in identity management REST API like
 inforecovery ?

 @Ayesha,
 Ishara already test the DCR and you can fix that removing user in
 payload, apply this and test.

 *Harsha Thirimanna*
 Associate Tech Lead | WSO2

 Email: hars...@wso2.com
 Mob: +94715186770
 Blog: http://harshathirimanna.blogspot.com/
 Twitter: http://twitter.com/harshathirimann
 Linked-In: linked-in: http://www.linkedin.com/pub/ha
 rsha-thirimanna/10/ab8/122
 

 On Thu, Oct 20, 2016 at 12:34 PM, Ishara Karunarathna  wrote:

> Hi Ayesha,
>
> This feature provide a authentication layer in front of any unsecured
> REST APIs. So do we need to test this with all the REST APIs ?
>
> -Ishara
>
>
> On Thu, Oct 20, 2016 at 12:05 PM, Ayesha Dissanayaka 
> wrote:
>
>> Hi all,
>>
>> I have started testing the"Generic Authentication Mechanism to all
>> the REST APIs" feature [1] in IS-5.3.0.
>> Please mention details on REST APIs in IS services which needs to be
>> secured, so that I can test those APIs with this feature.
>>
>> [1] https://wso2.org/jira/browse/IDENTITY-4742
>>
>> Thanks!
>> -Ayesha
>>
>> --
>> *Ayesha Dissanayaka*
>> Software Engineer,
>> WSO2, Inc : http://wso2.com
>> 
>> 20, Palmgrove Avenue, Colombo 3
>> E-Mail: aye...@wso2.com 
>>
>
>
>
> --
> Ishara Karunarathna
> Associate Technical Lead
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
> +94717996791
>
>
>

>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ishara Karunarathna
> Associate Technical Lead
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
> +94717996791
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] What are the REST APIs in WSO2IS-5.3.0 that need to be secured?

2016-10-20 Thread Ishara Karunarathna
On Thu, Oct 20, 2016 at 1:40 PM, Harsha Thirimanna  wrote:

>
>
> *Harsha Thirimanna*
> Associate Tech Lead | WSO2
>
> Email: hars...@wso2.com
> Mob: +94715186770
> Blog: http://harshathirimanna.blogspot.com/
> Twitter: http://twitter.com/harshathirimann
> Linked-In: linked-in: http://www.linkedin.com/pub/
> harsha-thirimanna/10/ab8/122
> 
>
> On Thu, Oct 20, 2016 at 1:39 PM, Harsha Thirimanna 
> wrote:
>
>> Moving to DEV...
>>
>> *Harsha Thirimanna*
>> Associate Tech Lead | WSO2
>>
>> Email: hars...@wso2.com
>> Mob: +94715186770
>> Blog: http://harshathirimanna.blogspot.com/
>> Twitter: http://twitter.com/harshathirimann
>> Linked-In: linked-in: http://www.linkedin.com/pub/ha
>> rsha-thirimanna/10/ab8/122
>> 
>>
>> On Thu, Oct 20, 2016 at 12:49 PM, Harsha Thirimanna 
>> wrote:
>>
> Hi,

At this point I don't think that its good idea to remove already available
authentication mechanism and use this instead, for secured APIs since those
may have some logics those apis need.

Instead only check with the REST APIs that need security.
WDYT ?

-Ishara

> If there any REST API that already secured within itself the feature, then
>>> we have to remove it and use this. As ex : DCR. in DCR we expect user in
>>> request payload for now and that APIs are not secured. After apply this we
>>> can remove the user from request payload and rely on this. And same as we
>>> may have to check other REST APIs whether those are rely on any other
>>> secure mechanism.
>>>
>>> @Isura, Can you please confirm in identity management REST API like
>>> inforecovery ?
>>>
>>> @Ayesha,
>>> Ishara already test the DCR and you can fix that removing user in
>>> payload, apply this and test.
>>>
>>> *Harsha Thirimanna*
>>> Associate Tech Lead | WSO2
>>>
>>> Email: hars...@wso2.com
>>> Mob: +94715186770
>>> Blog: http://harshathirimanna.blogspot.com/
>>> Twitter: http://twitter.com/harshathirimann
>>> Linked-In: linked-in: http://www.linkedin.com/pub/ha
>>> rsha-thirimanna/10/ab8/122
>>> 
>>>
>>> On Thu, Oct 20, 2016 at 12:34 PM, Ishara Karunarathna 
>>> wrote:
>>>
 Hi Ayesha,

 This feature provide a authentication layer in front of any unsecured
 REST APIs. So do we need to test this with all the REST APIs ?

 -Ishara


 On Thu, Oct 20, 2016 at 12:05 PM, Ayesha Dissanayaka 
 wrote:

> Hi all,
>
> I have started testing the"Generic Authentication Mechanism to all the
> REST APIs" feature [1] in IS-5.3.0.
> Please mention details on REST APIs in IS services which needs to be
> secured, so that I can test those APIs with this feature.
>
> [1] https://wso2.org/jira/browse/IDENTITY-4742
>
> Thanks!
> -Ayesha
>
> --
> *Ayesha Dissanayaka*
> Software Engineer,
> WSO2, Inc : http://wso2.com
> 
> 20, Palmgrove Avenue, Colombo 3
> E-Mail: aye...@wso2.com 
>



 --
 Ishara Karunarathna
 Associate Technical Lead
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
 +94717996791



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


-- 
Ishara Karunarathna
Associate Technical Lead
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
+94717996791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] What are the REST APIs in WSO2IS-5.3.0 that need to be secured?

2016-10-20 Thread Harsha Thirimanna
Moving to DEV...

*Harsha Thirimanna*
Associate Tech Lead | WSO2

Email: hars...@wso2.com
Mob: +94715186770
Blog: http://harshathirimanna.blogspot.com/
Twitter: http://twitter.com/harshathirimann
Linked-In: linked-in:
http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122


On Thu, Oct 20, 2016 at 12:49 PM, Harsha Thirimanna 
wrote:

> If there any REST API that already secured within itself the feature, then
> we have to remove it and use this. As ex : DCR. in DCR we expect user in
> request payload for now and that APIs are not secured. After apply this we
> can remove the user from request payload and rely on this. And same as we
> may have to check other REST APIs whether those are rely on any other
> secure mechanism.
>
> @Isura, Can you please confirm in identity management REST API like
> inforecovery ?
>
> @Ayesha,
> Ishara already test the DCR and you can fix that removing user in payload,
> apply this and test.
>
> *Harsha Thirimanna*
> Associate Tech Lead | WSO2
>
> Email: hars...@wso2.com
> Mob: +94715186770
> Blog: http://harshathirimanna.blogspot.com/
> Twitter: http://twitter.com/harshathirimann
> Linked-In: linked-in: http://www.linkedin.com/pub/
> harsha-thirimanna/10/ab8/122
> 
>
> On Thu, Oct 20, 2016 at 12:34 PM, Ishara Karunarathna 
> wrote:
>
>> Hi Ayesha,
>>
>> This feature provide a authentication layer in front of any unsecured
>> REST APIs. So do we need to test this with all the REST APIs ?
>>
>> -Ishara
>>
>>
>> On Thu, Oct 20, 2016 at 12:05 PM, Ayesha Dissanayaka 
>> wrote:
>>
>>> Hi all,
>>>
>>> I have started testing the"Generic Authentication Mechanism to all the
>>> REST APIs" feature [1] in IS-5.3.0.
>>> Please mention details on REST APIs in IS services which needs to be
>>> secured, so that I can test those APIs with this feature.
>>>
>>> [1] https://wso2.org/jira/browse/IDENTITY-4742
>>>
>>> Thanks!
>>> -Ayesha
>>>
>>> --
>>> *Ayesha Dissanayaka*
>>> Software Engineer,
>>> WSO2, Inc : http://wso2.com
>>> 
>>> 20, Palmgrove Avenue, Colombo 3
>>> E-Mail: aye...@wso2.com 
>>>
>>
>>
>>
>> --
>> Ishara Karunarathna
>> Associate Technical Lead
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
>> +94717996791
>>
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] What are the REST APIs in WSO2IS-5.3.0 that need to be secured?

2016-10-20 Thread Harsha Thirimanna
*Harsha Thirimanna*
Associate Tech Lead | WSO2

Email: hars...@wso2.com
Mob: +94715186770
Blog: http://harshathirimanna.blogspot.com/
Twitter: http://twitter.com/harshathirimann
Linked-In: linked-in:
http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122


On Thu, Oct 20, 2016 at 1:39 PM, Harsha Thirimanna  wrote:

> Moving to DEV...
>
> *Harsha Thirimanna*
> Associate Tech Lead | WSO2
>
> Email: hars...@wso2.com
> Mob: +94715186770
> Blog: http://harshathirimanna.blogspot.com/
> Twitter: http://twitter.com/harshathirimann
> Linked-In: linked-in: http://www.linkedin.com/pub/
> harsha-thirimanna/10/ab8/122
> 
>
> On Thu, Oct 20, 2016 at 12:49 PM, Harsha Thirimanna 
> wrote:
>
>> If there any REST API that already secured within itself the feature,
>> then we have to remove it and use this. As ex : DCR. in DCR we expect user
>> in request payload for now and that APIs are not secured. After apply this
>> we can remove the user from request payload and rely on this. And same as
>> we may have to check other REST APIs whether those are rely on any other
>> secure mechanism.
>>
>> @Isura, Can you please confirm in identity management REST API like
>> inforecovery ?
>>
>> @Ayesha,
>> Ishara already test the DCR and you can fix that removing user in
>> payload, apply this and test.
>>
>> *Harsha Thirimanna*
>> Associate Tech Lead | WSO2
>>
>> Email: hars...@wso2.com
>> Mob: +94715186770
>> Blog: http://harshathirimanna.blogspot.com/
>> Twitter: http://twitter.com/harshathirimann
>> Linked-In: linked-in: http://www.linkedin.com/pub/ha
>> rsha-thirimanna/10/ab8/122
>> 
>>
>> On Thu, Oct 20, 2016 at 12:34 PM, Ishara Karunarathna 
>> wrote:
>>
>>> Hi Ayesha,
>>>
>>> This feature provide a authentication layer in front of any unsecured
>>> REST APIs. So do we need to test this with all the REST APIs ?
>>>
>>> -Ishara
>>>
>>>
>>> On Thu, Oct 20, 2016 at 12:05 PM, Ayesha Dissanayaka 
>>> wrote:
>>>
 Hi all,

 I have started testing the"Generic Authentication Mechanism to all the
 REST APIs" feature [1] in IS-5.3.0.
 Please mention details on REST APIs in IS services which needs to be
 secured, so that I can test those APIs with this feature.

 [1] https://wso2.org/jira/browse/IDENTITY-4742

 Thanks!
 -Ayesha

 --
 *Ayesha Dissanayaka*
 Software Engineer,
 WSO2, Inc : http://wso2.com
 
 20, Palmgrove Avenue, Colombo 3
 E-Mail: aye...@wso2.com 

>>>
>>>
>>>
>>> --
>>> Ishara Karunarathna
>>> Associate Technical Lead
>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>
>>> email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
>>> +94717996791
>>>
>>>
>>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 EMM 2.2.0-BETA2 is Released.

2016-10-20 Thread Kamidu Punchihewa
Hi All,

Please find the missing download link below,
*https://github.com/wso2/product-emm/releases/download/v2.2.0-BETA2/wso2emm-2.2.0-BETA2.zip
*


Sorry for the inconvenience made.

Thanks and Best Regards,

Kamidu Sachith Punchihewa
*Software Engineer*
WSO2, Inc.
lean . enterprise . middleware
Mobile : +94 (0) 770566749 <%2B94%20%280%29%20773%20451194>


Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
retransmit, disseminate, or otherwise use the information contained in this
communication. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.

On Wed, Oct 19, 2016 at 12:19 AM, Kamidu Punchihewa 
wrote:

> WSO2 Enterprise Mobility Manager 2.2.0-BETA2 is released!
>
> WSO2 Enterprise Mobility Manager (WSO2 EMM) is a 100% open source,
> comprehensive platform that addresses mobile computing challenges which
> enterprises face today. WSO2 EMM supports iOS, Android & Windows devices
> and helps organizations deal with both "corporate-owned,
> personally-enabled" (COPE) devices and employee owned devices with the
> "bring-your-own-device" (BYOD) ownership schemes.
>
> Built on a generic device management framework (i.e. WSO2 Connected Device
> Management Framework) that can be extended to support many other device
> platforms, WSO2 EMM offers better scalability with its rich architecture,
> supporting horizontal as well as vertical scaling of associated components.
> Whether it is device configuration management, policy enforcement,
> app-management, device data security or compliance monitoring, WSO2 EMM
> offers a single enterprise grade platform for all your mobile computing
> needs.
>
>
>
> *Please find the additional bug fixes and Improvements introduced in this
> release :*
> Bug Fixes
>
>- [EMM-1620 ] - Enrolment iOS
>10 error
>
>
>- [EMM-1129 ] - Unable to log
>in to EMM console after configuring SSO
>- [EMM-1185 ] - Sort policies
>by platform and status is not functioning
>- [EMM-1249 ] - Unnecessary
>Jaggery related logs are printed on the console during the server start-up
>- [EMM-1321 ] - WindowLeaked
>exception in Android agent
>- [EMM-1333 ] - Users created
>through EMM console can not be given permission to login to AppStore
>- [EMM-1342 ] - When policy
>bundle apply, existing policy should revoke
>- [EMM-1420 ] - Profile doesn't
>get applied when device is locked
>- [EMM-1445 ] - "Mobile App"
>permission for "store-admin" role should be assigned by default
>- [EMM-1461 ] - Edit, Delete,
>Change Password option buttons on top of the User views in User Management
>page, will not show the option in word however the API name is shown in the
>browser
>- [EMM-1515 ] - Irregular
>failures for Register Oauth App, Access Token Generation and Device
>Registration calls when the concurrency reaches at around 10 threads
>- [EMM-1523 ] - Device
>Monitoring Dashboard not found (EMM analytics dashboard)
>- [EMM-1530 ] - During load
>test - Failed to authenticate the incoming request due to error in
>permission initialization - For the actually working API methods
>- [EMM-1587 ] - Unneccessary
>details included in user enrollment invitation email body
>- [EMM-1596 ] -
>NullPointerException thrown when editing a user of secondary user store
>- [EMM-1601 ] - Sorting doesn't
>apply for enrolled devices according to sorting options
>- [EMM-1619 ] - Unable to sort
>according to platform and status for policies
>- [EMM-1629 ] -
>EventAdapterConfigHelper error at server startup
>- [EMM-1637 ] - SQLException
>observed in MySQL Dsetup
>- [EMM-1639 ] - 

[Dev] [VOTE] Release WSO2 MSF4J 2.1.0 RC1

2016-10-20 Thread Thusitha Thilina Dayaratne
Hi Devs,

This is the 1st Release Candidate of WSO2 MSF4J(Microservices Framework for
Java) 2.1.0.

Please download, test the framework and vote. The vote will be open for 72
hours or as needed.
Refer to GitHub readmes for guides.

* Source and binary distribution files:*
https://github.com/wso2/msf4j/releases/tag/v2.1.0-rc1

*Maven staging repository:*
https://maven.wso2.org/nexus/content/repositories/orgwso2msf4j-1007/

*The tag to be voted upon:*
https://github.com/wso2/msf4j/tree/v2.1.0-rc1



[ ] Broken - do not release (explain why)
[ ] Stable - go ahead and release

Thank you,
Platform Team

-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina

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