[Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.10 RC1

2016-10-28 Thread Thusitha Thilina Dayaratne
Hi Devs, This is the 1st release candidate of WSO2 Carbon Kernel 4.4.10. This release fixes the following issues *https://wso2.org/jira/issues/?filter=13580 * Please download and test your products with kernel 4.4.10 RC1 and vote. The vote will be

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

2016-10-28 Thread Gayan Gunawardana
On Fri, Oct 28, 2016 at 2:54 PM, Lakshani Gamage wrote: > Hi Hanen, > > This article [1] contains how to communicate Identity server with REST > APIs. It will be a help to your POC. > > [1] http://wso2.com/library/articles/2016/10/article- >

Re: [Dev] Having base contexts for micro service based APIs running within kernal

2016-10-28 Thread Thusitha Thilina Dayaratne
Hi Sagara, I've added the property file based improvement to the rc3. But due to some issues didn't add the YML based improvement. Will fix them and add to the next release. Thanks Thusitha On Wed, Oct 26, 2016 at 8:33 AM, Sagara Gunathunga wrote: > > Hi Thusitha, > > Please

Re: [Dev] Having base contexts for micro service based APIs running within kernal

2016-10-28 Thread Sagara Gunathunga
On Fri, Oct 28, 2016 at 8:56 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Sagara, > > I've added the property file based improvement to the rc3. But due to some > issues didn't add the YML based improvement. > Will fix them and add to the next release. > Can you please

Re: [Dev] [IS-5.3.0-M5] User-name recovery for users in secondary user-store and email users

2016-10-28 Thread Darshana Gunawardana
On Fri, Oct 28, 2016 at 3:27 PM, Ayesha Dissanayaka wrote: > Hi, > > In IS-5.3.0-M5, configured a secondary user-store _TEST_ and added a user > with username "ayesha" into TEST domain. Then updated profile information, > Firstname, Lastname and email accordingly. Now from

Re: [Dev] Having base contexts for micro service based APIs running within kernal

2016-10-28 Thread Sagara Gunathunga
On Fri, Oct 28, 2016 at 9:11 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Sagara, > > When adding YAML based config, though the config is properly picked, > profiles are not getting set. I compared the implementation with > springboot. There they having a separate property

Re: [Dev] Having base contexts for micro service based APIs running within kernal

2016-10-28 Thread Thusitha Thilina Dayaratne
Hi Sagara, When adding YAML based config, though the config is properly picked, profiles are not getting set. I compared the implementation with springboot. There they having a separate property source for the active configuration based on the YAML. I don't think we should keep them for next

Re: [Dev] Custom Active Directory User Store

2016-10-28 Thread Godwin Shrimal
Hi Ken, Yes. You can SSO carbon products as described in [1]. If you need to SSO API manager and IS, those will be SPs in identity server and you need to set the local and outbound authenticator of those SPs as newly creating custom authenticator. [1]

Re: [Dev] [IoTS] How to redeploy the updated device type in IoTS alpha

2016-10-28 Thread 云展智创
Lakshani, Thanks. Will it delete the original database table when we uninstall the features? if not, then what we should do if we need to update the schema of the device type table or add more tables in sql file. -- Zhanwen Zhou (Jason) +86 13922218435 zhanwen.z...@smartcloudex.com

Re: [Dev] [IoTS] How to redeploy the updated device type in IoTS alpha

2016-10-28 Thread Lakshani Gamage
Hi Zhanwen, Please see the accepted answer in [1] [1] http://stackoverflow.com/questions/37517158/wso2-iots- update-device-plugin-code-to-server Thanks, Lakshani. On Fri, Oct 28, 2016 at 6:19 PM, 云展智创 wrote: > Hi team, > > I have deployed my device type in IoTS alpha

Re: [Dev] Custom Active Directory User Store

2016-10-28 Thread Godwin Shrimal
Hi Ken, User store manager doesn't have any control to do redirection such as password change page. User store manager take care of user operations such as create/update/authenticate etc. in your scenario its authenticate. Yes. doAuthenticate is the correct function to override. For overcome your

[Dev] Custom Active Directory User Store

2016-10-28 Thread Ken McDonald
Hi everyone. I am looking to create a custom user store for Active Directory that uses the User Account Control field to reflect whether a user is requiring a password change based on an expired password. I was also looking to implement the "force change password on first login" here as well.

Re: [Dev] [P2] Error while building EMM 2.2.0 with carbon-kernel 4.4.10-SNAPSHOT

2016-10-28 Thread Malintha Fernando
Hi Thusitha, Thank you for the input. It worked fine! Malintha On Fri, Oct 28, 2016 at 6:06 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Malintha, > > In the carbon.product version should be 4.4.10.SNAPSHOT (Note . instead of > -) > > Thanks > Thusitha > > On Fri, Oct 28,

[Dev] [IoTS] How to redeploy the updated device type in IoTS alpha

2016-10-28 Thread 云展智创
Hi team, I have deployed my device type in IoTS alpha and run for a while. Then I updated some codes in api, agent, etc. Can anyone tell me how to redeploy the updated device type? I want to keep my device instance data in IoTS database. Thanks. -- Zhanwen Zhou (Jason) +86 13922218435

Re: [Dev] [P2] Error while building EMM 2.2.0 with carbon-kernel 4.4.10-SNAPSHOT

2016-10-28 Thread Thusitha Thilina Dayaratne
Hi Malintha, In the carbon.product version should be 4.4.10.SNAPSHOT (Note . instead of -) Thanks Thusitha On Fri, Oct 28, 2016 at 4:01 PM, Malintha Fernando wrote: > Hi All, > > I am getting the following error while trying to build EMM-2.2.0 with > carbon-kernel

[Dev] [P2] Error while building EMM 2.2.0 with carbon-kernel 4.4.10-SNAPSHOT

2016-10-28 Thread Malintha Fernando
Hi All, I am getting the following error while trying to build EMM-2.2.0 with carbon-kernel 4.4.10-SNAPSHOT. I changed the version of carbon.product file to "4.4.10-SNAPSHOP" and it threw this parsing error. It failed even when I tried with just "4.4.10". Any input on this is appreciated.

Re: [Dev] [IS-5.3.0-M5] User-name recovery for users in secondary user-store and email users

2016-10-28 Thread Ayesha Dissanayaka
Understood. IMO, in a default pack we should send the tenant domain append to username in the recovery email, shouldn't we? And configuration points should be properly documented. On Fri, Oct 28, 2016 at 4:50 PM, Johann Nallathamby wrote: > So questions is why you cannot login

Re: [Dev] [IS-5.3.0-M5] User-name recovery for users in secondary user-store and email users

2016-10-28 Thread Johann Nallathamby
On Fri, Oct 28, 2016 at 5:18 PM, Ayesha Dissanayaka wrote: > Understood. IMO, in a default pack we should send the tenant domain append > to username in the recovery email, shouldn't we? > And configuration points should be properly documented. > > On Fri, Oct 28, 2016 at 4:50

Re: [Dev] [IS-5.3.0-M5] User-name recovery for users in secondary user-store and email users

2016-10-28 Thread Johann Nallathamby
The name sent in the email address is configurable. There are separate place holders for username, userstore and tenant domain. You can use one or more of the above. However when logging in it is expected to behave like carbon admin console. I.e. tenant domain is mandatory and user store domain

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

2016-10-28 Thread Lakshani Gamage
Hi Hanen, This article [1] contains how to communicate Identity server with REST APIs. It will be a help to your POC. [1] http://wso2.com/library/articles/2016/10/article-exposing-wso2-identity-server-admin-services-the-rest-way/ Regards, Lakshani On Fri, Oct 28, 2016 at 1:22 PM, Ben Rhouma,

Re: [Dev] logging in C5

2016-10-28 Thread Kishanthan Thangarajah
We use SLF4J as the common logging API in the platform. On Fri, Oct 28, 2016 at 3:17 PM, Sajith Kariyawasam wrote: > > > On Mon, Oct 24, 2016 at 10:05 AM, Kishanthan Thangarajah < > kishant...@wso2.com> wrote: > >> Use the below dependency and refer the link more info - >>

[Dev] [IS-5.3.0-M5] User-name recovery for users in secondary user-store and email users

2016-10-28 Thread Ayesha Dissanayaka
Hi, In IS-5.3.0-M5, configured a secondary user-store _TEST_ and added a user with username "ayesha" into TEST domain. Then updated profile information, Firstname, Lastname and email accordingly. Now from dashboad app when trying to recover username for this user, the email sent to ayesha's email

Re: [Dev] logging in C5

2016-10-28 Thread Sajith Kariyawasam
On Mon, Oct 24, 2016 at 10:05 AM, Kishanthan Thangarajah < kishant...@wso2.com> wrote: > Use the below dependency and refer the link more info - > https://docs.wso2.com/display/Carbon500/Configuring+the+Logging+Framework > > > org.ops4j.pax.logging > pax-logging-api > 1.9.0 > > >

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

2016-10-28 Thread Lakshani Gamage
Hi Hanen, This article [1] contains how to communicate Identity server with REST APIs. It will be a help to your POC. [1] http://wso2.com/library/articles/2016/10/article-exposing-wso2-identity-server-admin-services-the-rest-way/ Thanks, Lakshani On Fri, Oct 28, 2016 at 2:30 PM, Hanen Ben

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

2016-10-28 Thread Hanen Ben Rhouma
Hello, We’re working on a POC related to Authentication and Identity Management using WSO2. We’re looking for a way to configure the Identity Provider to communicate with a REST API or even a database in order to retrieve more details about the user trying to authenticate so that those details

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

2016-10-28 Thread Ben Rhouma, Hanen (FircoSoft)
Hello, We're working on a POC related to Authentication and Identity Management using WSO2. We're looking for a way to configure the Identity Provider to communicate with a REST API or even a database in order to retrieve more details about the user trying to authenticate so that those details

[Dev] How to get Inbound Authenticator Property Values

2016-10-28 Thread Kanapriya Kuleswararajan
Hi All, In outbound authenticators, we have set required properties in authenticator UI as in [1] and get the values for that properties from the authentication context as in [2] [1] List configProperties = new ArrayList<>(); Property apiKey = new Property(); apiKey.setName(Constants.APIKEY);

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

2016-10-28 Thread Thusitha Thilina Dayaratne
Hi All, We are calling off this vote due to an issue find while doing internal calls with high concurrency. We will fix that and do a RC2 ASAP. Thanks Thusitha On Tue, Oct 25, 2016 at 10:04 AM, Nisala Nanayakkara wrote: > Hi Thusitha, > > I have tested following samples. > >

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

2016-10-28 Thread Afkham Azeez
Query should be close to the code. +1 for Ruwan's proposal. Not only for queries, you should use your judgment when deciding where to place constants as well. In many cases, it makes sense to keep the constants in the relevant class where it is used but people have been blindly putting those into