Re: [Dev] Shall we change the convention for placement of DB Query String in Java Code.

2016-11-02 Thread Maduranga Siriwardena
Hi Ruwan, Having the SQL query in the method itself improves the readability. However in C4 usercore and C5 user store connector current implementation, we have the SQL queries in a central place and load it to a map at the time of the initialization of connector. With this approach one of the

Re: [Dev] Fwd: [DEV][C5] How to access the REST API Request properties

2016-11-02 Thread Thusitha Thilina Dayaratne
Hi Ishara, AFAIK you should be able to get that information through the request object. e.g request.getProperties() Thanks Thusitha On Thu, Nov 3, 2016 at 10:24 AM, Ishara Cooray wrote: > +Shafreen, Sanjeewa, Kishanthan > > Hi, > > With regard to C5 implementation, i need to

[Dev] Fwd: [DEV][C5] How to access the REST API Request properties

2016-11-02 Thread Ishara Cooray
+Shafreen, Sanjeewa, Kishanthan Hi, With regard to C5 implementation, i need to get api request properties such as Message.BASE_PATH, Message.PATH_INFO, Message.HTTP_REQUEST_METHOD for scope validation of a rest api call. In Interceptor interface we have precall method which i can use to get

Re: [Dev] Token generation through user details retriveal from DB or REST API

2016-11-02 Thread Gayan Gunawardana
On Wed, Nov 2, 2016 at 8:53 PM, Hanen Ben Rhouma wrote: > Thanks for the reply Gayan, > > Actually I'm facing an issue while trying to deploy the custom user store > jar file under WSO2 IS, though I put it in > /repository/components/dropins > and changed

Re: [Dev] Token generation through user details retriveal from DB or REST API

2016-11-02 Thread Hanen Ben Rhouma
Thanks for the reply Gayan, Actually I'm facing an issue while trying to deploy the custom user store jar file under WSO2 IS, though I put it in /repository/components/dropins and changed /repository/conf/user-mgt.xml according to the documentation I'm receiving a ClassNotFound error:

Re: [Dev] WSO2 Committers += Megala Uthayakumar

2016-11-02 Thread Menaka Jayawardena
Congratulations Megala! On Wed, Nov 2, 2016 at 12:21 PM, Yasima Dewmini wrote: > Congratz Megala :) > > On Wed, Nov 2, 2016 at 11:06 AM, Biruntha Gnaneswaran > wrote: > >> Congratulations Megala. >> >> Biruntha >> >> Associate Software Engineer >> WSO2 >>

Re: [Dev] WSO2 Committers += Saad Sahibjan

2016-11-02 Thread Menaka Jayawardena
Congratulations Saad.! On Mon, Oct 31, 2016 at 6:01 PM, Chathura Dilan wrote: > ​Hi Devs, > > ​It's my pleasure to announce Saad Sahibjan as a WSO2 Committer. Saad has > been a valuable contributor for WSO2 EMM product, and in recognition of his > contribution to WSO2, he

Re: [Dev] UUF based Gadget hot deployment

2016-11-02 Thread Manuranga Perera
> > Ideally these custom gadgets should not go inside the portal component +1 > rather placed as different UUF components. I think the correct place is the deployment dir. and we should treat it as an external artifact, just like a MSS service. UUF based Gadget hot deployment UUF is anyway

[Dev] Unable to remove Content-Type header for POST request with empty body

2016-11-02 Thread Keerthika Mahendralingam
Hi All, Dropbox backend service expecting a POST request with empty body and without Content-Type header for download method[1]. I am unable to remove the Content-Type header from the request. Is there any way to do this? I tried with the following: It is working for GET methods but not for

Re: [Dev] [IS][Registry] Usage of modules/carbon/scripts/registry/artifacts.js in Identity Server

2016-11-02 Thread Harsha Thirimanna
Hi All, This is kind of not packaging relevant bundle with the KM features to the IS i think. DineshW is investigating this. *Harsha Thirimanna* Associate Tech Lead | WSO2 Email: hars...@wso2.com Mob: +94715186770 Blog: http://harshathirimanna.blogspot.com/ Twitter:

Re: [Dev] [IS][Registry] Usage of modules/carbon/scripts/registry/artifacts.js in Identity Server

2016-11-02 Thread Ayesha Dissanayaka
Hi Abimaran, If this helps, wso2is-5.2.0/modules/carbon/ module comes from a jaggery-extension , carbon [1]. This dependency in product-is can be found at [2]. [1] https://github.com/wso2/jaggery-extensions/tree/release-1.5.3/carbon [2]

Re: [Dev] WSO2 EMM Support

2016-11-02 Thread Praveen J
Hi All, Good Day, I hope that you are having a busy time, did you by any chance got to see my last mail? If you have missed on please see the below thread . I'm awaiting for your response.  01.11.2016, 15:16, "Praveen J" :Hi All, Good day, Few

[Dev] [OSGI][C5] Usage of *;resolution:=optionalin import bundles

2016-11-02 Thread Fazlan Nazeem
Hi all, This is regarding the usage of* *;resolution:=optional *when importing bundles. IMO we should avoid doing this going forward with C5. As a result, we would be failing early if we are not having an import bundle in the runtime. I don't see any cons of this approach. If there is any issue,

Re: [Dev] CAS connector doesnt work with federated authenticators.

2016-11-02 Thread Kanapriya Kuleswararajan
yes, will check that Kanapriya Kuleswararajan Associate Software Engineer Mobile : - 0774894438 Mail : - kanapr...@wso2.com On Wed, Nov 2, 2016 at 12:16 PM, Malaka Silva wrote: > Hi Kanapriya, > > As we discussed can you further test the reason why federated > authenticators >

Re: [Dev] Query about the management of the Tenant Active and User info

2016-11-02 Thread Fathima Dilhasha
Hi Wenxing, I will answer question #1 for you. You cannot read contents from Registry belonging to the specific tenant, if a tenant is not being activated. You can see this yourself if you login to management console and deactivate an already active tenant. Try to login to the specific tenant

Re: [Dev] Transform an xml with payload factory and xpath

2016-11-02 Thread Jagath Sisirakumara Ariyarathne
Hi Bhathiya, If the number of elements are static, we can use below config. http://service.ws.um.carbon.wso2.org;> $1 $2 http://service.ws.um.carbon.wso2.org"/> http://service.ws.um.carbon.wso2.org"/> Otherwise you

Re: [Dev] UUF based Gadget hot deployment

2016-11-02 Thread Manuranga Perera
Are we sure we want to dynamically add gadgets via UI ? 1) Have we verified that this is a real use-case from product team, because I don't believe it. Let's get the user-stories form the team. 2) Who are going to upload gadgets? Is it developers, then it has to be done though developer tool,

Re: [Dev] Error in processing staging index data in DAS 3.1.0

2016-11-02 Thread Isuru Perera
Hi, H2 usually creates a server when the database is accessed for the first time. I think we first need to understand why the H2 is trying to create the server using port "0". We need to check the source code and see. I also checked Nihla's PC. Only one Java process is running and therefore we

Re: [Dev] CAS connector doesnt work with federated authenticators.

2016-11-02 Thread Harsha Thirimanna
Hi Kanapriya, As explained in online, you have to set the relying party to the authentication request. Basically, you have to test the CAS with federation story that is available OOB, these are not a specific new scenario. *Harsha Thirimanna* Associate Tech Lead | WSO2 Email: hars...@wso2.com

Re: [Dev] WSO2 Committers += Megala Uthayakumar

2016-11-02 Thread Yasima Dewmini
Congratz Megala :) On Wed, Nov 2, 2016 at 11:06 AM, Biruntha Gnaneswaran wrote: > Congratulations Megala. > > Biruntha > > Associate Software Engineer > WSO2 > Email : birun...@wso2.com > Linkedin : https://lk.linkedin.com/in/biruntha > Mobile : +94773718986 > > On Wed, Nov

Re: [Dev] CAS connector doesnt work with federated authenticators.

2016-11-02 Thread Malaka Silva
Hi Kanapriya, As we discussed can you further test the reason why federated authenticators ​ are not supported.​ On Wed, Nov 2, 2016 at 10:38 AM, Malaka Silva wrote: > We can prioritize those use cases on demand. > > On Wed, Nov 2, 2016 at 10:32 AM, Kanapriya Kuleswararajan <

[Dev] UUF based Gadget hot deployment

2016-11-02 Thread Udara Rathnayake
Hi All, We need to come up with the $subject for the new UUF based dashboard feature. All default gadgets will be packaged inside the portal component as fragments. This is enough for the current ESB/API analytics dashboards. Future we have to provision end-user's to upload their custom gadgets