Re: [Dev] [APIManager][BAM] Extensions available for capturing API create, subscribe, life cycle change events in API Manager

2013-06-25 Thread Sameera Jayasoma
+1. One option would be to log these event as audit logs. Thanks, Sameera. On Mon, Jun 24, 2013 at 11:23 PM, Manjula Rathnayake manju...@wso2.comwrote: Hi all, Is the $Subject available in API Manger 1.4? The requirement is to identify API create, publish, subscribe,etc events to be pumped

[Dev] Engineering Dashboard Code review Notes

2013-06-25 Thread Tanya Madurapperuma
Hi all, Following is the summary of the code review for Engineering Dashboard. * Changes in functionality * 1. Ability to Insert the Carbon version for the Redmine projects - Dashboard should be one stop place to update all related information and inserting the Carbon version in the

[Dev] Do we persist the SAML tokens we receive in OAuth2 SAML grant?

2013-06-25 Thread Suresh Attanayaka
Hi, Do we persist those SAML2 tokens or do we have extension points to handle these tokens ? Thanks, -Suresh -- Suresh Attanayake Senior Software Engineer; WSO2 Inc. http://wso2.com/ Blog : http://sureshatt.blogspot.com/ Web : http://www.ssoarcade.com/ Facebook :

Re: [Dev] Do we persist the SAML tokens we receive in OAuth2 SAML grant?

2013-06-25 Thread Prabath Siriwardena
No we do not AFAIK.. Why do you think we need to persist..? Thanks regards, -Prabath On Tue, Jun 25, 2013 at 1:48 PM, Suresh Attanayaka sur...@wso2.com wrote: Hi, Do we persist those SAML2 tokens or do we have extension points to handle these tokens ? Thanks, -Suresh -- Suresh

Re: [Dev] Do we persist the SAML tokens we receive in OAuth2 SAML grant?

2013-06-25 Thread Suresh Attanayaka
Hi, On Tue, Jun 25, 2013 at 1:50 PM, Prabath Siriwardena prab...@wso2.comwrote: No we do not AFAIK.. Why do you think we need to persist..? I'm not saying we should persist them, but if we can have at least extensions to handle those tokens then we can use the information in the tokens in

Re: [Dev] Do we persist the SAML tokens we receive in OAuth2 SAML grant?

2013-06-25 Thread Prabath Siriwardena
+1 Thanks regards, -Prabath On Tue, Jun 25, 2013 at 2:01 PM, Suresh Attanayaka sur...@wso2.com wrote: Hi, On Tue, Jun 25, 2013 at 1:50 PM, Prabath Siriwardena prab...@wso2.comwrote: No we do not AFAIK.. Why do you think we need to persist..? I'm not saying we should persist them,

Re: [Dev] Do we persist the SAML tokens we receive in OAuth2 SAML grant?

2013-06-25 Thread Paul Fremantle
Would there be any security issues in persisting the tokens? e.g. if someone got hold of them? Paul On 25 June 2013 09:31, Suresh Attanayaka sur...@wso2.com wrote: Hi, On Tue, Jun 25, 2013 at 1:50 PM, Prabath Siriwardena prab...@wso2.comwrote: No we do not AFAIK.. Why do you think we

Re: [Dev] Do we persist the SAML tokens we receive in OAuth2 SAML grant?

2013-06-25 Thread Prabath Siriwardena
On Tue, Jun 25, 2013 at 2:04 PM, Paul Fremantle p...@wso2.com wrote: Would there be any security issues in persisting the tokens? e.g. if someone got hold of them? Yes.. persisting tokens would not be good idea.. we can given an extension to handle the token in any custom manner as Suresh

[Dev] Aggregated feature/server feature issues in the p2 generation

2013-06-25 Thread Vijayaratha Vijayasingam
Hi all; There are number of features depend on other feature's server feature module. They use importFeatures in the pom to refer those external dependency features. - eg: importFeatures importFeatureDeforg.wso2.carbon.security.mgt.server/importFeatureDef /importFeatures In such a case, in the

[Dev] What is proper permission for accessing listServices method in ServiceAdmin

2013-06-25 Thread Asela Pathberiya
Hi all, In service.xml of ServiceAdmin, it has been defined as follows. operation name=listServices parameter name=DoAuthorization locked=truefalse/parameter parameter name=DoAuthentication locked=truefalse/parameter /operation But DoAuthorization

Re: [Dev] What is proper permission for accessing listServices method in ServiceAdmin

2013-06-25 Thread Supun Malinga
Hi, On Tue, Jun 25, 2013 at 2:42 PM, Asela Pathberiya as...@wso2.com wrote: Hi all, In service.xml of ServiceAdmin, it has been defined as follows. operation name=listServices parameter name=DoAuthorization locked=truefalse/parameter parameter

Re: [Dev] What is proper permission for accessing listServices method in ServiceAdmin

2013-06-25 Thread Asela Pathberiya
On Tue, Jun 25, 2013 at 2:45 PM, Supun Malinga sup...@wso2.com wrote: Hi, On Tue, Jun 25, 2013 at 2:42 PM, Asela Pathberiya as...@wso2.com wrote: Hi all, In service.xml of ServiceAdmin, it has been defined as follows. operation name=listServices parameter

Re: [Dev] ESB pack built from trunk startup failure

2013-06-25 Thread Suresh Attanayaka
HI Pradeep, On Wed, Jun 19, 2013 at 10:49 AM, Pradeep Fernando prad...@wso2.com wrote: Hi all, see whether you have this file[1] inside your conf dir. [1] https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/distribution/kernel/carbon-home/repository/conf/bundle-config Why have we moved

Re: [Dev] ESB pack built from trunk startup failure

2013-06-25 Thread Shelan Perera
Hi Suresh, supporting config files for 3rd party jars This thread has the information for the change. Thanks On Tue, Jun 25, 2013 at 6:23 PM, Suresh Attanayaka sur...@wso2.com wrote: HI Pradeep, On Wed, Jun 19, 2013 at 10:49 AM, Pradeep Fernando prad...@wso2.comwrote: Hi all, see

Re: [Dev] supporting config files for 3rd party jars

2013-06-25 Thread Suresh Attanayaka
Hi Pradeep, On Sun, Jun 16, 2013 at 12:46 AM, Pradeep Fernando prad...@wso2.com wrote: Hi, I implemented the $subject. Little complication. log4j.properties file also belongs to the above category. the log4j.properties file goes in to

[Dev] SAML2 SSO based login fails with IS-4.5.0-M4 as IdP and ESB-4.7 as service provider

2013-06-25 Thread Charitha Kankanamge
I was trying to configure SSO with IS-4.5.0-M4 as IdP and ESB-4.7 latest QA build as the service provider. When trying to login to ESB through the SSO page, I got the following error in ESB console. [2013-06-25 19:11:50,006] ERROR - SSOAssertionConsumerService Error when processing the SAML

Re: [Dev] SAML2 SSO based login fails with IS-4.5.0-M4 as IdP and ESB-4.7 as service provider

2013-06-25 Thread Prabath Siriwardena
Looks like fixes for authenticators not in Carbon 4.1.0 ? Sent from my mobile device On Jun 25, 2013, at 7:26 PM, Charitha Kankanamge chari...@wso2.com wrote: I was trying to configure SSO with IS-4.5.0-M4 as IdP and ESB-4.7 latest QA build as the service provider. When trying to login to

[Dev] Intercepting responses through a Tomcat Valve

2013-06-25 Thread Nuwan Dias
Hi, As a part of getting API Management into the platform, we have used a tomcat valve to intercept incoming service requests and perform API Management functionalities. We are currently doing this for the GREG's REST API. The problem we're facing now is that although the request can be

Re: [Dev] Intercepting responses through a Tomcat Valve

2013-06-25 Thread Afkham Azeez
The response comes back through the same valve; within a valve's invoke method, you normally call the invoke method of the next valve as follows: getNext().invoke(request, response); That is how valve chaining works. So, soon after the getNext().invoke(request, response); line, you can get hold

[Dev] Entitlement mediator for REST services

2013-06-25 Thread Eranda Sooriyabandara
Hi all, Is $subject working? I had some problem with it today and after I use SOAP it worked. thanks Eranda -- *Eranda Sooriyabandara *Senior Software Engineer; Integration Technologies Team; WSO2 Inc.; http://wso2.com Lean . Enterprise . Middleware E-mail: eranda AT wso2.com Mobile: +94 716

Re: [Dev] Entitlement mediator for REST services

2013-06-25 Thread Lahiru Sandaruwan
It should not be. Are you trying the case where incoming and outgoing requests are Rest to the proxy? Thanks. On Tue, Jun 25, 2013 at 11:59 PM, Eranda Sooriyabandara era...@wso2.comwrote: Hi all, Is $subject working? I had some problem with it today and after I use SOAP it worked. thanks

[Dev] BAM 2.4.0 Milestone Plan

2013-06-25 Thread Anjana Fernando
Hi, Below contains the milestone plan for BAM 2.4.0 release. M1 - 12'th July === * Annotation scheme for Hive scripts * Ship BAM Publisher library with the product * Add timestamp support for Cassandra and JDBC Hive Storage Handlers * Improve BAM Tolbox deployment * JMX Monitoring

Re: [Dev] BAM 2.4.0 Milestone Plan

2013-06-25 Thread Nuwan Bandara
Hi Anjana, I ideally this should go to Jira and RM (if not already), you can link back here :) Regards, /Nuwan On Wed, Jun 26, 2013 at 9:22 AM, Anjana Fernando anj...@wso2.com wrote: Hi, Below contains the milestone plan for BAM 2.4.0 release. M1 - 12'th July === * Annotation

Re: [Dev] BAM 2.4.0 Milestone Plan

2013-06-25 Thread Anjana Fernando
Hi Nuwan, Oh yeah I see :) .. I'm updating the RM now .. didn't check JIRA yet .. basically the individual issues are not created there yet. I thought we are suppose to define them when we are actually doing the items. Cheers, Anjana. On Wed, Jun 26, 2013 at 9:36 AM, Nuwan Bandara

Re: [Dev] Intercepting responses through a Tomcat Valve

2013-06-25 Thread Nuwan Dias
Hi Azeez, This [1] is the valve implementation we're using right now and this [2] is how we register it. Where does the getNext() method reside? I don't see how it could inherit into the valve we're using right now. And also, the invoke() method has a void return, so even if we use that, how are

Re: [Dev] Intercepting responses through a Tomcat Valve

2013-06-25 Thread Afkham Azeez
OK, so you are using the Carbon valve abstraction, and there it is not the valve that handles the chaining, but carbon.tomcat.ext.valves.CompositeValve takes care of invoking each of the valves separately. So I think what you would need to do is implement a Tomcat valve, and register it in the

Re: [Dev] BAM 2.4.0 Milestone Plan

2013-06-25 Thread Pradeep Fernando
Hi Anjana, I can't see any tasks related to BAM dashboard improvements in the given milestone plan. We raised some concerns regarding the component @Arch list sometime back. Are we going to ditch it altogether and move forward with UES ? Then it is fine... --Pradeep On Wed, Jun 26, 2013 at

Re: [Dev] BAM 2.4.0 Milestone Plan

2013-06-25 Thread Amila Suriarachchi
On Wed, Jun 26, 2013 at 11:00 AM, Pradeep Fernando prad...@wso2.com wrote: Hi Anjana, I can't see any tasks related to BAM dashboard improvements in the given milestone plan. We raised some concerns regarding the component @Arch list sometime back. Are we going to ditch it altogether and

Re: [Dev] BAM 2.4.0 Milestone Plan

2013-06-25 Thread Anjana Fernando
Hi Amila, Pradeep, Yeah, we are doing to integrate UES to this release. Chamath is working on it. Sorry, I thought I'd the Redmine issue there, seems somehow I've missed it. I will update the schedule accordingly, thank you for pointing it out. Cheers, Anjana. On Wed, Jun 26, 2013 at 11:04 AM,

Re: [Dev] BAM 2.4.0 Milestone Plan

2013-06-25 Thread Amila Suriarachchi
On Wed, Jun 26, 2013 at 11:06 AM, Anjana Fernando anj...@wso2.com wrote: Hi Amila, Pradeep, Yeah, we are doing to integrate UES to this release. Chamath is working on it. Sorry, I thought I'd the Redmine issue there, seems somehow I've missed it. I will update the schedule accordingly, thank

Re: [Dev] BAM 2.4.0 Milestone Plan

2013-06-25 Thread Pradeep Fernando
Hi Anjana, Are we removing BAM dashboard jaggery app from the next release onwards ? On Wed, Jun 26, 2013 at 11:08 AM, Amila Suriarachchi am...@wso2.com wrote: On Wed, Jun 26, 2013 at 11:06 AM, Anjana Fernando anj...@wso2.com wrote: Hi Amila, Pradeep, Yeah, we are doing to integrate

Re: [Dev] BAM 2.4.0 Milestone Plan

2013-06-25 Thread Anjana Fernando
Hi Pradeep, On Wed, Jun 26, 2013 at 11:10 AM, Pradeep Fernando prad...@wso2.com wrote: Hi Anjana, Are we removing BAM dashboard jaggery app from the next release onwards ? Yes, we are. Also, I've now added the item Integrate UES with BAM for Dashboard Support to be done in M1. Cheers,

Re: [Dev] BAM 2.4.0 Milestone Plan

2013-06-25 Thread Sagara Gunathunga
On Wed, Jun 26, 2013 at 9:22 AM, Anjana Fernando anj...@wso2.com wrote: Hi, Below contains the milestone plan for BAM 2.4.0 release. M1 - 12'th July === * Annotation scheme for Hive scripts * Ship BAM Publisher library with the product * Add timestamp support for Cassandra and

[Dev] A mediator to manage resources in registry?

2013-06-25 Thread Lahiru Sandaruwan
Hi, Do we have $subject ? If not, is it good idea to have one? Like registry mediator :) I understand that the idea is not matching a lot as we store defined configs there. Asked because of [1]. [1] http://stackoverflow.com/questions/17291781/how-to-update-the-files-saved-in-registry Thanks.

Re: [Dev] BAM 2.4.0 Milestone Plan

2013-06-25 Thread Anjana Fernando
Hi Sagara, On Wed, Jun 26, 2013 at 11:16 AM, Sagara Gunathunga sag...@wso2.com wrote: * Data Agent for Servlet Containers Can you explain plan for above item ? whether you write Container specific agent or something common ? It will be something common, to be used with any servlet

Re: [Dev] A mediator to manage resources in registry?

2013-06-25 Thread Miyuru Wanninayaka
There is no builtin mediator for this. But you can write a class mediator to do registry manipulation by getting reference to registry service via osgi. On Wed, Jun 26, 2013 at 11:22 AM, Lahiru Sandaruwan lahi...@wso2.comwrote: Hi, Do we have $subject ? If not, is it good idea to have one?

Re: [Dev] BAM 2.4.0 Milestone Plan

2013-06-25 Thread Sagara Gunathunga
On Wed, Jun 26, 2013 at 11:24 AM, Anjana Fernando anj...@wso2.com wrote: Hi Sagara, On Wed, Jun 26, 2013 at 11:16 AM, Sagara Gunathunga sag...@wso2.comwrote: * Data Agent for Servlet Containers Can you explain plan for above item ? whether you write Container specific agent or