Re: [Dev] WSO2 Committers += Sajith Perera

2017-01-04 Thread Fazlan Nazeem
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


Re: [Dev] WSO2 Committers += Sajith Perera

2017-01-04 Thread Grainier Perera
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
WSO2 Inc. | http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sajith Perera

2017-01-04 Thread Ashen Weerathunga
Congratulations Sajith!!!

On Thu, Jan 5, 2017 at 10:49 AM, Maneesha Wijesekara 
wrote:

> Congratulations Sajith..!!
>
> On Thu, Jan 5, 2017 at 10:41 AM, Sajith Ravindra  wrote:
>
>> Congratz Sajith!!!
>>
>> Thanks
>> *,Sajith Ravindra*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 77 2273550
>> blog: http://sajithr.blogspot.com/
>> 
>>
>> 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
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Maneesha Wijesekara
> Software Engineer - EE Team
> WSO2 Inc.
>
> Email: manee...@wso2.com
> Linkedin: http://linkedin.com/in/maneeshawijesekara
> Mobile: +94712443119
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Ashen Weerathunga*
Software Engineer
WSO2 Inc.: http://wso2.com
lean.enterprise.middleware

Email: as...@wso2.com
Mobile: tel:94716042995 <94716042995>
LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
*

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


Re: [Dev] WSO2 Committers += Sajith Perera

2017-01-04 Thread Maneesha Wijesekara
Congratulations Sajith..!!

On Thu, Jan 5, 2017 at 10:41 AM, Sajith Ravindra  wrote:

> Congratz Sajith!!!
>
> Thanks
> *,Sajith Ravindra*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273550
> blog: http://sajithr.blogspot.com/
> 
>
> 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
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

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


Re: [Dev] WSO2 Committers += Sajith Perera

2017-01-04 Thread Damith Wickramasinghe
Congratz Sajith ... !

On Thu, Jan 5, 2017 at 10:41 AM, Sajith Ravindra  wrote:

> Congratz Sajith!!!
>
> Thanks
> *,Sajith Ravindra*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273550
> blog: http://sajithr.blogspot.com/
> 
>
> 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
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Software Engineer
WSO2 Inc.; http://wso2.com

lean.enterprise.middleware

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


Re: [Dev] WSO2 Committers += Sajith Perera

2017-01-04 Thread Tishan Dahanayakage
Congratz Sajith!!

On Thu, Jan 5, 2017 at 10:41 AM, Sajith Ravindra  wrote:

> Congratz Sajith!!!
>
> Thanks
> *,Sajith Ravindra*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273550
> blog: http://sajithr.blogspot.com/
> 
>
> 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
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Tishan Dahanayakage
Senior Software Engineer
WSO2, Inc.
Mobile:+94 716481328

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


Re: [Dev] WSO2 Committers += Sajith Perera

2017-01-04 Thread Sajith Ravindra
Congratz Sajith!!!

Thanks
*,Sajith Ravindra*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273550
blog: http://sajithr.blogspot.com/


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
>
>
___
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-04 Thread SajithAR Ariyarathna
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  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/10UDdArHV1eYEfiONu8saqPnnJyUjH
> 3vxOrv0k0rK5hc/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/

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


Re: [Dev] [Architecture] [C5] MSF4J Interceptors need to be configurable.

2017-01-04 Thread Ishara Cooray
Sounds good.
Thanks Kishanthan.

Thanks & Regards,
Ishara Cooray
Senior Software Engineer
Mobile : +9477 262 9512
WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

On Wed, Jan 4, 2017 at 5:30 PM, Kishanthan Thangarajah 
wrote:

> We are working on this. We couldn't progress much last week due to other
> priorities. The plan is to deliver in two weeks time.
>
> On Tue, Jan 3, 2017 at 1:40 PM, Ishara Cooray  wrote:
>
>> Hi,
>>
>> What could be the status of this? Do we have a time line defined?
>>
>> Thanks & Regards,
>> Ishara Cooray
>> Senior Software Engineer
>> Mobile : +9477 262 9512 <+94%2077%20262%209512>
>> WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> On Fri, Dec 9, 2016 at 2:18 PM, Sagara Gunathunga 
>> wrote:
>>
>>>
>>>
>>> On Fri, Dec 9, 2016 at 2:15 PM, Sanjeewa Malalgoda 
>>> wrote:
>>>
 Hi All,
 Please find inline comments.

 On Fri, Dec 9, 2016 at 12:49 PM, Sagara Gunathunga 
 wrote:

>
>
> On Thu, Dec 8, 2016 at 6:59 PM, Ishara Cooray 
> wrote:
>
>> To overcome the above limitation where we cannot plug custom
>> authentication, i came up with the below approach.
>>
>> Having one interceptor and delegate authentication to an interface.
>> Implementation of the interface is configurable so that we can plug 
>> custom
>> authentication as well.
>>
>> [image: Inline image 1]
>>
>> One limitation here is we can have only one auth type active at a
>> time.
>>
>> Hi Sanjeewa,
>>
>> Shall we continue with this approach until we get a proper fix from
>> msf4j?
>>
>
> It's ok to use above  approach as a temporary workaround till we get
> proper solution from MSF4J, but please make sure to implement only 
> required
> features in a simple manner because you have to discard this and have to
> use proper MSF4J approach before any release.
>
> By looking at issues faced by API-M and IS teams we have few issues to
> solve,
>
>
> 1. Ability to apply/skip Interceptors in global and per-service levels
> 2. Ability to define the order of Interceptors
> 3. Ability to intercept response messages
>
 Ability to build security and user context in a way we can access it
 from service implementation.
 Most of the other platforms allowed to do that and people who work on
 service implementation can get real advantage of that.

>
> The good news is JAX-RS 2.0 spec is already solved these issues and we
> can adopt their concepts easily to MSF4J programming model. Please refer
> solution for each issue below.
>
>
> *1. Ability to intercept response messages *
>
> JAX-RS defines 2 interfaces as ContainerRequestFilter[1] and
> ContainerResponseFilter[2] to intercept request and response messages, IMO
> these 2 interfaces are much clean and standard then current MSF4J
> Interceptor[3] concept where response intercepting is not simple.
>
>
> *2.  Ability to apply/skip Interceptors  in global and per-service
> levels *
>
> Annotation driven NameBinding[4] concept defined for JAX-RS Filters is
> very flexible and easy to use as well. This NameBinding[4] feature enables
> to apply JAX-RS Filters at global, per-Resource or even per-sub-Resource
> level.
>
> *3. Define the order of Interceptors *
>
> JAX-RS defines several message processing extension points such as
> Pre, PreMatch, Post, it's possible to apply Filters during some of these
> message processing stages, as an example refer PreMatching[5] annotation.
>
> Further, to define fine grained order of Filters JAX-RS reuse Java's
> standard Priority[1] annotation, through this annotation numeric priority
> value can be define per Filters basis. JAX-RS already provide set of
> pre-defined Priories here[6]
>
 Ability to engage in different phases is definitely a good feature. But
 there can be situations where we need to engage multiple interceptors at
 same phase with order of execution. As example i need to engage both
 authenticate and authorization interceptors in pre invoke phase but
 authenticator first and then authorizer as 2nd interceptor. In that case we
 need to mention phase and order within phase in some way. It seems CXF and
 other run times already handled this in different ways.

>>>
>>> This requirement is well handled by the JAX-RS concept I described
>>> above.
>>>
>>> Thanks !
>>>


 [1]http://cxf.apache.org/docs/interceptors.html

 Thanks,
 sanjeewa.

>
>
> I have setup a meeting in next Wednesday, if we can cater current
> requirements using above concepts let's go ahead with JAX-RS Filters.
>
>
> [1] - https://jax-rs-spec.java.net/nonav/2.0-SNAPSHOT/apidocs/in
> dex.html?javax/ws/rs/container/ContainerRequ

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

2017-01-04 Thread Indunil Upeksha Rathnayake
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/10UDdArHV1eYEfiONu8saqPnnJyUjH3vxOrv0k0rK5hc/edit#

Thanks and Regards
-- 
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] WSO2 Committers += Sajith Perera

2017-01-04 Thread Mohanadarshan Vivekanandalingam
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


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

2017-01-04 Thread Chamila Wijayarathna
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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Willing to Contribute in Machine Learning Projects

2017-01-04 Thread Satyarth Praveen
Thank you so much for your time.

I'd love to start with the Integration of Recurrent Neural Networks.
And I'll let you know if there's anything interesting that strikes me.

Regards,

Satyarth

On Wed, Jan 4, 2017 at 10:08 AM, Sameera Ramasinghe 
wrote:

> Hi Satyarth,
>
> To have an idea about the current features and the state of our Machine
> Learner product, please go through the documentation[1], and you can
> download the latest released version from [2]. As you may already know, we
> support a number of popular algorithms (mentioned in the documentation),
> but there is certainly room from improvement.
>
> For example, Integrating Recurrent Neural Nets to our product has been on
> the waiting list for some time now. If you are interested, it will be a
> good starting point for you to do some valuable contribution. Or else, if
> you come through any other interesting idea, after going through the
> documentation, you are always welcome to let us know and work on it. Thank
> you for the interest shown in contribution to WSO2.
>
> [1] - https://docs.wso2.com/display/ML120/WSO2+Machine+Learner+
> Documentation
> [2]- http://wso2.com/products/machine-learner/
>
>
> On Wed, Jan 4, 2017 at 10:12 AM, Vinod Kavinda  wrote:
>
>> [Adding Nirmal, Seshika]
>>
>> On Tue, Jan 3, 2017 at 4:40 PM, Satyarth Praveen 
>> wrote:
>>
>>> Hi,
>>>
>>> I am Satyarth and I am willing to contribute to WSO2.
>>> I have been involved in the field of Machine Learning for a while now
>>> and wish to contribute to a similar project.
>>>
>>> I found *carbon-ml* and *product-ml* repositories in WSO2 that match
>>> this profile.
>>>
>>> It'll be great if someone could help me figure out how to proceed or if
>>> there is a better machine learning project that I could work.
>>>
>>> Thank you
>>>
>>> Regards,
>>> Satyarth Praveen
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Vinod Kavinda
>> Software Engineer
>> *WSO2 Inc. - lean . enterprise . middleware .*
>> Mobile : +94 (0) 712 415544
>> Blog : http://soatechflicks.blogspot.com/
>> [image: http://wso2.com/signature]
>> 
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Sameera Ramasinghe*
> Software Engineer, WSO2 Inc.; http://wso2.com
> mobile: *+94 714489682*
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please merge this PR

2017-01-04 Thread Nadheesh Jihan
Hi,

Could you please review and merge.
https://github.com/wso2/carbon-ml/pull/248

-- 
Best regards,
*J. Nadheesh Jihan*
Software Engineering Intern
WSO2 Inc

Mobile: *+9476 8525534 *
___
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-04 Thread Hanen Ben Rhouma
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


[Dev] [VOTE] Release WSO2 Identity Server 5.3.0- RC2

2017-01-04 Thread Pulasthi Mahawithana
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/product-is/releases/tag/v5.3.0-rc2
Analytics   : https://github.com/wso2/analytics-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
Blog: http://blog.pulasthi.org


___
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-04 Thread Darshana Gunawardana
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-04 Thread Darshana Gunawardana
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*Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] InoRecoverySample

2017-01-04 Thread Koné Alioune Badara
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


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

2017-01-04 Thread Hanen Ben Rhouma
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


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

2017-01-04 Thread Hanen Ben Rhouma
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>
>
>
___
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-04 Thread Chamila Wijayarathna
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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [C5] MSF4J Interceptors need to be configurable.

2017-01-04 Thread Kishanthan Thangarajah
We are working on this. We couldn't progress much last week due to other
priorities. The plan is to deliver in two weeks time.

On Tue, Jan 3, 2017 at 1:40 PM, Ishara Cooray  wrote:

> Hi,
>
> What could be the status of this? Do we have a time line defined?
>
> Thanks & Regards,
> Ishara Cooray
> Senior Software Engineer
> Mobile : +9477 262 9512 <+94%2077%20262%209512>
> WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> On Fri, Dec 9, 2016 at 2:18 PM, Sagara Gunathunga  wrote:
>
>>
>>
>> On Fri, Dec 9, 2016 at 2:15 PM, Sanjeewa Malalgoda 
>> wrote:
>>
>>> Hi All,
>>> Please find inline comments.
>>>
>>> On Fri, Dec 9, 2016 at 12:49 PM, Sagara Gunathunga 
>>> wrote:
>>>


 On Thu, Dec 8, 2016 at 6:59 PM, Ishara Cooray  wrote:

> To overcome the above limitation where we cannot plug custom
> authentication, i came up with the below approach.
>
> Having one interceptor and delegate authentication to an interface.
> Implementation of the interface is configurable so that we can plug custom
> authentication as well.
>
> [image: Inline image 1]
>
> One limitation here is we can have only one auth type active at a time.
>
> Hi Sanjeewa,
>
> Shall we continue with this approach until we get a proper fix from
> msf4j?
>

 It's ok to use above  approach as a temporary workaround till we get
 proper solution from MSF4J, but please make sure to implement only required
 features in a simple manner because you have to discard this and have to
 use proper MSF4J approach before any release.

 By looking at issues faced by API-M and IS teams we have few issues to
 solve,


 1. Ability to apply/skip Interceptors in global and per-service levels
 2. Ability to define the order of Interceptors
 3. Ability to intercept response messages

>>> Ability to build security and user context in a way we can access it
>>> from service implementation.
>>> Most of the other platforms allowed to do that and people who work on
>>> service implementation can get real advantage of that.
>>>

 The good news is JAX-RS 2.0 spec is already solved these issues and we
 can adopt their concepts easily to MSF4J programming model. Please refer
 solution for each issue below.


 *1. Ability to intercept response messages *

 JAX-RS defines 2 interfaces as ContainerRequestFilter[1] and
 ContainerResponseFilter[2] to intercept request and response messages, IMO
 these 2 interfaces are much clean and standard then current MSF4J
 Interceptor[3] concept where response intercepting is not simple.


 *2.  Ability to apply/skip Interceptors  in global and per-service
 levels *

 Annotation driven NameBinding[4] concept defined for JAX-RS Filters is
 very flexible and easy to use as well. This NameBinding[4] feature enables
 to apply JAX-RS Filters at global, per-Resource or even per-sub-Resource
 level.

 *3. Define the order of Interceptors *

 JAX-RS defines several message processing extension points such as Pre,
 PreMatch, Post, it's possible to apply Filters during some of these message
 processing stages, as an example refer PreMatching[5] annotation.

 Further, to define fine grained order of Filters JAX-RS reuse Java's
 standard Priority[1] annotation, through this annotation numeric priority
 value can be define per Filters basis. JAX-RS already provide set of
 pre-defined Priories here[6]

>>> Ability to engage in different phases is definitely a good feature. But
>>> there can be situations where we need to engage multiple interceptors at
>>> same phase with order of execution. As example i need to engage both
>>> authenticate and authorization interceptors in pre invoke phase but
>>> authenticator first and then authorizer as 2nd interceptor. In that case we
>>> need to mention phase and order within phase in some way. It seems CXF and
>>> other run times already handled this in different ways.
>>>
>>
>> This requirement is well handled by the JAX-RS concept I described above.
>>
>> Thanks !
>>
>>>
>>>
>>> [1]http://cxf.apache.org/docs/interceptors.html
>>>
>>> Thanks,
>>> sanjeewa.
>>>


 I have setup a meeting in next Wednesday, if we can cater current
 requirements using above concepts let's go ahead with JAX-RS Filters.


 [1] - https://jax-rs-spec.java.net/nonav/2.0-SNAPSHOT/apidocs/in
 dex.html?javax/ws/rs/container/ContainerRequestFilter.html
 [2] - https://jax-rs-spec.java.net/nonav/2.0-SNAPSHOT/apidocs/ja
 vax/ws/rs/container/ContainerResponseFilter.html
 [3] - https://github.com/wso2/msf4j/blob/master/core/src/main/ja
 va/org/wso2/msf4j/Interceptor.java
 [4] - https://jax-rs-spec.java.net/nonav/2.0-SNAPSHOT/apidocs/in
 dex.html?javax/ws/rs/NameBinding.html
 [5] - https://jax-rs-spec.java.net/nonav

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

2017-01-04 Thread Hanen Ben Rhouma
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


Re: [Dev] C5 Carbon JNDI implementation does not support for LDAP

2017-01-04 Thread Kishanthan Thangarajah
On Tue, Jan 3, 2017 at 11:24 AM, Ishara Karunarathna 
wrote:

> Hi Kernel team,
>
> Current carbon JNDI Implementation does not support for LDAPs. Basically
> it does not support for
> DirContext operations.
>

We did not have a requirement to support this that is why it is not
implemented. Since IS will mostly be using LDAP related JNDI lookups and it
should be supported with the provider implementation (may be apache
directory and need to check whether this would work with jre supported
providers), it is best that if you guys can work on it and add to
carbon-jndi?



> In addition to that it need to support to load JRE supported context
> providers.
>
> To implement LDAP connector for User management core in C5 base IS we need
> this.
> Can we get improvement  ?
>
> Thanks,
> Ishara
>
> --
> Ishara Karunarathna
> Associate Technical Lead
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
> +94717996791 <+94%2071%20799%206791>
>
>
>


-- 
*Kishanthan Thangarajah*
Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635 <+94%2077%20342%206635>
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Logs in Wso2 IS

2017-01-04 Thread Koné Alioune Badara
Hello,

Thank you for the answer, is it planned to add that audit in the UI? If
not, is there a possibility to add an external pluggin to do so?

Regards.

2017-01-04 10:57 GMT+01:00 Darshana Gunawardana :

> Hi Koné,
>
> The default management console does not provide the capability to monitor
> audit logs from its UI.
>
> Adding our analytics experts to get more insight from our log analyzing
> efforts.
>
> Thanks,
>
> On Wed, Jan 4, 2017 at 2:54 PM, Koné Alioune Badara <
> kon...@etna-alternance.net> wrote:
>
>> Hello,
>>
>> Yes it is exactly what I mean.
>>
>> Regards.
>>
>> 2017-01-04 9:41 GMT+01:00 Chamila Wijayarathna 
>> :
>>
>>> Hi Koné,
>>>
>>> What you mean by having the log in the management console? You want to
>>> see the log in a UI page in management console?
>>>
>>> On Wed, Jan 4, 2017 at 7:37 PM, Koné Alioune Badara <
>>> kon...@etna-alternance.net> wrote:
>>>
 Hello,

 Thank you for your answers, is there anyway to have this log in the
 management console?

 Regards.

 2017-01-04 2:19 GMT+01:00 Chamila Wijayarathna <
 cdwijayarat...@gmail.com>:

> I reporter issue with audit logs in profile update at [1
> ]. Please feel free to
> close if not relevant.
>
> [1]. https://wso2.org/jira/browse/IDENTITY-5557
>
> On Wed, Jan 4, 2017 at 10:01 AM, Chamila Wijayarathna <
> cdwijayarat...@gmail.com> wrote:
>
>> Hi Koné,
>>
>> You can find logs for user creation and deletion at
>> /repository/logs/audit file. It also logs change password events. However
>> it does not seem to log user profile update events which IMO should be
>> logged as well.
>>
>> @Johann : Is there any particular reason for not logging user profile
>> updates at audit logs?
>>
>> Regards!
>>
>> On Wed, Jan 4, 2017 at 4:05 AM, Koné Alioune Badara <
>> kon...@etna-alternance.net> wrote:
>>
>>> Hello,
>>>
>>> Where can I find the logs of user created/updated/deleted in Wso2IS
>>> management console?
>>>
>>> Regards,
>>>
>>> --
>>> Cordialement,
>>>
>>> Alioune B KONÉ.
>>>
>>> ___
>>> 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 <+61%20416%20895%20795>
>
>


 --
 Cordialement,

 Alioune B KONÉ.
 MASTER ETNA 2016.

>>>
>>>
>>>
>>> --
>>> 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>
>>>
>>>
>>
>>
>> --
>> Cordialement,
>>
>> Alioune B KONÉ.
>> MASTER ETNA 2016.
>>
>> ___
>> 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
>



-- 
Cordialement,

Alioune B KONÉ.
MASTER ETNA 2016.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Logs in Wso2 IS

2017-01-04 Thread Darshana Gunawardana
Hi Koné,

The default management console does not provide the capability to monitor
audit logs from its UI.

Adding our analytics experts to get more insight from our log analyzing
efforts.

Thanks,

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

> Hello,
>
> Yes it is exactly what I mean.
>
> Regards.
>
> 2017-01-04 9:41 GMT+01:00 Chamila Wijayarathna :
>
>> Hi Koné,
>>
>> What you mean by having the log in the management console? You want to
>> see the log in a UI page in management console?
>>
>> On Wed, Jan 4, 2017 at 7:37 PM, Koné Alioune Badara <
>> kon...@etna-alternance.net> wrote:
>>
>>> Hello,
>>>
>>> Thank you for your answers, is there anyway to have this log in the
>>> management console?
>>>
>>> Regards.
>>>
>>> 2017-01-04 2:19 GMT+01:00 Chamila Wijayarathna >> >:
>>>
 I reporter issue with audit logs in profile update at [1
 ]. Please feel free to
 close if not relevant.

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

 On Wed, Jan 4, 2017 at 10:01 AM, Chamila Wijayarathna <
 cdwijayarat...@gmail.com> wrote:

> Hi Koné,
>
> You can find logs for user creation and deletion at
> /repository/logs/audit file. It also logs change password events. However
> it does not seem to log user profile update events which IMO should be
> logged as well.
>
> @Johann : Is there any particular reason for not logging user profile
> updates at audit logs?
>
> Regards!
>
> On Wed, Jan 4, 2017 at 4:05 AM, Koné Alioune Badara <
> kon...@etna-alternance.net> wrote:
>
>> Hello,
>>
>> Where can I find the logs of user created/updated/deleted in Wso2IS
>> management console?
>>
>> Regards,
>>
>> --
>> Cordialement,
>>
>> Alioune B KONÉ.
>>
>> ___
>> 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 <+61%20416%20895%20795>


>>>
>>>
>>> --
>>> Cordialement,
>>>
>>> Alioune B KONÉ.
>>> MASTER ETNA 2016.
>>>
>>
>>
>>
>> --
>> 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>
>>
>>
>
>
> --
> Cordialement,
>
> Alioune B KONÉ.
> MASTER ETNA 2016.
>
> ___
> 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*Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Logs in Wso2 IS

2017-01-04 Thread Koné Alioune Badara
Hello,

Yes it is exactly what I mean.

Regards.

2017-01-04 9:41 GMT+01:00 Chamila Wijayarathna :

> Hi Koné,
>
> What you mean by having the log in the management console? You want to see
> the log in a UI page in management console?
>
> On Wed, Jan 4, 2017 at 7:37 PM, Koné Alioune Badara <
> kon...@etna-alternance.net> wrote:
>
>> Hello,
>>
>> Thank you for your answers, is there anyway to have this log in the
>> management console?
>>
>> Regards.
>>
>> 2017-01-04 2:19 GMT+01:00 Chamila Wijayarathna 
>> :
>>
>>> I reporter issue with audit logs in profile update at [1
>>> ]. Please feel free to
>>> close if not relevant.
>>>
>>> [1]. https://wso2.org/jira/browse/IDENTITY-5557
>>>
>>> On Wed, Jan 4, 2017 at 10:01 AM, Chamila Wijayarathna <
>>> cdwijayarat...@gmail.com> wrote:
>>>
 Hi Koné,

 You can find logs for user creation and deletion at
 /repository/logs/audit file. It also logs change password events. However
 it does not seem to log user profile update events which IMO should be
 logged as well.

 @Johann : Is there any particular reason for not logging user profile
 updates at audit logs?

 Regards!

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

> Hello,
>
> Where can I find the logs of user created/updated/deleted in Wso2IS
> management console?
>
> Regards,
>
> --
> Cordialement,
>
> Alioune B KONÉ.
>
> ___
> 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 <+61%20416%20895%20795>
>>>
>>>
>>
>>
>> --
>> Cordialement,
>>
>> Alioune B KONÉ.
>> MASTER ETNA 2016.
>>
>
>
>
> --
> 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>
>
>


-- 
Cordialement,

Alioune B KONÉ.
MASTER ETNA 2016.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Logs in Wso2 IS

2017-01-04 Thread Chamila Wijayarathna
Hi Koné,

What you mean by having the log in the management console? You want to see
the log in a UI page in management console?

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

> Hello,
>
> Thank you for your answers, is there anyway to have this log in the
> management console?
>
> Regards.
>
> 2017-01-04 2:19 GMT+01:00 Chamila Wijayarathna :
>
>> I reporter issue with audit logs in profile update at [1
>> ]. Please feel free to close
>> if not relevant.
>>
>> [1]. https://wso2.org/jira/browse/IDENTITY-5557
>>
>> On Wed, Jan 4, 2017 at 10:01 AM, Chamila Wijayarathna <
>> cdwijayarat...@gmail.com> wrote:
>>
>>> Hi Koné,
>>>
>>> You can find logs for user creation and deletion at
>>> /repository/logs/audit file. It also logs change password events. However
>>> it does not seem to log user profile update events which IMO should be
>>> logged as well.
>>>
>>> @Johann : Is there any particular reason for not logging user profile
>>> updates at audit logs?
>>>
>>> Regards!
>>>
>>> On Wed, Jan 4, 2017 at 4:05 AM, Koné Alioune Badara <
>>> kon...@etna-alternance.net> wrote:
>>>
 Hello,

 Where can I find the logs of user created/updated/deleted in Wso2IS
 management console?

 Regards,

 --
 Cordialement,

 Alioune B KONÉ.

 ___
 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 <+61%20416%20895%20795>
>>
>>
>
>
> --
> Cordialement,
>
> Alioune B KONÉ.
> MASTER ETNA 2016.
>



-- 
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] Logs in Wso2 IS

2017-01-04 Thread Koné Alioune Badara
Hello,

Thank you for your answers, is there anyway to have this log in the
management console?

Regards.

2017-01-04 2:19 GMT+01:00 Chamila Wijayarathna :

> I reporter issue with audit logs in profile update at [1
> ]. Please feel free to close
> if not relevant.
>
> [1]. https://wso2.org/jira/browse/IDENTITY-5557
>
> On Wed, Jan 4, 2017 at 10:01 AM, Chamila Wijayarathna <
> cdwijayarat...@gmail.com> wrote:
>
>> Hi Koné,
>>
>> You can find logs for user creation and deletion at
>> /repository/logs/audit file. It also logs change password events. However
>> it does not seem to log user profile update events which IMO should be
>> logged as well.
>>
>> @Johann : Is there any particular reason for not logging user profile
>> updates at audit logs?
>>
>> Regards!
>>
>> On Wed, Jan 4, 2017 at 4:05 AM, Koné Alioune Badara <
>> kon...@etna-alternance.net> wrote:
>>
>>> Hello,
>>>
>>> Where can I find the logs of user created/updated/deleted in Wso2IS
>>> management console?
>>>
>>> Regards,
>>>
>>> --
>>> Cordialement,
>>>
>>> Alioune B KONÉ.
>>>
>>> ___
>>> 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 <+61%20416%20895%20795>
>
>


-- 
Cordialement,

Alioune B KONÉ.
MASTER ETNA 2016.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev