Re: [Dev] Issue in carbon-uuf-common feature

2017-01-05 Thread SajithAR Ariyarathna
This is due to the changes introduced bu the UUF Maven plugin 1.0.0-m9
version [1]. Current UUF Core is only compatible with UUF Maven plugin
1.0.0-m9, but the uuf-commons is still on 1.0.0-m6 version.

We are in the process of releasing carbon-uuf-common 1.0.0-m1 and
carbon-uuf 1.0.0-m9 on top of UUF Maven plugin 1.0.0-m9 version.

[1] https://github.com/wso2/carbon-uuf-maven-tools/releases/tag/v1.0.0-m9

On Fri, Jan 6, 2017 at 9:29 AM, KasunG Gajasinghe  wrote:

> Hi Sajith,
>
> With the latest changes to carbon-uuf repo, we cannot seem to build
> product-is. We fixed most of the issues, but we are now getting the
> following error.
>
> It seems carbon-uuf-common [1] is not up-to-date with the changes to
> carbon-uuf, but I may be wrong. It still has config.yaml but no app.yaml
> nor component.yaml. Can you please have a look?
>
> [ERROR] Failed to execute goal org.wso2.carbon.uuf.maven:
> carbon-uuf-maven-plugin:1.0.0-m9:create-app (create) on project
> org.wso2.carbon.iam.user-portal.feature: Cannot create final
> configuration for {org.wso2.carbon.iam.user-portal.feature,
> 6.0.0-SNAPSHOT}. *Cannot parse 'component.yaml' of
> {org.wso2.carbon.uuf.common.foundation, 1.0.0-SNAPSHOT}* which read from
> '/Users/kasun/wso2/checkouts/git-repos/product-is/portal/
> apps/org.wso2.carbon.iam.user-portal.app/target/maven-
> shared-archive-resources/uufapps/org.wso2.carbon.iam.
> user-portal/components/foundation/component.yaml' path. Mandatory
> configuration file '/Users/kasun/wso2/checkouts/
> git-repos/product-is/portal/apps/org.wso2.carbon.iam.user-
> portal.app/target/maven-shared-archive-resources/
> uufapps/org.wso2.carbon.iam.user-portal/components/foundation/component.yaml'
> does not exists. -> [Help 1]
>
> [1] https://github.com/wso2/carbon-uuf-common
>
> Thanks,
> KasunG
>
> --
>
> *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
> phone: +1 650-745-4499 <(650)%20745-4499>, 77 678 0813
>
>



-- 
Sajith Janaprasad Ariyarathna
Software Engineer; WSO2, Inc.;  http://wso2.com/

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


Re: [Dev] Wso2 carbon identity server

2017-01-05 Thread Isura Karunaratne
Hi,

Currently, ask password option for new rest based design is not available
in Management console. It will be available in Future releases [1].

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

Thanks
Isura.


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




On Tue, Jan 3, 2017 at 9:13 PM, Koné Alioune Badara <
kon...@etna-alternance.net> wrote:

> Hi,
>
> Thank you for your answer, is the Rest based AskPassword will be enable
> through the management console, if yes when willl that be?
>
> Regards.
>
> 2017-01-03 16:37 GMT+01:00 Isura Karunaratne :
>
>> Hi kone,
>>
>> There are two ways to support Ask Password feature in IS 5.3.0. You can
>> follow [1] for more details.
>>
>>
>> If you are using old method (SOAP based) the confirmation codes are
>> stored in the registry in  "/_system/config/repository/c
>> omponents/org.wso2.carbon.identity.mgt/data"  location.
>>
>> If you are using the new method (Rest based) the confirmation codes are
>> stored in the IDN_RECOVERY_DATA table.
>>
>> In the self-signup scenario, the email field is a mandatory field. The
>> user needs to fill email address.
>>
>>
>> [1] https://docs.wso2.com/display/IS530/Creating+Users+using
>> +the+Ask+Password+Option#CreatingUsersusingtheAskPasswordOpt
>> ion-UsingtheRESTAPI
>> Thanks
>> Isura.
>>
>>
>> *Isura Dilhara Karunaratne*
>> Senior Software Engineer | WSO2
>> Email: is...@wso2.com
>> Mob : +94 772 254 810 <+94%2077%20225%204810>
>> Blog : http://isurad.blogspot.com/
>>
>>
>>
>>
>> On Thu, Dec 22, 2016 at 9:50 PM, Koné Alioune Badara <
>> kon...@etna-alternance.net> wrote:
>>
>>> Hi,
>>>
>>> I have a question on the wso2 Identity Server product, when you create
>>> user via the Ask password or The self sign up features,  in which table of
>>> the database are stocked the confirmation's code?
>>>
>>> In the Self sign up case, how do you fill in the email which will be
>>> used to send the link to confirm?
>>>
>>> Note: I'm using the 5.3.0-beta.
>>>
>>> Regards
>>>
>>> Alioune B KONÉ.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> Cordialement,
>
> Alioune B KONÉ.
> MASTER ETNA 2016.
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [VOTE] Release WSO2 Identity Server 5.3.0- RC2

2017-01-05 Thread Darshana Gunawardana
Hi all,

We have decided to call off the RC2 vote since we had to redo some some
policy templates shipping with the product.

Thanks,

On Wed, Jan 4, 2017 at 10:09 PM, Pulasthi Mahawithana 
wrote:

> Hi All,
>
> This is the 2nd Release Candidate of WSO2 Identity Server 5.3.0.
>
> Please download, test the product and vote. Vote will be open for 72 hours
> or as needed.
>
> This release fixes the following issues:
>
> Runtime : https://wso2.org/jira/issues/?filter=13612
> Analytics : https://wso2.org/jira/issues/?filter=13614
>
> Source and distribution
>
> Run-time   : https://github.com/wso2/prod
> uct-is/releases/tag/v5.3.0-rc2
> Analytics   : https://github.com/wso2/anal
> ytics-is/releases/tag/v5.3.0-rc2
>
> Please vote as follows.
> [+] Stable - go ahead and release
> [-] Broken - do not release (explain why)
>
> Thanks,
> - WSO2 Identity Server Team -
>
> --
> *Pulasthi Mahawithana*
> Senior Software Engineer
> WSO2 Inc., http://wso2.com/
> Mobile: +94-71-5179022 <+94%2071%20517%209022>
> Blog: http://blog.pulasthi.org
>
> 
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Regards,


*Darshana Gunawardana*Associate Technical Lead
WSO2 Inc.; http://wso2.com

*E-mail: darsh...@wso2.com *
*Mobile: +94718566859*Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Issue in carbon-uuf-common feature

2017-01-05 Thread KasunG Gajasinghe
Hi Sajith,

With the latest changes to carbon-uuf repo, we cannot seem to build
product-is. We fixed most of the issues, but we are now getting the
following error.

It seems carbon-uuf-common [1] is not up-to-date with the changes to
carbon-uuf, but I may be wrong. It still has config.yaml but no app.yaml
nor component.yaml. Can you please have a look?

[ERROR] Failed to execute goal
org.wso2.carbon.uuf.maven:carbon-uuf-maven-plugin:1.0.0-m9:create-app
(create) on project org.wso2.carbon.iam.user-portal.feature: Cannot create
final configuration for {org.wso2.carbon.iam.user-portal.feature,
6.0.0-SNAPSHOT}. *Cannot parse 'component.yaml' of
{org.wso2.carbon.uuf.common.foundation, 1.0.0-SNAPSHOT}* which read from
'/Users/kasun/wso2/checkouts/git-repos/product-is/portal/apps/org.wso2.carbon.iam.user-portal.app/target/maven-shared-archive-resources/uufapps/org.wso2.carbon.iam.user-portal/components/foundation/component.yaml'
path. Mandatory configuration file
'/Users/kasun/wso2/checkouts/git-repos/product-is/portal/apps/org.wso2.carbon.iam.user-portal.app/target/maven-shared-archive-resources/uufapps/org.wso2.carbon.iam.user-portal/components/foundation/component.yaml'
does not exists. -> [Help 1]

[1] https://github.com/wso2/carbon-uuf-common

Thanks,
KasunG

-- 

*Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
phone: +1 650-745-4499, 77 678 0813
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [WSO2 IS] Is it possible to make it a microservice?

2017-01-05 Thread Prabath Siriwardena
What is the scope of the microservice you are looking at...?

Thanks & regards,
-Prabath

On Thu, Jan 5, 2017 at 7:15 AM, Hanen Ben Rhouma  wrote:

> Hi,
>
> Is it possible to transform WSO2 IS into a microservice?
>
>
>
> Regards,
> Hanen
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks & Regards,
Prabath

Twitter : @prabath
LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

Mobile : +1 650 625 7950

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


Re: [Dev] [UUF] [IS] Invoke an OSGI service from a client side JS

2017-01-05 Thread Indunil Upeksha Rathnayake
Hi Sajith,

Thanks for your reply. That cater the requirement.

Best Regards

On Thu, Jan 5, 2017 at 10:07 AM, SajithAR Ariyarathna 
wrote:

