Re: [Dev] [GSOC 2017][API Manager][Environment Support]

2017-07-26 Thread Pubudu Gunatilaka
Hi, Will merge the PR. @Ravindu: In the first window, when there are multiple environments, please select one of the environments as the default rather than asking the user to select an environment. Thank you! On Thu, Jul 27, 2017 at 8:09 AM, Prasanna Dangalla wrote: > Hi

Re: [Dev] Issues in the Admin API WSDL Files

2017-07-26 Thread Sagar Kapadia
Thanks, what I meant was without using UserAdminStub or other already provided classes. What I was asking was is it necessary to generate the stubs, or are they already available? You answered that question. If the stubs provided cover all the services, there is no need to generate the stubs ,

Re: [Dev] (IDENTITY-6167) Need to honor modifications to email-admin-config.xml file

2017-07-26 Thread Harsha Thirimanna
On Thu, Jul 27, 2017 at 9:41 AM, KasunG Gajasinghe wrote: > > > On Wed, Jul 26, 2017 at 10:39 PM, Harsha Thirimanna > wrote: > >> >> On Wed, Jul 26, 2017 at 9:31 PM, KasunG Gajasinghe >> wrote: >> >>> >>> >>> On Wed, Jul 26, 2017 at 9:07 PM,

Re: [Dev] (IDENTITY-6167) Need to honor modifications to email-admin-config.xml file

2017-07-26 Thread KasunG Gajasinghe
On Wed, Jul 26, 2017 at 10:39 PM, Harsha Thirimanna wrote: > > On Wed, Jul 26, 2017 at 9:31 PM, KasunG Gajasinghe > wrote: > >> >> >> On Wed, Jul 26, 2017 at 9:07 PM, Johann Nallathamby >> wrote: >> >>> >>> >>> On Wed, Jul 26, 2017 at 8:58

[Dev] [VOTE] Release of WSO2 IoT Server 3.1.0 RC version 3

2017-07-26 Thread Madhawa Perera
Hi Devs, We are pleased to announce the release candidate version 3 of WSO2 IoT Server 3.1.0. Please download, test the product and vote. Vote will be open for 72 hours or as needed. Known issues : https://github.com/wso2/product-iots/issues?q=is% 3Aopen+is%3Aissue+label%3A3.1.0-RC1 Source and

Re: [Dev] [GSOC 2017][API Manager][Environment Support]

2017-07-26 Thread Prasanna Dangalla
Hi Ravindu, I have approved the PR. Now Pubudu can proceed and merge it. Regards *Prasanna Dangalla* Senior Software Engineer, WSO2, Inc.; http://wso2.com/ lean.enterprise.middleware *cell: +94 718 11 27 51* *twitter: @prasa77* On Thu, Jul 27, 2017 at 12:53 AM, Ravindu Perera

[Dev] [IS] How to disable wso2is SSO session cache

2017-07-26 Thread Dean Staples
Hi All, Currently I've configured wso2is 5.1.0 to act as our identity framework with SAML 2.0 interfaces on the SP and IDP sides. While testing we found that we can successfully authenticate however wso2is will cache the SAML assertion between our SP and wso2is even if the IDP assertion is

Re: [Dev] [IS] Issue with prioritizing session time out period configuration

2017-07-26 Thread Hasintha Indrajee
To me logic is like this. Session is maintained using commonAuthId cookie (not from samlssoTokenId). Usually we do not configure a max age value for commonAuthID through Identity.xml. Therefore the value which we configure through resident idp will be taken as the timeout (session idle timeout or

[Dev] [GSOC 2017][API Manager][Environment Support]

2017-07-26 Thread Ravindu Perera
Hi This mail is regarding the pull request , i have done the changes which was mentioned yesterday and please approve it . Thank you . Ravindu Perera ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] [GSOC 2017][API Manager][Environment Support][Meeting Minutes]

2017-07-26 Thread Ravindu Perera
The Meeting Minutes - Discussed on what needed to be done , in the next few stages of the project such as the seamless move from one environment to another . - Created new milestones and deadlines , which are needed to be fulfilled at time. - Discussed on some drawback and error

Re: [Dev] Problems with EventStreamAdminService

2017-07-26 Thread Sagar Kapadia
Perhaps I was not very clear. What I meant was generating the stubs using the WSDL2JAVA tool to generate code from the WSDL files as specified in the documentation, and not building from source On Thu, Jul 27, 2017 at 12:12 AM, KasunG Gajasinghe wrote: > > OK. You can

Re: [Dev] Problems with EventStreamAdminService

2017-07-26 Thread KasunG Gajasinghe
OK. You can generate the stubs on your own or use the already generated stubs. https://github.com/wso2/carbon-identity-framework/tree/master/service-stubs/identity/org.wso2.carbon.user.mgt.stub On Thu, Jul 27, 2017 at 12:05 AM, Sagar Kapadia wrote: > Thanks, > I figured

Re: [Dev] Problems with EventStreamAdminService

2017-07-26 Thread Sagar Kapadia
Thanks, I figured that out. What I was asking [Now its just a curiosity], is that , I had generated stubs using wsdl2java. How do I pass the session token to that code The following is a usage of the generated code. I used the netbeans web service client wizard to generate the code. private

Re: [Dev] Problems with EventStreamAdminService

2017-07-26 Thread KasunG Gajasinghe
You can check this class [1] on how the AuthenticationAdminStub is used to login to WSO2. It also shows how to extract the session cookie. The sample at [2] shows how to add the session cookie to your stub. HTH [1]

Re: [Dev] Issues in the Admin API WSDL Files

2017-07-26 Thread KasunG Gajasinghe
wsimport is used to generate the JAX-WS service clients. But the generated client stubs are already available for all the admin services of WSO2. I suggest you use them. These work over Axis2 SOAP engine. On Wed, Jul 26, 2017 at 11:49 PM, KasunG Gajasinghe wrote: > > If you

Re: [Dev] Issues in the Admin API WSDL Files

2017-07-26 Thread KasunG Gajasinghe
If you are trying to invoke via Java, then you can check the existing usage of UserAdminStub class here [1]. These admin services are already used by the mgt console UI to invoke the back-end services. A trick I used to capture the soap envelope is the following. This does not work all the time.

Re: [Dev] Problems with EventStreamAdminService

2017-07-26 Thread Sagar Kapadia
Can you also help me with the authentication part? I get a blank session id On Wed, Jul 26, 2017 at 11:43 PM, Sagar Kapadia wrote: > Hi, > Thanks a lot , KasunG Gajasinghe. You made my day. :D. It worked. > Sagar > > > On Wed, Jul 26, 2017 at 11:40 PM, KasunG Gajasinghe

Re: [Dev] Problems with EventStreamAdminService

2017-07-26 Thread Sagar Kapadia
Hi, Thanks a lot , KasunG Gajasinghe. You made my day. :D. It worked. Sagar On Wed, Jul 26, 2017 at 11:40 PM, KasunG Gajasinghe wrote: > > > On Wed, Jul 26, 2017 at 11:34 PM, Sagar Kapadia > wrote: > >> I am trying to call a method in the

Re: [Dev] Problems with EventStreamAdminService

2017-07-26 Thread KasunG Gajasinghe
On Wed, Jul 26, 2017 at 11:34 PM, Sagar Kapadia wrote: > I am trying to call a method in the EventStreamAdminService. However, I > get the following exception. I tried to fix the wsdl and recreate the jar, > but because of the compiled classes containing a reference to

[Dev] Problems with EventStreamAdminService

2017-07-26 Thread Sagar Kapadia
I am trying to call a method in the EventStreamAdminService. However, I get the following exception. I tried to fix the wsdl and recreate the jar, but because of the compiled classes containing a reference to 10.100.1.144, it did not work either. What is the work around? Do I have to rebuild the

[Dev] (IDENTITY-6168) Ambiguous code segment

2017-07-26 Thread KasunG Gajasinghe
Hi, The #replace operations pointed in this jira are actually a no-ops since the original string and the replacement string are the same! @Indunil, it seems above code segment was introduced by the following commit. Can you enlighten the reason for this?

Re: [Dev] Issues in the Admin API WSDL Files

2017-07-26 Thread Sagar Kapadia
Hi I have another question. Is there a need to generate stubs for services, given that stubs for services are present? I could not find a way to pass the token to generated web service stubs. However, I figured out how to use the stubs themselves UserAdminStub s=new UserAdminStub();

Re: [Dev] (IDENTITY-6167) Need to honor modifications to email-admin-config.xml file

2017-07-26 Thread Harsha Thirimanna
On Wed, Jul 26, 2017 at 9:31 PM, KasunG Gajasinghe wrote: > > > On Wed, Jul 26, 2017 at 9:07 PM, Johann Nallathamby > wrote: > >> >> >> On Wed, Jul 26, 2017 at 8:58 PM, Harsha Thirimanna >> wrote: >> >>> Hi All, >>> >>> I think we feel like

Re: [Dev] (IDENTITY-6167) Need to honor modifications to email-admin-config.xml file

2017-07-26 Thread KasunG Gajasinghe
On Wed, Jul 26, 2017 at 9:07 PM, Johann Nallathamby wrote: > > > On Wed, Jul 26, 2017 at 8:58 PM, Harsha Thirimanna > wrote: > >> Hi All, >> >> I think we feel like both pros and cons because of these data file are >> located under the configurations. These

Re: [Dev] (IDENTITY-6167) Need to honor modifications to email-admin-config.xml file

2017-07-26 Thread Johann Nallathamby
On Wed, Jul 26, 2017 at 8:58 PM, Harsha Thirimanna wrote: > Hi All, > > I think we feel like both pros and cons because of these data file are > located under the configurations. These are not actually config files and > as Kasun said if these are under the config folder then

Re: [Dev] (IDENTITY-6167) Need to honor modifications to email-admin-config.xml file

2017-07-26 Thread Harsha Thirimanna
Hi All, I think we feel like both pros and cons because of these data file are located under the configurations. These are not actually config files and as Kasun said if these are under the config folder then anyone can feel to change and expect the changes in system after restarting. And same as

[Dev] [IS] Issue with prioritizing session time out period configuration

2017-07-26 Thread Sathya Bandara
Hi all, In the current implementation we can configure the session time out for the Identity Server via the resident realm configuration (Idle Session Time Out). In addition, with the following configuration in identity.xml we can specify a maxAge parameter on cookies in order to configure the

[Dev] [Cipher Tool][WIndows] CARBON_HOME persists after ciphertool.bat execution

2017-07-26 Thread Manuri Amaya Perera
Hi, Since $subject, if cipher tool is run on another server in the same environment, the passwords of that server will not be encrypted. I've sent a PR[1] to set environment variables locally to avoid this. Please review and merge. Please kindly consider releasing cipher tool with the fix for

Re: [Dev] (IDENTITY-6167) Need to honor modifications to email-admin-config.xml file

2017-07-26 Thread KasunG Gajasinghe
Hi Johann, On Wed, Jul 26, 2017 at 3:22 PM, Farasath Ahamed wrote: > Hi, > > email-admin-config.xml has the default email templates that are used for > Email notifications. > Since we have a UI to add/update new Email templates I don't think the > user has to go to the

Re: [Dev] Error while run the connector integrationTest

2017-07-26 Thread Rajjaz Mohammed
Hi All, I can able solve this issue by reducing the synapse version to 2.1.3-wso2v11[1] from 3.0.0[2]. [1]2.1.3-wso2v11 [2]3.0.0 On Wed, Jul 26, 2017 at 2:06 PM, Rajjaz Mohammed wrote: > Hi all, > I got the following error when I tried to run the integration test for JMS >

Re: [Dev] (IDENTITY-6167) Need to honor modifications to email-admin-config.xml file

2017-07-26 Thread Farasath Ahamed
Hi, email-admin-config.xml has the default email templates that are used for Email notifications. Since we have a UI to add/update new Email templates I don't think the user has to go to the registry and do any modifications. Thanks, Farasath Farasath Ahamed Software Engineer, WSO2 Inc.;

Re: [Dev] [MSF4J] Custom Interceptors in MSF4J 2.1.0

2017-07-26 Thread Thusitha Thilina Dayaratne
Hi Isuranga, > > > If I'm not mistaken unlike standalone mode, msf4j OSGI mode uses one > MicroserviceRunner for all micro services. In that case if I'm to start a > new MicroserviceRegistry then It should be under a separate port number > and that way I can add resource group specific

[Dev] Error while run the connector integrationTest

2017-07-26 Thread Rajjaz Mohammed
Hi all, I got the following error when I tried to run the integration test for JMS connector. Any idea? [2017-07-26 13:56:13,708] INFO {org.apache.axis2.deployment.ModuleDeployer} - Deploying module: pagination-4.2.0 -

Re: [Dev] [MSF4J] Custom Interceptors in MSF4J 2.1.0

2017-07-26 Thread Isuranga Perera
Hi Thusitha, Thanks Thusith. If I'm not mistaken unlike standalone mode, msf4j OSGI mode uses one MicroserviceRunner for all micro services. In that case if I'm to start a new MicroserviceRegistry then It should be under a separate port number and that way I can add resource group specific

[Dev] (IDENTITY-6167) Need to honor modifications to email-admin-config.xml file

2017-07-26 Thread Johann Nallathamby
Hi Kasun, I don't think we need to do this because, 1. This is the model we follow for some other files as well. claim-config.xml identity-event.properties 2. This content goes not only to the super tenant but also to tenants as default email templates. So if we change it in the middle tenants