> Hi Indunil,
>
> Can you explain your exact requirement? Seems that what you want to do is,
> save some data (obtained in a HTML form) using an OSGi service in a form
> POST submit.
>
> If so, then you can do this in the onRequest function. Don't specify any
> 'action' for your HTML form, so when you submit it the POST request goes to
> the same page (URL). In the onRequest function of your page, you can
> check whether the request is a POST or not with env.request.method ==
> "POST" condition. If that condition is true, then you can extract POST
> parameters from the request and call the desired OSGi service.
>
> e.g.
>
> function onRequest(env) {
> if (env.request.method == "POST") {
> // this is a POST request, so lets call the OSGi service
> callOSGiService("org.wso2.Foo", "barMethod", ["some", "parameters"]);
> // more stuff you want to do ...
> }
> }
>
> Please refer the file upload sample [1][2] in the "Feature App" sample
> (URL https://localhost:9292/Features-app/file-upload).
>
> [1] https://github.com/wso2/carbon-uuf/blob/v1.0.0-m7/
> samples/apps/org.wso2.carbon.uuf.sample.features-app/src/
> main/pages/file-upload.js
> [2] https://github.com/wso2/carbon-uuf/blob/v1.0.0-m7/
> samples/apps/org.wso2.carbon.uuf.sample.features-app/src/
> main/pages/file-upload.hbs
>
> Thanks.
>
>
> On Thu, Jan 5, 2017 at 9:41 AM, Indunil Upeksha Rathnayake <
> indu...@wso2.com> wrote:
>
>> Hi,
>>
>> As mentioned in the Web App Developer’s Guide for Unified UI Framework
>> [1], "callOSGiService" is a function call of a server side JS API. So that
>> AFAIK, that can't be called from JS files in the public folder, where
>> client side logic resides.
>> I have requirement to call an OSGI service from a client side JS. Is it a
>> way to do that using UUF?
>>
>> Following are the steps of the exact requirement.
>>
>>1. Invoke an OSGI service in onRequest() and will be filled the
>>content of .hbs from the value returned in onRequest().
>>2. Have a "submit" button in .hbs, where the onClick function is been
>>implemented in a JS resides in the "public" folder.
>>3. Inside the onClick function, need to call another OSGI service.
>>
>> Without implementing the onClick function in "public" folder, is there
>> any other way to achieve that and call the OSGI service?
>>
>>
>> And I would like to know how the "module" function works? Is that cater
>> our requirement? Included module will be executed before the onRequest()
>> method or after? Please share if there are any sample using the module
>> function.
>>
>> [1] https://docs.google.com/document/d/10UDdArHV1eYEfiONu8saqPnn
>> JyUjH3vxOrv0k0rK5hc/edit#
>>
>> Thanks and Regards
>> --
>> Indunil Upeksha Rathnayake
>> Software Engineer | WSO2 Inc
>> Emailindu...@wso2.com
>> Mobile   0772182255
>>
>
>
>
> --
> Sajith Janaprasad Ariyarathna
> Software Engineer; WSO2, Inc.;  http://wso2.com/
> 
>



-- 
Indunil Upeksha Rathnayake
Software Engineer | WSO2 Inc
Emailindu...@wso2.com
Mobile   0772182255
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Proper using of andes-client.jar

2017-01-05 Thread Michael Rellstab
Hi Devs

Since several days I'm trying to build a proper application, using the 
andes-client.jar. Because I'm not so deep familiar with all this packaging 
mechanisms, classloader in WebContainer/ApplicationServer and library 
conflicts, I want to ask you Devs directly and hope to get some hints from some 
of you.


What I need to do:

For a customer I need to implement a WSO2 client into our software for 
connecting to a WSO2 MessageBroker.


What I've done:

I've downloaded the WSO2 Message Broker 3.1.0 and installed it on a virtual 
machine. According to the 'Samples' documentation of the MB, I copied the 
andes-client-3.1.1.jar into our application. Everything works fine so far. I 
can connect to the Message Broker and can read the sent messages.


My environment:

At the moment I'm using a WildFly 10 application server (we will switch back to 
a simple servlet container like Tomcat in near future. For that reason we have 
prepared our deployment to have only a .war file. No .ear files anymore). But 
for now, I've created a server module for activating the andes-client. 
Activating and using of this 'WSO2' module works perfectly together with my MB 
virtual machine.


My problem:

Connecting to a WSO2 MB is just a small part of our software. Another small 
part of our application is connecting to a directory server (LDAP, a.s.o.) For 
doing that, I use the Apache's directory api. And here my problem begins...

Apache's directory api uses the Apache mina artifact (version 2.0.9). The 
artifact is referenced through a maven dependency.

Your andes-client-3.1.1.jar bundle includes the Apache's mina package in 
version 1.1.7.


The package structure and class naming of the different mina versions seems to 
be completely incompatible, so each artifact (andes-client and directory) needs 
the coresponding mina version. Otherwise those artifacts does not work proper.


What do you recommend me to solve this problem? Could you give me some hints / 
key points, how to avoid this library conflicts? I'm not sure if OSGi would be 
the right way (I don't have any knowledge about OSGi and to be honest, the 
documentation is so extremely large that I really don't know where to begin to 
read). Also I thought about relocating the org.apache.mina to 
org.wso2.apache.mina inside the andes-client.jar. Would this be a reasonable 
way? Or is it planned in near future that the mina artifact would be replaced 
with a newer version?


Thank you very much for some hints. I would be glad to hear from you!

If you need more clarifying information from me, feel free to ask


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


[Dev] STS Client sample Doesn't work for Non-repudiation

2017-01-05 Thread Gayan Gunawardana
Steps and sample can be found from [1],[2]. Issue seems to be a problem of
default keystore. When I trace the request and response from tcpmon found
below issue.


*Request*

   http://www.w3.org/2003/05/soap-envelope
">
  http://schemas.xmlsoap.org/ws/2004/08/addressing;>
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd;
soapenv:mustUnderstand="true">
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;
wsu:Id="Timestamp-1">
   2017-01-05T08:35:31.570Z
   2017-01-05T08:40:31.570Z

http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;
EncodingType="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary;
ValueType="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3;
wsu:Id="CertId-F1F5AE821BB8A9B28714836053316591">MIIBlzCCAQCgAwIBAgIEUVqxuDANBgkqhkiG9w0BAQUFADAQMQ4wDAYDVQQDEwVhZG1pbjAeFw0xMzA0MDIxMDIzNTJaFw0xMzA3MDExMDIzNTJaMBAxDjAMBgNVBAMTBWFkbWluMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCTx+Xh1YkBdaeMW36Z0QqR9vmnBAccIH+9rYaMaXV1m5pWUFHsT9utjEX23c4vkJ8O3Hpgh56/BUfzStb09UuONBU6BHVAe3uTDmLE42T3s/OaBsrUq3cPSmLCS8+J65ItdlT4jWjhJHIehyjU+IyvN3IWd63lowWleqk5na4tbQIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAGcrYWf2NvDiG3jnUxYP4cDaMD586xyzk0mROI2VVDpK3oFQn6mqj3wgnjPMq3Eb8TIIuludo7c6OBzSEACoGd/fObcCJsdXI4FXeAVQBSOx91vtz3khMbmFsVJRS3HE8vRhxjQAjCmsAPHcy8ZezuTuKHs1J1U9SS64Ox1FIfoY
http://www.w3.org/2000/09/xmldsig#;
Id="Signature-2">
   
  http://www.w3.org/2001/10/xml-exc-c14n#; />
  http://www.w3.org/2000/09/xmldsig#rsa-sha1; />
  
 
http://www.w3.org/2001/10/xml-exc-c14n#; />
 
 http://www.w3.org/2000/09/xmldsig#sha1; />

qdHksp42FlO9WVg6HKledVDda18=
  
  
 
http://www.w3.org/2001/10/xml-exc-c14n#; />
 
 http://www.w3.org/2000/09/xmldsig#sha1; />

E6aaITdDYeveyle1XmVeWmfbYAE=
  
   

aWwbjN8BbgEI3pFwET9De9/UhYKeGC3Ndx0VSXEPMhtxYS3n4Q0ZuG2eX8ZobgcMPmYjs1gAoxF09sf7fdzmrSMW+Gt8Wn+N05gLh8u4fNY7Bi4DBM1YNW11pqxWpX8LG19prh0KbwkuJIIKQCuP08Zaku+HHgPvis6OPHhdObY=
   
  http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;
wsu:Id="STRId-F1F5AE821BB8A9B28714836053316663">
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3;
/>
  
   

 
 http://localhost:9762/services/wso2carbon-sts
 

http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous

 

urn:uuid:c514e93f-6a96-4640-8304-400320f95d5a
 http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue

  
  http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;
wsu:Id="Id-100433527">
 http://schemas.xmlsoap.org/ws/2005/02/trust;>

http://schemas.xmlsoap.org/ws/2005/02/trust/Issue
http://schemas.xmlsoap.org/ws/2004/09/policy;>
   http://schemas.xmlsoap.org/ws/2004/08/addressing;>
  https://localhost:10443/services/echo

   


   2017-01-05T08:35:31.256Z
   2017-01-05T08:40:31.256Z


http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0

http://schemas.xmlsoap.org/ws/2005/02/trust/Bearer

http://schemas.xmlsoap.org/ws/2005/02/trust; wsp:Dialect="
http://wso2.org/claims;>
   http://schemas.xmlsoap.org/ws/2005/05/identity; Uri="
http://wso2.org/claims/givenname; />
   http://schemas.xmlsoap.org/ws/2005/05/identity; Uri="
http://wso2.org/claims/emailaddress; />

 
  
   



*Response *
   http://www.w3.org/2003/05/soap-envelope
">
  http://schemas.xmlsoap.org/ws/2004/08/addressing;>
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd;
soapenv:mustUnderstand="true">
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;
wsu:Id="Timestamp-11">
   2017-01-05T08:35:31.867Z
   2017-01-05T08:40:31.867Z

http://www.w3.org/2000/09/xmldsig#;
Id="Signature-12">
   
  http://www.w3.org/2001/10/xml-exc-c14n#"/>
  http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
  
 
http://www.w3.org/2001/10/xml-exc-c14n#"/>
 
 http://www.w3.org/2000/09/xmldsig#sha1"/>

h5oo0fYSZXjhsCDyzJF2XFTbjEg=
  
  
 
 

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

2017-01-05 Thread Nisala Nanayakkara
Hi Hanen,

Yes. Please find the samples here [1].

[1] - https://github.com/wso2/msf4j/tree/master/samples

Thanks,
Nisala

On Thu, Jan 5, 2017 at 8:50 PM, Hanen Ben Rhouma  wrote:

> Hi,
>
> How can we get those samples?
>
> Regards,
> Hanen
>
> On Thu, Nov 3, 2016 at 10:01 AM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Devs,
>>
>> Thank you for testing the MSF4J 2.1.0 RC3. This vote is passed with 3 +1s
>> and 0 -1s.
>> Therefore we will proceed with the MSF4J 2.1.0 release.
>>
>> Best Regards
>> Thusitha
>>
>> On Thu, Nov 3, 2016 at 2:17 PM, Nisala Nanayakkara 
>> wrote:
>>
>>> Hi Thusitha,
>>>
>>> I have tested following samples.
>>>
>>>- Hello World
>>>- Spring Hello World
>>>- Session-aware Service
>>>- Lifecycle
>>>- Metrics
>>>- File Server
>>>- FormParam
>>>- BasicAuth Security
>>>- OAuth2 Security
>>>- Template
>>>
>>> [x] Stable - go ahead and release
>>> Thanks,
>>> Nisala
>>>
>>> On Mon, Oct 31, 2016 at 8:41 PM, Thusitha Thilina Dayaratne <
>>> thusit...@wso2.com> wrote:
>>>
 Hi Devs,

 This is the 3rd 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-rc3

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

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



 [ ] 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
 


>>>
>>>
>>> --
>>> *Nisala Niroshana Nanayakkara,*
>>> Software Engineer
>>> Mobile:(+94)717600022
>>> WSO2 Inc., http://wso2.com/
>>>
>>
>>
>>
>> --
>> Thusitha Dayaratne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809 <+94%2071%20275%206809>
>> Blog  alokayasoya.blogspot.com
>> Abouthttp://about.me/thusithathilina
>> 
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
*Nisala Niroshana Nanayakkara,*
Software Engineer
Mobile:(+94)717600022
WSO2 Inc., http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2017-01-05 Thread Hanen Ben Rhouma
Hi,

How can we get those samples?

Regards,
Hanen

On Thu, Nov 3, 2016 at 10:01 AM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi Devs,
>
> Thank you for testing the MSF4J 2.1.0 RC3. This vote is passed with 3 +1s
> and 0 -1s.
> Therefore we will proceed with the MSF4J 2.1.0 release.
>
> Best Regards
> Thusitha
>
> On Thu, Nov 3, 2016 at 2:17 PM, Nisala Nanayakkara 
> wrote:
>
>> Hi Thusitha,
>>
>> I have tested following samples.
>>
>>- Hello World
>>- Spring Hello World
>>- Session-aware Service
>>- Lifecycle
>>- Metrics
>>- File Server
>>- FormParam
>>- BasicAuth Security
>>- OAuth2 Security
>>- Template
>>
>> [x] Stable - go ahead and release
>> Thanks,
>> Nisala
>>
>> On Mon, Oct 31, 2016 at 8:41 PM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> This is the 3rd 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-rc3
>>>
>>> *Maven staging repository:*
>>> https://maven.wso2.org/nexus/content/repositories/orgwso2msf4j-1010
>>>
>>> *The tag to be voted upon:*
>>> https://github.com/wso2/msf4j/tree/v2.1.0-rc3
>>>
>>>
>>>
>>> [ ] 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
>>> 
>>>
>>>
>>
>>
>> --
>> *Nisala Niroshana Nanayakkara,*
>> Software Engineer
>> Mobile:(+94)717600022
>> WSO2 Inc., http://wso2.com/
>>
>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809 <+94%2071%20275%206809>
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
> 
>
>
> ___
> 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


[Dev] [WSO2 IS] Is it possible to make it a microservice?

2017-01-05 Thread Hanen Ben Rhouma
Hi,

Is it possible to transform WSO2 IS into a microservice?



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


[Dev] Oracle Advance queuing and ESB 5.0

2017-01-05 Thread Panagiotis Konstantinidis
Hello,

I am trying to read some messages from an Oracle Advanced Queue using ESB 5.0. 
I followed this tutorial: 
http://malantech.blogspot.gr/2016/08/oracle-aq-with-wso2-esb-481-490.html and 
it seems to be working fine. However it bothers me that I have to install a 
separate LDAP server, just to get the Oracle context and directory info from 
the database. Does WSO ESB 5.0 have an integrated LDAP server that I can use to 
get context information for the Oracle JMS provider? If yes, is there any more 
information about it?

Thank you

Panos Konstantinidis
Consultant
*Cognity
42 Kifissias Av.
151 25 Marousi, Athens, Greece
Tel:   +30-210-6194400
Fax:  +30-210-6194019
Email: pkonstantini...@cognity.gr

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


Re: [Dev] [WSO2 IS] How to limit tenant users to one secondary user store while trying to create other users

2017-01-05 Thread Hanen Ben Rhouma
Thanks Chamila :)

Regards,
Hanen

On Thu, Jan 5, 2017 at 2:55 PM, Chamila Wijayarathna <
cdwijayarat...@gmail.com> wrote:

> Hi,
>
> This repository is no longer in use. Current code for user-mgt can be
> found at https://github.com/wso2/carbon-identity-framework/ . You find
> find tags for all the versions used for releases there.
>
> On Fri, Jan 6, 2017 at 12:52 AM, Hanen Ben Rhouma 
> wrote:
>
>> It worked, thanks!!!
>>
>> Could you tell me where is the official git repository from which I can
>> get the source code of such recent modules ? I referenced this
>> https://github.com/wso2/carbon-identity/tree/master/componen
>> ts/user-mgt/org.wso2.carbon.user.mgt.ui
>> but there is no 5.7.5 tag version
>>
>> Regards,
>> Hanen
>>
>> On Thu, Jan 5, 2017 at 2:24 PM, Chamila Wijayarathna <
>> cdwijayarat...@gmail.com> wrote:
>>
>>> Hi Hanen,
>>>
>>> RC2 uses org.wso2.carbon.user.mgt.ui version 5.7.5, you'll have to add
>>> patch with this version or newer version, otherwise it picks the jar with
>>> highest version AFAIK.
>>>
>>> On Fri, Jan 6, 2017 at 12:13 AM, Hanen Ben Rhouma 
>>> wrote:
>>>
 5.3.0-rc2

 Regards,
 Hanen

 On Thu, Jan 5, 2017 at 11:36 AM, Chamila Wijayarathna <
 cdwijayarat...@gmail.com> wrote:

> No, UI jars are the same as others, what is the IS version you are
> using?
>
> On Thu, Jan 5, 2017 at 9:24 PM, Hanen Ben Rhouma 
> wrote:
>
>> Hi Chamila,
>>
>> I did create a directory patch0001 and put the jar under it, the logs
>> were showing it's taken into account but from the GUI side the changes
>> didn't take effect:
>>
>> [2017-01-05 11:13:29,776]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Checking for patch changes ...
>> [2017-01-05 11:13:29,803]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch0001
>> [2017-01-05 11:13:29,806]  INFO 
>> {org.wso2.carbon.server.extensions.PatchInstaller}
>> -  Patch changes detected
>> [2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Backed up plugins to patch
>> [2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Applying patches ...
>> [2017-01-05 11:13:35,758]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Applying - patch0001
>> [2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Patched org.wso2.carbon.user.mgt.ui_5.
>> 7.0.jar(MD5:096b6efee440a71e964e1756b8dd25fc)
>> [2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Patch verification started
>> [2017-01-05 11:13:35,862]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Patch verification successfully completed
>>
>>
>> Is there something different about ui jars ? I changed a JSP, is
>> there another step to configure ?
>>
>>
>> Regards,
>> Hanen
>>
>>
>> On Wed, Jan 4, 2017 at 11:53 PM, Chamila Wijayarathna <
>> cdwijayarat...@gmail.com> wrote:
>>
>>> Hi Hanen,
>>>
>>> Changing plugin is not a recommended thing, but applying patch
>>> should work here, refer[1] for guidelines to apply patches.
>>> If patch wasn't taken into account, please make sure the patch you
>>> add is as the same version as the already available jar in plugins 
>>> folder.
>>> You can verify whether the patch has applied correctly by referring
>>> to repository/logs/patches log
>>>
>>> [1]. https://docs.wso2.com/display/IS510/Applying+Patches
>>>
>>> Regards!
>>> Chamila
>>>
>>> On Thu, Jan 5, 2017 at 4:20 AM, Hanen Ben Rhouma >> > wrote:
>>>
 What if I want to change the jsp managing such logic which is
 within org.wso2.carbon.user.mgt.ui_5.7.0
 The thing is that WSO2 is becoming unstable once I modify the
 plugin, I even tried differently by putting the jar within patches but 
 it
 wasn't taken into account.
 Any idea how can I replace the default plugin with a another one?


 Regards,
 Hanen

 On Wed, Jan 4, 2017 at 4:59 PM, Darshana Gunawardana <
 darsh...@wso2.com> wrote:

> Hi Hanen,
>
> As of the current behaviour of the management console, it cannot
> hide primary user store from the drop down for tenant users.
>
> There are two ways to enforce this,
> * Add backend validation for restricting user creation in primary
> userstore for tenant users (this requires a listener implementation 
> for
> user management operations)
> * Write a separate dashboard with these customizations (this
> requires to develop separate webapp)
>
> Thanks,
>
> On Wed, 

Re: [Dev] [WSO2 IS] How to limit tenant users to one secondary user store while trying to create other users

2017-01-05 Thread Chamila Wijayarathna
Hi,

This repository is no longer in use. Current code for user-mgt can be found
at https://github.com/wso2/carbon-identity-framework/ . You find find tags
for all the versions used for releases there.

On Fri, Jan 6, 2017 at 12:52 AM, Hanen Ben Rhouma 
wrote:

> It worked, thanks!!!
>
> Could you tell me where is the official git repository from which I can
> get the source code of such recent modules ? I referenced this
> https://github.com/wso2/carbon-identity/tree/master/
> components/user-mgt/org.wso2.carbon.user.mgt.ui
> but there is no 5.7.5 tag version
>
> Regards,
> Hanen
>
> On Thu, Jan 5, 2017 at 2:24 PM, Chamila Wijayarathna <
> cdwijayarat...@gmail.com> wrote:
>
>> Hi Hanen,
>>
>> RC2 uses org.wso2.carbon.user.mgt.ui version 5.7.5, you'll have to add
>> patch with this version or newer version, otherwise it picks the jar with
>> highest version AFAIK.
>>
>> On Fri, Jan 6, 2017 at 12:13 AM, Hanen Ben Rhouma 
>> wrote:
>>
>>> 5.3.0-rc2
>>>
>>> Regards,
>>> Hanen
>>>
>>> On Thu, Jan 5, 2017 at 11:36 AM, Chamila Wijayarathna <
>>> cdwijayarat...@gmail.com> wrote:
>>>
 No, UI jars are the same as others, what is the IS version you are
 using?

 On Thu, Jan 5, 2017 at 9:24 PM, Hanen Ben Rhouma 
 wrote:

> Hi Chamila,
>
> I did create a directory patch0001 and put the jar under it, the logs
> were showing it's taken into account but from the GUI side the changes
> didn't take effect:
>
> [2017-01-05 11:13:29,776]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Checking for patch changes ...
> [2017-01-05 11:13:29,803]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch0001
> [2017-01-05 11:13:29,806]  INFO 
> {org.wso2.carbon.server.extensions.PatchInstaller}
> -  Patch changes detected
> [2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Backed up plugins to patch
> [2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Applying patches ...
> [2017-01-05 11:13:35,758]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Applying - patch0001
> [2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Patched org.wso2.carbon.user.mgt.ui_5.
> 7.0.jar(MD5:096b6efee440a71e964e1756b8dd25fc)
> [2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Patch verification started
> [2017-01-05 11:13:35,862]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Patch verification successfully completed
>
>
> Is there something different about ui jars ? I changed a JSP, is there
> another step to configure ?
>
>
> Regards,
> Hanen
>
>
> On Wed, Jan 4, 2017 at 11:53 PM, Chamila Wijayarathna <
> cdwijayarat...@gmail.com> wrote:
>
>> Hi Hanen,
>>
>> Changing plugin is not a recommended thing, but applying patch should
>> work here, refer[1] for guidelines to apply patches.
>> If patch wasn't taken into account, please make sure the patch you
>> add is as the same version as the already available jar in plugins 
>> folder.
>> You can verify whether the patch has applied correctly by referring
>> to repository/logs/patches log
>>
>> [1]. https://docs.wso2.com/display/IS510/Applying+Patches
>>
>> Regards!
>> Chamila
>>
>> On Thu, Jan 5, 2017 at 4:20 AM, Hanen Ben Rhouma 
>> wrote:
>>
>>> What if I want to change the jsp managing such logic which is within
>>> org.wso2.carbon.user.mgt.ui_5.7.0
>>> The thing is that WSO2 is becoming unstable once I modify the
>>> plugin, I even tried differently by putting the jar within patches but 
>>> it
>>> wasn't taken into account.
>>> Any idea how can I replace the default plugin with a another one?
>>>
>>>
>>> Regards,
>>> Hanen
>>>
>>> On Wed, Jan 4, 2017 at 4:59 PM, Darshana Gunawardana <
>>> darsh...@wso2.com> wrote:
>>>
 Hi Hanen,

 As of the current behaviour of the management console, it cannot
 hide primary user store from the drop down for tenant users.

 There are two ways to enforce this,
 * Add backend validation for restricting user creation in primary
 userstore for tenant users (this requires a listener implementation for
 user management operations)
 * Write a separate dashboard with these customizations (this
 requires to develop separate webapp)

 Thanks,

 On Wed, Jan 4, 2017 at 7:48 PM, Hanen Ben Rhouma <
 hanen...@gmail.com> wrote:

> Hi,
>
> Is there a way to restrict tenant users (having the permission to
> create other users) to a secondary user store; I noticed PRIMARY user 

Re: [Dev] [WSO2 IS] How to limit tenant users to one secondary user store while trying to create other users

2017-01-05 Thread Hanen Ben Rhouma
It worked, thanks!!!

Could you tell me where is the official git repository from which I can get
the source code of such recent modules ? I referenced this
https://github.com/wso2/carbon-identity/tree/master/components/user-mgt/org.wso2.carbon.user.mgt.ui
but there is no 5.7.5 tag version

Regards,
Hanen

On Thu, Jan 5, 2017 at 2:24 PM, Chamila Wijayarathna <
cdwijayarat...@gmail.com> wrote:

> Hi Hanen,
>
> RC2 uses org.wso2.carbon.user.mgt.ui version 5.7.5, you'll have to add
> patch with this version or newer version, otherwise it picks the jar with
> highest version AFAIK.
>
> On Fri, Jan 6, 2017 at 12:13 AM, Hanen Ben Rhouma 
> wrote:
>
>> 5.3.0-rc2
>>
>> Regards,
>> Hanen
>>
>> On Thu, Jan 5, 2017 at 11:36 AM, Chamila Wijayarathna <
>> cdwijayarat...@gmail.com> wrote:
>>
>>> No, UI jars are the same as others, what is the IS version you are using?
>>>
>>> On Thu, Jan 5, 2017 at 9:24 PM, Hanen Ben Rhouma 
>>> wrote:
>>>
 Hi Chamila,

 I did create a directory patch0001 and put the jar under it, the logs
 were showing it's taken into account but from the GUI side the changes
 didn't take effect:

 [2017-01-05 11:13:29,776]  INFO {org.wso2.carbon.server.util.PatchUtils}
 -  Checking for patch changes ...
 [2017-01-05 11:13:29,803]  INFO {org.wso2.carbon.server.util.PatchUtils}
 -  New patch available - patch0001
 [2017-01-05 11:13:29,806]  INFO 
 {org.wso2.carbon.server.extensions.PatchInstaller}
 -  Patch changes detected
 [2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils}
 -  Backed up plugins to patch
 [2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils}
 -  Applying patches ...
 [2017-01-05 11:13:35,758]  INFO {org.wso2.carbon.server.util.PatchUtils}
 -  Applying - patch0001
 [2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils}
 -  Patched org.wso2.carbon.user.mgt.ui_5.7.0.jar(MD5:096b6efee440a71e96
 4e1756b8dd25fc)
 [2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils}
 -  Patch verification started
 [2017-01-05 11:13:35,862]  INFO {org.wso2.carbon.server.util.PatchUtils}
 -  Patch verification successfully completed


 Is there something different about ui jars ? I changed a JSP, is there
 another step to configure ?


 Regards,
 Hanen


 On Wed, Jan 4, 2017 at 11:53 PM, Chamila Wijayarathna <
 cdwijayarat...@gmail.com> wrote:

> Hi Hanen,
>
> Changing plugin is not a recommended thing, but applying patch should
> work here, refer[1] for guidelines to apply patches.
> If patch wasn't taken into account, please make sure the patch you add
> is as the same version as the already available jar in plugins folder.
> You can verify whether the patch has applied correctly by referring to
> repository/logs/patches log
>
> [1]. https://docs.wso2.com/display/IS510/Applying+Patches
>
> Regards!
> Chamila
>
> On Thu, Jan 5, 2017 at 4:20 AM, Hanen Ben Rhouma 
> wrote:
>
>> What if I want to change the jsp managing such logic which is within
>> org.wso2.carbon.user.mgt.ui_5.7.0
>> The thing is that WSO2 is becoming unstable once I modify the plugin,
>> I even tried differently by putting the jar within patches but it wasn't
>> taken into account.
>> Any idea how can I replace the default plugin with a another one?
>>
>>
>> Regards,
>> Hanen
>>
>> On Wed, Jan 4, 2017 at 4:59 PM, Darshana Gunawardana <
>> darsh...@wso2.com> wrote:
>>
>>> Hi Hanen,
>>>
>>> As of the current behaviour of the management console, it cannot
>>> hide primary user store from the drop down for tenant users.
>>>
>>> There are two ways to enforce this,
>>> * Add backend validation for restricting user creation in primary
>>> userstore for tenant users (this requires a listener implementation for
>>> user management operations)
>>> * Write a separate dashboard with these customizations (this
>>> requires to develop separate webapp)
>>>
>>> Thanks,
>>>
>>> On Wed, Jan 4, 2017 at 7:48 PM, Hanen Ben Rhouma >> > wrote:
>>>
 Hi,

 Is there a way to restrict tenant users (having the permission to
 create other users) to a secondary user store; I noticed PRIMARY user 
 store
 is always there when trying to create a new user even for tenant 
 users, it
 leads to some confusion and some users can persist other newly created
 users on the PRIMARY, can't we grey out this drop down so that it 
 works for
 only one secondary user store?

 Regards,
 Hanen

 ___
 Dev 

Re: [Dev] [WSO2 IS] How to limit tenant users to one secondary user store while trying to create other users

2017-01-05 Thread Chamila Wijayarathna
Hi Hanen,

RC2 uses org.wso2.carbon.user.mgt.ui version 5.7.5, you'll have to add
patch with this version or newer version, otherwise it picks the jar with
highest version AFAIK.

On Fri, Jan 6, 2017 at 12:13 AM, Hanen Ben Rhouma 
wrote:

> 5.3.0-rc2
>
> Regards,
> Hanen
>
> On Thu, Jan 5, 2017 at 11:36 AM, Chamila Wijayarathna <
> cdwijayarat...@gmail.com> wrote:
>
>> No, UI jars are the same as others, what is the IS version you are using?
>>
>> On Thu, Jan 5, 2017 at 9:24 PM, Hanen Ben Rhouma 
>> wrote:
>>
>>> Hi Chamila,
>>>
>>> I did create a directory patch0001 and put the jar under it, the logs
>>> were showing it's taken into account but from the GUI side the changes
>>> didn't take effect:
>>>
>>> [2017-01-05 11:13:29,776]  INFO {org.wso2.carbon.server.util.PatchUtils}
>>> -  Checking for patch changes ...
>>> [2017-01-05 11:13:29,803]  INFO {org.wso2.carbon.server.util.PatchUtils}
>>> -  New patch available - patch0001
>>> [2017-01-05 11:13:29,806]  INFO 
>>> {org.wso2.carbon.server.extensions.PatchInstaller}
>>> -  Patch changes detected
>>> [2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils}
>>> -  Backed up plugins to patch
>>> [2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils}
>>> -  Applying patches ...
>>> [2017-01-05 11:13:35,758]  INFO {org.wso2.carbon.server.util.PatchUtils}
>>> -  Applying - patch0001
>>> [2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils}
>>> -  Patched org.wso2.carbon.user.mgt.ui_5.7.0.jar(MD5:096b6efee440a71e96
>>> 4e1756b8dd25fc)
>>> [2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils}
>>> -  Patch verification started
>>> [2017-01-05 11:13:35,862]  INFO {org.wso2.carbon.server.util.PatchUtils}
>>> -  Patch verification successfully completed
>>>
>>>
>>> Is there something different about ui jars ? I changed a JSP, is there
>>> another step to configure ?
>>>
>>>
>>> Regards,
>>> Hanen
>>>
>>>
>>> On Wed, Jan 4, 2017 at 11:53 PM, Chamila Wijayarathna <
>>> cdwijayarat...@gmail.com> wrote:
>>>
 Hi Hanen,

 Changing plugin is not a recommended thing, but applying patch should
 work here, refer[1] for guidelines to apply patches.
 If patch wasn't taken into account, please make sure the patch you add
 is as the same version as the already available jar in plugins folder.
 You can verify whether the patch has applied correctly by referring to
 repository/logs/patches log

 [1]. https://docs.wso2.com/display/IS510/Applying+Patches

 Regards!
 Chamila

 On Thu, Jan 5, 2017 at 4:20 AM, Hanen Ben Rhouma 
 wrote:

> What if I want to change the jsp managing such logic which is within
> org.wso2.carbon.user.mgt.ui_5.7.0
> The thing is that WSO2 is becoming unstable once I modify the plugin,
> I even tried differently by putting the jar within patches but it wasn't
> taken into account.
> Any idea how can I replace the default plugin with a another one?
>
>
> Regards,
> Hanen
>
> On Wed, Jan 4, 2017 at 4:59 PM, Darshana Gunawardana <
> darsh...@wso2.com> wrote:
>
>> Hi Hanen,
>>
>> As of the current behaviour of the management console, it cannot hide
>> primary user store from the drop down for tenant users.
>>
>> There are two ways to enforce this,
>> * Add backend validation for restricting user creation in primary
>> userstore for tenant users (this requires a listener implementation for
>> user management operations)
>> * Write a separate dashboard with these customizations (this requires
>> to develop separate webapp)
>>
>> Thanks,
>>
>> On Wed, Jan 4, 2017 at 7:48 PM, Hanen Ben Rhouma 
>> wrote:
>>
>>> Hi,
>>>
>>> Is there a way to restrict tenant users (having the permission to
>>> create other users) to a secondary user store; I noticed PRIMARY user 
>>> store
>>> is always there when trying to create a new user even for tenant users, 
>>> it
>>> leads to some confusion and some users can persist other newly created
>>> users on the PRIMARY, can't we grey out this drop down so that it works 
>>> for
>>> only one secondary user store?
>>>
>>> Regards,
>>> Hanen
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>>
>> *Darshana Gunawardana*Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>>
>> *E-mail: darsh...@wso2.com *
>> *Mobile: +94718566859 <+94%2071%20856%206859>*Lean . Enterprise .
>> Middleware
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> 

Re: [Dev] [WSO2 IS] How to limit tenant users to one secondary user store while trying to create other users

2017-01-05 Thread Hanen Ben Rhouma
5.3.0-rc2

Regards,
Hanen

On Thu, Jan 5, 2017 at 11:36 AM, Chamila Wijayarathna <
cdwijayarat...@gmail.com> wrote:

> No, UI jars are the same as others, what is the IS version you are using?
>
> On Thu, Jan 5, 2017 at 9:24 PM, Hanen Ben Rhouma 
> wrote:
>
>> Hi Chamila,
>>
>> I did create a directory patch0001 and put the jar under it, the logs
>> were showing it's taken into account but from the GUI side the changes
>> didn't take effect:
>>
>> [2017-01-05 11:13:29,776]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Checking for patch changes ...
>> [2017-01-05 11:13:29,803]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  New patch available - patch0001
>> [2017-01-05 11:13:29,806]  INFO 
>> {org.wso2.carbon.server.extensions.PatchInstaller}
>> -  Patch changes detected
>> [2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Backed up plugins to patch
>> [2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Applying patches ...
>> [2017-01-05 11:13:35,758]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Applying - patch0001
>> [2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Patched org.wso2.carbon.user.mgt.ui_5.7.0.jar(MD5:096b6efee440a71e96
>> 4e1756b8dd25fc)
>> [2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Patch verification started
>> [2017-01-05 11:13:35,862]  INFO {org.wso2.carbon.server.util.PatchUtils}
>> -  Patch verification successfully completed
>>
>>
>> Is there something different about ui jars ? I changed a JSP, is there
>> another step to configure ?
>>
>>
>> Regards,
>> Hanen
>>
>>
>> On Wed, Jan 4, 2017 at 11:53 PM, Chamila Wijayarathna <
>> cdwijayarat...@gmail.com> wrote:
>>
>>> Hi Hanen,
>>>
>>> Changing plugin is not a recommended thing, but applying patch should
>>> work here, refer[1] for guidelines to apply patches.
>>> If patch wasn't taken into account, please make sure the patch you add
>>> is as the same version as the already available jar in plugins folder.
>>> You can verify whether the patch has applied correctly by referring to
>>> repository/logs/patches log
>>>
>>> [1]. https://docs.wso2.com/display/IS510/Applying+Patches
>>>
>>> Regards!
>>> Chamila
>>>
>>> On Thu, Jan 5, 2017 at 4:20 AM, Hanen Ben Rhouma 
>>> wrote:
>>>
 What if I want to change the jsp managing such logic which is within
 org.wso2.carbon.user.mgt.ui_5.7.0
 The thing is that WSO2 is becoming unstable once I modify the plugin, I
 even tried differently by putting the jar within patches but it wasn't
 taken into account.
 Any idea how can I replace the default plugin with a another one?


 Regards,
 Hanen

 On Wed, Jan 4, 2017 at 4:59 PM, Darshana Gunawardana  wrote:

> Hi Hanen,
>
> As of the current behaviour of the management console, it cannot hide
> primary user store from the drop down for tenant users.
>
> There are two ways to enforce this,
> * Add backend validation for restricting user creation in primary
> userstore for tenant users (this requires a listener implementation for
> user management operations)
> * Write a separate dashboard with these customizations (this requires
> to develop separate webapp)
>
> Thanks,
>
> On Wed, Jan 4, 2017 at 7:48 PM, Hanen Ben Rhouma 
> wrote:
>
>> Hi,
>>
>> Is there a way to restrict tenant users (having the permission to
>> create other users) to a secondary user store; I noticed PRIMARY user 
>> store
>> is always there when trying to create a new user even for tenant users, 
>> it
>> leads to some confusion and some users can persist other newly created
>> users on the PRIMARY, can't we grey out this drop down so that it works 
>> for
>> only one secondary user store?
>>
>> Regards,
>> Hanen
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
>
>
> *Darshana Gunawardana*Associate Technical Lead
> WSO2 Inc.; http://wso2.com
>
> *E-mail: darsh...@wso2.com *
> *Mobile: +94718566859 <+94%2071%20856%206859>*Lean . Enterprise .
> Middleware
>


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


>>>
>>>
>>> --
>>> Chamila Dilshan Wijayarathna,
>>> PhD Research Student
>>> The University of New South Wales (UNSW Canberra)
>>> Australian Centre for Cyber Security
>>> Australian Defence Force Academy
>>> PO Box 7916, Canberra BA ACT 2610
>>> Australia
>>> Mobile:(+61)416895795 <+61%20416%20895%20795>
>>>
>>>
>>
>
>
> --
> Chamila Dilshan Wijayarathna,
> PhD 

Re: [Dev] [CSE][FYP][Siddhi] Regarding a problem in stream joining

2017-01-05 Thread Seshika Fernando
Hi Nipuna,

The reason you are getting multiple outputs is because you have used
'insert *all *events into finalInputStream'. In this case, we trigger for
'current event' and 'remove event'. However, if you just use 'insert into
finalInputStream' which is the default, the output events are triggered
only for current events.

seshika

On Thu, Jan 5, 2017 at 3:00 PM, Nipuna Sankalpa <
nipunasankalpa...@cse.mrt.ac.lk> wrote:

> Hi,
>
> I am an undergraduate at UoM doing a research project (Group) regarding
> Real Time VaR Calculation using WSO2 DAS and Siddhi. While doing this
> project, we came up with a problem regarding stream joining. We have
> included the problem in detail in a document attached herewith. Can you
> please provide your suggestions on this problem.
>
> Thank you.
>
> [1] - https://docs.google.com/document/d/1pDiBatpnmqTL6Idj7Ya6cIJng17X1
> sMJOfp_f74CB_A/edit?usp=sharing
>
> Best Regards,
> --
>
> Nipuna Sankalpa,
>
> Undergraduate,
>
> Department of Computer Science & Engineering,
> University of Moratuwa,
>
> Sri Lanka.
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] InoRecoverySample

2017-01-05 Thread Ayesha Dissanayaka
Hi Kone,

Try running the InfoRecoverySample application in Tomcat-7.

Regards!
-Ayesha

On Wed, Jan 4, 2017 at 7:54 PM, Koné Alioune Badara <
kon...@etna-alternance.net> wrote:

> Hello,
>
> I'm having issues running the InfoRecoverySample application in Tomcat,
> I'm getting the following errors at the start of tomcat :
>
> INFO: validateJarFile(/home/svprem/workspace/.metadata/.plugins/
> org.eclipse.wst.server.core/tmp0/wtpwebapps/info-recovery-
> sample/WEB-INF/lib/javax.servlet-3.0.0.v201112011016.jar) - jar not
> loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
> javax/servlet/Servlet.class
> Jan 04, 2017 3:19:42 PM org.apache.catalina.loader.WebappClassLoader
> validateJarFile
> INFO: validateJarFile(/home/svprem/workspace/.metadata/.plugins/
> org.eclipse.wst.server.core/tmp0/wtpwebapps/info-recovery-
> sample/WEB-INF/lib/javax.servlet-api-3.1.0.jar) - jar not loaded. See
> Servlet Spec 2.3, section 9.7.2. Offending class:
> javax/servlet/Servlet.class
> Jan 04, 2017 3:19:44 PM org.apache.catalina.core.StandardContext
> listenerStart
> SEVERE: Exception sending context initialized event to listener instance
> of class SampleContextEventListener
> java.lang.NoSuchMethodError: javax.servlet.ServletContext.
> getClassLoader()Ljava/lang/ClassLoader;
> at SampleContextEventListener.contextInitialized(
> SampleContextEventListener.java:36)
> at org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:4206)
> at org.apache.catalina.core.StandardContext.start(
> StandardContext.java:4705)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
> at org.apache.catalina.core.StandardService.start(
> StandardService.java:525)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>
> Jan 04, 2017 3:19:44 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> Jan 04, 2017 3:19:44 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/InfoRecoverySample] startup failed due to previous errors
>
> Can you give me any tips on what is causing this error?
>
> I'm using tomcat 6.
>
> Regards,
>
> --
> Cordialement,
>
> Alioune B KONÉ.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Ayesha Dissanayaka*
Software Engineer,
WSO2, Inc : http://wso2.com

20, Palmgrove Avenue, Colombo 3
E-Mail: aye...@wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [WSO2 IS] Permission to create roles and assign users to them

2017-01-05 Thread Hanen Ben Rhouma
I did add both permissions and same is happening.

Shall I raise a bug?

Regards,
Hanen


On Thu, Jan 5, 2017 at 11:40 AM, Chamila Wijayarathna <
cdwijayarat...@gmail.com> wrote:

> Hi Hanen,
>
> To achieve this in SOAP API calls, your user need to have both "User
> Management" and "Role Management" permissions.
>
> Regards!
> Chamila
>
> On Thu, Jan 5, 2017 at 9:37 PM, Hanen Ben Rhouma 
> wrote:
>
>> Hi,
>>
>> In fact, even by using the SOAP service call to add role mgt only as a
>> permission, the result is the same the created user won't have the
>> possibility to create roles:
>>
>> http://schemas.
>> xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.u
>> m.carbon.wso2.org" xmlns:xsd="http://dao.service.
>> ws.um.carbon.wso2.org/xsd">
>>
>>
>>   
>>  
>>  TestRole
>>  
>>  hanen
>>  
>>  
>> 
>> ui.execute
>> 
>> /permission/admin/manage/identity/rolemgt/> xsd:resourceId>
>>  
>>   
>>
>> 
>>
>> Regards,
>> Hanen
>>
>> On Wed, Jan 4, 2017 at 5:06 PM, Darshana Gunawardana 
>> wrote:
>>
>>> Hi Chamila\Hanen,
>>>
>>> Yes. you need to have "'/permission/admin/manage/identity'" permission
>>> to manage roles from the UI. Since we are doing multiple management
>>> operation via management console we require much higher level of
>>> permissions. But Relevant backend services (UserAdmin service) do support
>>> finer level permission ("/permission/admin/manage/identity/usermgt")
>>> then if some external client need to connect with restricted permissions
>>> still it's possible. But indeed this UIs can be improved to support fine
>>> grained permissions. Since we are working on the IS 6.0.0 which is based on
>>> next gen Carbon 5 platform with complete re-design of the product with
>>> parallel to IS 5.3.0 release, we did not focus on major redesigning of UI
>>> and related UI permissions with the IS 5.3.0.
>>>
>>> Giving you bit of insight of IS 6.0.0 effort, we have plans to decouple
>>> persona that use identity server for different types of administration and
>>> provide separate views for each of those. You will be able to follow up on
>>> those discussions on architecture list soon.
>>>
>>> We have created https://wso2.org/jira/browse/IDENTITY-5560 to track
>>> this specific improvement, and it will consider fixing this in a future
>>> release.
>>>
>>> Thanks
>>>
>>> On Wed, Jan 4, 2017 at 7:13 PM, Hanen Ben Rhouma 
>>> wrote:
>>>
 Hi,

 Actually I tried most of the combinations and the smallest set of
 permissions allowing users to create roles is by selecting the whole
 "Identity" permissions block. Why 
 Sometimes we want some type of users to be able to only create users
 and assign them to some roles, the rest of the application (IdP, SP, Key
 stores, Workflow mgt, etc.) isn't trivial to them and is not even in their
 scope of responsibility. Why such limitation?

 Regards,
 Hanen

 On Wed, Jan 4, 2017 at 1:32 PM, Chamila Wijayarathna <
 cdwijayarat...@gmail.com> wrote:

> Hi,
>
> It looks like you need to have '/permission/admin/manage/identity' to
> do this using management console. However, when looking at code if you are
> doing it using API calls, having "User Management" and "Role Management"
> should be enough to do this.
>
> It should work with "Roles Management" IMO, I'm not sure why it's not
> implemented like that.
> @Johann, Darshana : Any idea on this?
>
> On Wed, Jan 4, 2017 at 10:42 PM, Hanen Ben Rhouma 
> wrote:
>
>>
>> Hello,
>>
>> What is the permission that gives the user the possibility to create
>> roles and assign users to them? I tried "Roles Management" permission but
>> it's not doing the trick.
>>
>>
>> Regards,
>> Hanen
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chamila Dilshan Wijayarathna,
> PhD Research Student
> The University of New South Wales (UNSW Canberra)
> Australian Centre for Cyber Security
> Australian Defence Force Academy
> PO Box 7916, Canberra BA ACT 2610
> Australia
> Mobile:(+61)416895795 <+61%20416%20895%20795>
>
>

>>>
>>>
>>> --
>>> Regards,
>>>
>>>
>>> *Darshana Gunawardana*Associate Technical Lead
>>> WSO2 Inc.; http://wso2.com
>>>
>>> *E-mail: darsh...@wso2.com *
>>> *Mobile: +94718566859 <+94%2071%20856%206859>*Lean . Enterprise .
>>> Middleware
>>>
>>
>>
>
>
> --
> Chamila Dilshan Wijayarathna,
> PhD Research Student
> The University of New South Wales (UNSW Canberra)
> Australian Centre for Cyber Security
> Australian Defence Force Academy
> PO Box 7916, Canberra BA 

Re: [Dev] [WSO2 IS] Permission to create roles and assign users to them

2017-01-05 Thread Chamila Wijayarathna
Hi Hanen,

To achieve this in SOAP API calls, your user need to have both "User
Management" and "Role Management" permissions.

Regards!
Chamila

On Thu, Jan 5, 2017 at 9:37 PM, Hanen Ben Rhouma  wrote:

> Hi,
>
> In fact, even by using the SOAP service call to add role mgt only as a
> permission, the result is the same the created user won't have the
> possibility to create roles:
>
> http://schemas.xmlsoap.org/soap/envelope/;
> xmlns:ser="http://service.ws.um.carbon.wso2.org; xmlns:xsd="
> http://dao.service.ws.um.carbon.wso2.org/xsd;>
>
>
>   
>  
>  TestRole
>  
>  hanen
>  
>  
> 
> ui.execute
> 
> /permission/admin/manage/identity/rolemgt/
> 
>  
>   
>
> 
>
> Regards,
> Hanen
>
> On Wed, Jan 4, 2017 at 5:06 PM, Darshana Gunawardana 
> wrote:
>
>> Hi Chamila\Hanen,
>>
>> Yes. you need to have "'/permission/admin/manage/identity'" permission
>> to manage roles from the UI. Since we are doing multiple management
>> operation via management console we require much higher level of
>> permissions. But Relevant backend services (UserAdmin service) do support
>> finer level permission ("/permission/admin/manage/identity/usermgt")
>> then if some external client need to connect with restricted permissions
>> still it's possible. But indeed this UIs can be improved to support fine
>> grained permissions. Since we are working on the IS 6.0.0 which is based on
>> next gen Carbon 5 platform with complete re-design of the product with
>> parallel to IS 5.3.0 release, we did not focus on major redesigning of UI
>> and related UI permissions with the IS 5.3.0.
>>
>> Giving you bit of insight of IS 6.0.0 effort, we have plans to decouple
>> persona that use identity server for different types of administration and
>> provide separate views for each of those. You will be able to follow up on
>> those discussions on architecture list soon.
>>
>> We have created https://wso2.org/jira/browse/IDENTITY-5560 to track this
>> specific improvement, and it will consider fixing this in a future release.
>>
>> Thanks
>>
>> On Wed, Jan 4, 2017 at 7:13 PM, Hanen Ben Rhouma 
>> wrote:
>>
>>> Hi,
>>>
>>> Actually I tried most of the combinations and the smallest set of
>>> permissions allowing users to create roles is by selecting the whole
>>> "Identity" permissions block. Why 
>>> Sometimes we want some type of users to be able to only create users and
>>> assign them to some roles, the rest of the application (IdP, SP, Key
>>> stores, Workflow mgt, etc.) isn't trivial to them and is not even in their
>>> scope of responsibility. Why such limitation?
>>>
>>> Regards,
>>> Hanen
>>>
>>> On Wed, Jan 4, 2017 at 1:32 PM, Chamila Wijayarathna <
>>> cdwijayarat...@gmail.com> wrote:
>>>
 Hi,

 It looks like you need to have '/permission/admin/manage/identity' to
 do this using management console. However, when looking at code if you are
 doing it using API calls, having "User Management" and "Role Management"
 should be enough to do this.

 It should work with "Roles Management" IMO, I'm not sure why it's not
 implemented like that.
 @Johann, Darshana : Any idea on this?

 On Wed, Jan 4, 2017 at 10:42 PM, Hanen Ben Rhouma 
 wrote:

>
> Hello,
>
> What is the permission that gives the user the possibility to create
> roles and assign users to them? I tried "Roles Management" permission but
> it's not doing the trick.
>
>
> Regards,
> Hanen
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Chamila Dilshan Wijayarathna,
 PhD Research Student
 The University of New South Wales (UNSW Canberra)
 Australian Centre for Cyber Security
 Australian Defence Force Academy
 PO Box 7916, Canberra BA ACT 2610
 Australia
 Mobile:(+61)416895795 <+61%20416%20895%20795>


>>>
>>
>>
>> --
>> Regards,
>>
>>
>> *Darshana Gunawardana*Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>>
>> *E-mail: darsh...@wso2.com *
>> *Mobile: +94718566859 <+94%2071%20856%206859>*Lean . Enterprise .
>> Middleware
>>
>
>


-- 
Chamila Dilshan Wijayarathna,
PhD Research Student
The University of New South Wales (UNSW Canberra)
Australian Centre for Cyber Security
Australian Defence Force Academy
PO Box 7916, Canberra BA ACT 2610
Australia
Mobile:(+61)416895795
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [WSO2 IS] Permission to create roles and assign users to them

2017-01-05 Thread Hanen Ben Rhouma
Hi,

In fact, even by using the SOAP service call to add role mgt only as a
permission, the result is the same the created user won't have the
possibility to create roles:

http://schemas.xmlsoap.org/soap/envelope/;
xmlns:ser="http://service.ws.um.carbon.wso2.org; xmlns:xsd="
http://dao.service.ws.um.carbon.wso2.org/xsd;>
   
   
  
 
 TestRole
 
 hanen
 
 

ui.execute


/permission/admin/manage/identity/rolemgt/
 
  
   


Regards,
Hanen

On Wed, Jan 4, 2017 at 5:06 PM, Darshana Gunawardana 
wrote:

> Hi Chamila\Hanen,
>
> Yes. you need to have "'/permission/admin/manage/identity'" permission to
> manage roles from the UI. Since we are doing multiple management operation
> via management console we require much higher level of permissions. But
> Relevant backend services (UserAdmin service) do support finer level
> permission ("/permission/admin/manage/identity/usermgt") then if some
> external client need to connect with restricted permissions still it's
> possible. But indeed this UIs can be improved to support fine
> grained permissions. Since we are working on the IS 6.0.0 which is based on
> next gen Carbon 5 platform with complete re-design of the product with
> parallel to IS 5.3.0 release, we did not focus on major redesigning of UI
> and related UI permissions with the IS 5.3.0.
>
> Giving you bit of insight of IS 6.0.0 effort, we have plans to decouple
> persona that use identity server for different types of administration and
> provide separate views for each of those. You will be able to follow up on
> those discussions on architecture list soon.
>
> We have created https://wso2.org/jira/browse/IDENTITY-5560 to track this
> specific improvement, and it will consider fixing this in a future release.
>
> Thanks
>
> On Wed, Jan 4, 2017 at 7:13 PM, Hanen Ben Rhouma 
> wrote:
>
>> Hi,
>>
>> Actually I tried most of the combinations and the smallest set of
>> permissions allowing users to create roles is by selecting the whole
>> "Identity" permissions block. Why 
>> Sometimes we want some type of users to be able to only create users and
>> assign them to some roles, the rest of the application (IdP, SP, Key
>> stores, Workflow mgt, etc.) isn't trivial to them and is not even in their
>> scope of responsibility. Why such limitation?
>>
>> Regards,
>> Hanen
>>
>> On Wed, Jan 4, 2017 at 1:32 PM, Chamila Wijayarathna <
>> cdwijayarat...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> It looks like you need to have '/permission/admin/manage/identity' to
>>> do this using management console. However, when looking at code if you are
>>> doing it using API calls, having "User Management" and "Role Management"
>>> should be enough to do this.
>>>
>>> It should work with "Roles Management" IMO, I'm not sure why it's not
>>> implemented like that.
>>> @Johann, Darshana : Any idea on this?
>>>
>>> On Wed, Jan 4, 2017 at 10:42 PM, Hanen Ben Rhouma 
>>> wrote:
>>>

 Hello,

 What is the permission that gives the user the possibility to create
 roles and assign users to them? I tried "Roles Management" permission but
 it's not doing the trick.


 Regards,
 Hanen

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


>>>
>>>
>>> --
>>> Chamila Dilshan Wijayarathna,
>>> PhD Research Student
>>> The University of New South Wales (UNSW Canberra)
>>> Australian Centre for Cyber Security
>>> Australian Defence Force Academy
>>> PO Box 7916, Canberra BA ACT 2610
>>> Australia
>>> Mobile:(+61)416895795 <+61%20416%20895%20795>
>>>
>>>
>>
>
>
> --
> Regards,
>
>
> *Darshana Gunawardana*Associate Technical Lead
> WSO2 Inc.; http://wso2.com
>
> *E-mail: darsh...@wso2.com *
> *Mobile: +94718566859 <+94%2071%20856%206859>*Lean . Enterprise .
> Middleware
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [WSO2 IS] How to limit tenant users to one secondary user store while trying to create other users

2017-01-05 Thread Chamila Wijayarathna
No, UI jars are the same as others, what is the IS version you are using?

On Thu, Jan 5, 2017 at 9:24 PM, Hanen Ben Rhouma  wrote:

> Hi Chamila,
>
> I did create a directory patch0001 and put the jar under it, the logs were
> showing it's taken into account but from the GUI side the changes didn't
> take effect:
>
> [2017-01-05 11:13:29,776]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Checking for patch changes ...
> [2017-01-05 11:13:29,803]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  New patch available - patch0001
> [2017-01-05 11:13:29,806]  INFO 
> {org.wso2.carbon.server.extensions.PatchInstaller}
> -  Patch changes detected
> [2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Backed up plugins to patch
> [2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Applying patches ...
> [2017-01-05 11:13:35,758]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Applying - patch0001
> [2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Patched org.wso2.carbon.user.mgt.ui_5.7.0.jar(MD5:
> 096b6efee440a71e964e1756b8dd25fc)
> [2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Patch verification started
> [2017-01-05 11:13:35,862]  INFO {org.wso2.carbon.server.util.PatchUtils}
> -  Patch verification successfully completed
>
>
> Is there something different about ui jars ? I changed a JSP, is there
> another step to configure ?
>
>
> Regards,
> Hanen
>
>
> On Wed, Jan 4, 2017 at 11:53 PM, Chamila Wijayarathna <
> cdwijayarat...@gmail.com> wrote:
>
>> Hi Hanen,
>>
>> Changing plugin is not a recommended thing, but applying patch should
>> work here, refer[1] for guidelines to apply patches.
>> If patch wasn't taken into account, please make sure the patch you add is
>> as the same version as the already available jar in plugins folder.
>> You can verify whether the patch has applied correctly by referring to
>> repository/logs/patches log
>>
>> [1]. https://docs.wso2.com/display/IS510/Applying+Patches
>>
>> Regards!
>> Chamila
>>
>> On Thu, Jan 5, 2017 at 4:20 AM, Hanen Ben Rhouma 
>> wrote:
>>
>>> What if I want to change the jsp managing such logic which is within
>>> org.wso2.carbon.user.mgt.ui_5.7.0
>>> The thing is that WSO2 is becoming unstable once I modify the plugin, I
>>> even tried differently by putting the jar within patches but it wasn't
>>> taken into account.
>>> Any idea how can I replace the default plugin with a another one?
>>>
>>>
>>> Regards,
>>> Hanen
>>>
>>> On Wed, Jan 4, 2017 at 4:59 PM, Darshana Gunawardana 
>>> wrote:
>>>
 Hi Hanen,

 As of the current behaviour of the management console, it cannot hide
 primary user store from the drop down for tenant users.

 There are two ways to enforce this,
 * Add backend validation for restricting user creation in primary
 userstore for tenant users (this requires a listener implementation for
 user management operations)
 * Write a separate dashboard with these customizations (this requires
 to develop separate webapp)

 Thanks,

 On Wed, Jan 4, 2017 at 7:48 PM, Hanen Ben Rhouma 
 wrote:

> Hi,
>
> Is there a way to restrict tenant users (having the permission to
> create other users) to a secondary user store; I noticed PRIMARY user 
> store
> is always there when trying to create a new user even for tenant users, it
> leads to some confusion and some users can persist other newly created
> users on the PRIMARY, can't we grey out this drop down so that it works 
> for
> only one secondary user store?
>
> Regards,
> Hanen
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Regards,


 *Darshana Gunawardana*Associate Technical Lead
 WSO2 Inc.; http://wso2.com

 *E-mail: darsh...@wso2.com *
 *Mobile: +94718566859 <+94%2071%20856%206859>*Lean . Enterprise .
 Middleware

>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Chamila Dilshan Wijayarathna,
>> PhD Research Student
>> The University of New South Wales (UNSW Canberra)
>> Australian Centre for Cyber Security
>> Australian Defence Force Academy
>> PO Box 7916, Canberra BA ACT 2610
>> Australia
>> Mobile:(+61)416895795 <+61%20416%20895%20795>
>>
>>
>


-- 
Chamila Dilshan Wijayarathna,
PhD Research Student
The University of New South Wales (UNSW Canberra)
Australian Centre for Cyber Security
Australian Defence Force Academy
PO Box 7916, Canberra BA ACT 2610
Australia
Mobile:(+61)416895795
___
Dev mailing list
Dev@wso2.org

Re: [Dev] [WSO2 IS] How to limit tenant users to one secondary user store while trying to create other users

2017-01-05 Thread Hanen Ben Rhouma
Hi Chamila,

I did create a directory patch0001 and put the jar under it, the logs were
showing it's taken into account but from the GUI side the changes didn't
take effect:

[2017-01-05 11:13:29,776]  INFO {org.wso2.carbon.server.util.PatchUtils} -
 Checking for patch changes ...
[2017-01-05 11:13:29,803]  INFO {org.wso2.carbon.server.util.PatchUtils} -
 New patch available - patch0001
[2017-01-05 11:13:29,806]  INFO
{org.wso2.carbon.server.extensions.PatchInstaller} -  Patch changes
detected
[2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils} -
 Backed up plugins to patch
[2017-01-05 11:13:35,757]  INFO {org.wso2.carbon.server.util.PatchUtils} -
 Applying patches ...
[2017-01-05 11:13:35,758]  INFO {org.wso2.carbon.server.util.PatchUtils} -
 Applying - patch0001
[2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils} -
 Patched
org.wso2.carbon.user.mgt.ui_5.7.0.jar(MD5:096b6efee440a71e964e1756b8dd25fc)
[2017-01-05 11:13:35,855]  INFO {org.wso2.carbon.server.util.PatchUtils} -
 Patch verification started
[2017-01-05 11:13:35,862]  INFO {org.wso2.carbon.server.util.PatchUtils} -
 Patch verification successfully completed


Is there something different about ui jars ? I changed a JSP, is there
another step to configure ?


Regards,
Hanen


On Wed, Jan 4, 2017 at 11:53 PM, Chamila Wijayarathna <
cdwijayarat...@gmail.com> wrote:

> Hi Hanen,
>
> Changing plugin is not a recommended thing, but applying patch should work
> here, refer[1] for guidelines to apply patches.
> If patch wasn't taken into account, please make sure the patch you add is
> as the same version as the already available jar in plugins folder.
> You can verify whether the patch has applied correctly by referring to
> repository/logs/patches log
>
> [1]. https://docs.wso2.com/display/IS510/Applying+Patches
>
> Regards!
> Chamila
>
> On Thu, Jan 5, 2017 at 4:20 AM, Hanen Ben Rhouma 
> wrote:
>
>> What if I want to change the jsp managing such logic which is within
>> org.wso2.carbon.user.mgt.ui_5.7.0
>> The thing is that WSO2 is becoming unstable once I modify the plugin, I
>> even tried differently by putting the jar within patches but it wasn't
>> taken into account.
>> Any idea how can I replace the default plugin with a another one?
>>
>>
>> Regards,
>> Hanen
>>
>> On Wed, Jan 4, 2017 at 4:59 PM, Darshana Gunawardana 
>> wrote:
>>
>>> Hi Hanen,
>>>
>>> As of the current behaviour of the management console, it cannot hide
>>> primary user store from the drop down for tenant users.
>>>
>>> There are two ways to enforce this,
>>> * Add backend validation for restricting user creation in primary
>>> userstore for tenant users (this requires a listener implementation for
>>> user management operations)
>>> * Write a separate dashboard with these customizations (this requires to
>>> develop separate webapp)
>>>
>>> Thanks,
>>>
>>> On Wed, Jan 4, 2017 at 7:48 PM, Hanen Ben Rhouma 
>>> wrote:
>>>
 Hi,

 Is there a way to restrict tenant users (having the permission to
 create other users) to a secondary user store; I noticed PRIMARY user store
 is always there when trying to create a new user even for tenant users, it
 leads to some confusion and some users can persist other newly created
 users on the PRIMARY, can't we grey out this drop down so that it works for
 only one secondary user store?

 Regards,
 Hanen

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


>>>
>>>
>>> --
>>> Regards,
>>>
>>>
>>> *Darshana Gunawardana*Associate Technical Lead
>>> WSO2 Inc.; http://wso2.com
>>>
>>> *E-mail: darsh...@wso2.com *
>>> *Mobile: +94718566859 <+94%2071%20856%206859>*Lean . Enterprise .
>>> Middleware
>>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chamila Dilshan Wijayarathna,
> PhD Research Student
> The University of New South Wales (UNSW Canberra)
> Australian Centre for Cyber Security
> Australian Defence Force Academy
> PO Box 7916, Canberra BA ACT 2610
> Australia
> Mobile:(+61)416895795 <+61%20416%20895%20795>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sajith Perera

2017-01-05 Thread Gimantha Bandara
Congratulations Sajith!

On Thu, Jan 5, 2017 at 2:20 PM, Ramindu De Silva  wrote:

> Congratulations Sajith :)
>
> On Thu, Jan 5, 2017 at 8:32 AM, Mohanadarshan Vivekanandalingam <
> mo...@wso2.com> wrote:
>
>> Hi Devs,
>>
>> It is my pleasure to welcome Sajith Perera as a WSO2 Committer. Sajith
>> has been a valuable contributor in WSO2 analytics space and performed
>> enormous tasks on CEP tooling, CEP HA and Log Analyzer.
>>
>> SajithD, welcome aboard and keep up the good work.
>>
>>
>> Thanks,
>> Mohan
>>
>>
>> --
>> *V. Mohanadarshan*
>> *Associate Tech Lead,*
>> *Data Technologies Team,*
>> *WSO2, Inc. http://wso2.com  *
>> *lean.enterprise.middleware.*
>>
>> email: mo...@wso2.com
>> phone:(+94) 771117673 <+94%2077%20111%207673>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Ramindu De Silva*
> Software Engineer
> WSO2 Inc.: http://wso2.com
> lean.enterprise.middleware
>
> email: ramin...@wso2.com 
> mob: +94 772339350
> mob: +94 719678895
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Gimantha Bandara
Software Engineer
WSO2. Inc : http://wso2.com
Mobile : +94714961919
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sajith Perera

2017-01-05 Thread Ramindu De Silva
Congratulations Sajith :)

On Thu, Jan 5, 2017 at 8:32 AM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

> Hi Devs,
>
> It is my pleasure to welcome Sajith Perera as a WSO2 Committer. Sajith has
> been a valuable contributor in WSO2 analytics space and performed enormous
> tasks on CEP tooling, CEP HA and Log Analyzer.
>
> SajithD, welcome aboard and keep up the good work.
>
>
> Thanks,
> Mohan
>
>
> --
> *V. Mohanadarshan*
> *Associate Tech Lead,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673 <+94%2077%20111%207673>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Ramindu De Silva*
Software Engineer
WSO2 Inc.: http://wso2.com
lean.enterprise.middleware

email: ramin...@wso2.com 
mob: +94 772339350
mob: +94 719678895
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sajith Perera

2017-01-05 Thread Menaka Jayawardena
Congratulations Sajith..!

On Thu, Jan 5, 2017 at 11:16 AM, Fazlan Nazeem  wrote:

> Congratulations Sajith!
>
> On Thu, Jan 5, 2017 at 11:07 AM, Grainier Perera 
> wrote:
>
>> Congratz Sajith..!! :)
>>
>> On Thu, Jan 5, 2017 at 8:32 AM, Mohanadarshan Vivekanandalingam <
>> mo...@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> It is my pleasure to welcome Sajith Perera as a WSO2 Committer. Sajith
>>> has been a valuable contributor in WSO2 analytics space and performed
>>> enormous tasks on CEP tooling, CEP HA and Log Analyzer.
>>>
>>> SajithD, welcome aboard and keep up the good work.
>>>
>>>
>>> Thanks,
>>> Mohan
>>>
>>>
>>> --
>>> *V. Mohanadarshan*
>>> *Associate Tech Lead,*
>>> *Data Technologies Team,*
>>> *WSO2, Inc. http://wso2.com  *
>>> *lean.enterprise.middleware.*
>>>
>>> email: mo...@wso2.com
>>> phone:(+94) 771117673 <+94%2077%20111%207673>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Grainier Perera
>> Software Engineer
>> Mobile : +94716122384 <+94%2071%20612%202384>
>> WSO2 Inc. | http://wso2.com
>> lean.enterprise.middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks & Regards,
>
> Fazlan Nazeem
>
> *Software Engineer*
>
> *WSO2 Inc*
> Mobile : +94772338839
> <%2B94%20%280%29%20773%20451194>
> fazl...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Menaka Jayawardena*
*Software Engineer - WSO2 Inc*
*Tel : 071 350 5470/ 071 885 1183*
*LinkedIn: https://lk.linkedin.com/in/menakajayawardena
*
*Blog: https://menakamadushanka.wordpress.com/
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev