Re: [Dev] [IS] [C5] Self sign-up in C5 User Portal

2017-01-02 Thread Ishara Karunarathna
On Tue, Jan 3, 2017 at 12:52 PM, Johann Nallathamby  wrote:

> What are the new user stories we are trying to implement that are not
> already there in IS 5.3.0? Can we come up with a list of new requirements?
> Isn't most of the above user stories already there in IS 5.3.0?
>
Yes in 5.3.0 we have almost complete user store. But when it comes to C5
implementation we can't cover it with a single milestone release,So we need
to start with a simple user story and use different version of that adding
other use cases associated with that.

-Ishara


> On Tue, Jan 3, 2017 at 10:30 AM, Ishara Karunarathna 
> wrote:
>
>> Hi Indunil,
>>
>> When we think about self sign up.
>> basic use case is User comes to self sign up page and add his user
>> informations, system will create a account and let user to login.
>>
>> But there are lot of associated use cases with this. For example.
>> 1. Once user self signed up need to send a verification mail.
>> 2. self sign up should go through a approval process.
>> 3. User should be assign to a particular roles.
>>
>> To cater those requirements we need additional features.  And we may need
>> several version of this user story to complete this feature.
>> For the 1st implementation better to implement the simple case. where use
>> self sign up and login (with login permission only )
>>
>> Thanks,
>> -Ishara
>>
>>
>>
>> On Tue, Jan 3, 2017 at 9:54 AM, Indunil Upeksha Rathnayake <
>> indu...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> In IS C5, we are currently implementing self sign-up in the User Portal
>>> and having following considerations regarding the self sign-up
>>> functionality.
>>>
>>> what would be the correct way of achieving self sign-up and would like
>>> to know how it has been implemented in other C5 based products.
>>> If self sign up is enabled, *users should be create their own user
>>> accounts and will be able to logged in immediately?* or there should be
>>> an *account confirmation through the email* which helps to confirm an
>>> actual user? or there should be configurations to enable/disable both
>>> registration and account confirmation?
>>>
>>> And when it comes to self sign-up, specially if there are no account
>>> confirmation, in C5, I think it's better to include improvements such as a
>>> way to *allow anyone to sign up (no restrictions) or restrict users to
>>> specific domains* and also a way to choose whether *administrators
>>> should receive an email when a new account is created*.
>>>
>>> I would appreciate your ideas/suggestions on this.
>>>
>>> Thanks and Regards
>>> --
>>> Indunil Upeksha Rathnayake
>>> Software Engineer | WSO2 Inc
>>> Emailindu...@wso2.com
>>> Mobile   0772182255
>>>
>>
>>
>>
>> --
>> 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>
>>
>>
>>
>
>
> --
> Thanks & Regards,
>
> *Johann Dilantha Nallathamby*
> Technical Lead & Product Lead of WSO2 Identity Server
> Governance Technologies Team
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com *
>



-- 
Ishara Karunarathna
Associate Technical Lead
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
+94717996791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] [C5] Self sign-up in C5 User Portal

2017-01-02 Thread Johann Nallathamby
What are the new user stories we are trying to implement that are not
already there in IS 5.3.0? Can we come up with a list of new requirements?
Isn't most of the above user stories already there in IS 5.3.0?

On Tue, Jan 3, 2017 at 10:30 AM, Ishara Karunarathna 
wrote:

> Hi Indunil,
>
> When we think about self sign up.
> basic use case is User comes to self sign up page and add his user
> informations, system will create a account and let user to login.
>
> But there are lot of associated use cases with this. For example.
> 1. Once user self signed up need to send a verification mail.
> 2. self sign up should go through a approval process.
> 3. User should be assign to a particular roles.
>
> To cater those requirements we need additional features.  And we may need
> several version of this user story to complete this feature.
> For the 1st implementation better to implement the simple case. where use
> self sign up and login (with login permission only )
>
> Thanks,
> -Ishara
>
>
>
> On Tue, Jan 3, 2017 at 9:54 AM, Indunil Upeksha Rathnayake <
> indu...@wso2.com> wrote:
>
>> Hi,
>>
>> In IS C5, we are currently implementing self sign-up in the User Portal
>> and having following considerations regarding the self sign-up
>> functionality.
>>
>> what would be the correct way of achieving self sign-up and would like to
>> know how it has been implemented in other C5 based products.
>> If self sign up is enabled, *users should be create their own user
>> accounts and will be able to logged in immediately?* or there should be
>> an *account confirmation through the email* which helps to confirm an
>> actual user? or there should be configurations to enable/disable both
>> registration and account confirmation?
>>
>> And when it comes to self sign-up, specially if there are no account
>> confirmation, in C5, I think it's better to include improvements such as a
>> way to *allow anyone to sign up (no restrictions) or restrict users to
>> specific domains* and also a way to choose whether *administrators
>> should receive an email when a new account is created*.
>>
>> I would appreciate your ideas/suggestions on this.
>>
>> Thanks and Regards
>> --
>> Indunil Upeksha Rathnayake
>> Software Engineer | WSO2 Inc
>> Emailindu...@wso2.com
>> Mobile   0772182255
>>
>
>
>
> --
> 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>
>
>
>


-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Technical Lead & Product Lead of WSO2 Identity Server
Governance Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Integration tests for WSO2 IOT Server

2017-01-02 Thread Menaka Jayawardena
Hi,

In IOTS we have 3 separate servers (Analytics, Broker and IOT Core), which
are invoked by a single shell script. (Or we can manually start each server
individually). And in order to execute a full IOT scenario, all the three
servers have to be up and running.

There were some integration tests which were written before this change
(Separating the servers), which test scenarios such as user login, device
type installation, and virtual device enrollment etc.

As Test Automation Framework looks for wso2server.sh in {carbon_home}/bin
directory, I renamed the script. (was start-all.sh)

When running, I got the following error.

I think as the servers are started in processes forked by the 'start-all'
script TAF does not have the access to the logs.

Is there any fix for this issue?

Can we change the script location in test configuration file?

- ERROR MSG --

INFO: Starting carbon server.
Jan 03, 2017 12:08:15 PM org.wso2.carbon.automation.extensions.servers.
carbonserver.CarbonServerExtension handleException
SEVERE: Fail to start carbon server
java.lang.RuntimeException: Port 9763 is not open
at org.wso2.carbon.automation.extensions.servers.utils.ClientConnectionUtil.
waitForPort(ClientConnectionUtil.java:248)
at org.wso2.carbon.automation.extensions.servers.carbonserver.
CarbonServerManager.startServerUsingCarbonHome(CarbonServerManager.java:120)
at org.wso2.carbon.automation.extensions.servers.carbonserver.
TestServerManager.startServer(TestServerManager.java:116)
at org.wso2.carbon.automation.extensions.servers.carbonserver.
CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:50)
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.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.
executeExtensible(TestNGExtensionExecutor.java:75)
at org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.
onExecutionStart(TestExecutionListener.java:47)
at org.testng.TestNG.runExecutionListeners(TestNG.java:1068)
at org.testng.TestNG.run(TestNG.java:1015)
at org.apache.maven.surefire.testng.TestNGExecutor.run(
TestNGExecutor.java:295)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.
execute(TestNGXmlTestSuite.java:84)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(
TestNGProvider.java:90)
at org.apache.maven.surefire.booter.ForkedBooter.
invokeProviderInSameClassLoader(ForkedBooter.java:203)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(
ForkedBooter.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Jan 03, 2017 12:08:15 PM
org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener
handleException
SEVERE: Execution error occurred in TestExecutionListener:-
java.lang.reflect.InvocationTargetException
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.wso2.carbon.automation.engine.extensions.TestNGExtensionExecutor.
executeExtensible(TestNGExtensionExecutor.java:75)
at org.wso2.carbon.automation.engine.testlisteners.TestExecutionListener.
onExecutionStart(TestExecutionListener.java:47)
at org.testng.TestNG.runExecutionListeners(TestNG.java:1068)
at org.testng.TestNG.run(TestNG.java:1015)
at org.apache.maven.surefire.testng.TestNGExecutor.run(
TestNGExecutor.java:295)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.
execute(TestNGXmlTestSuite.java:84)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(
TestNGProvider.java:90)
at org.apache.maven.surefire.booter.ForkedBooter.
invokeProviderInSameClassLoader(ForkedBooter.java:203)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(
ForkedBooter.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.lang.RuntimeException: Fail to start carbon server
at org.wso2.carbon.automation.extensions.servers.carbonserver.
CarbonServerExtension.handleException(CarbonServerExtension.java:70)
at org.wso2.carbon.automation.extensions.servers.carbonserver.
CarbonServerExtension.onExecutionStart(CarbonServerExtension.java:54)
... 14 more
Caused by: java.lang.RuntimeException: Port 9763 is not open
at org.wso2.carbon.automation.extensions.servers.utils.ClientConnectionUtil.
waitForPort(ClientConnectionUtil.java:248)
at org.wso2.carbon.automation.extensions.servers.carbonserver.
CarbonServerManager.startServerUsingCarbonHome(CarbonServerManager.java:120)
at org.wso2.carbon.automation.extensions.servers.carbonserver.

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

2017-01-02 Thread Rasika Perera
Tested out component version 5.7.0 with IoT pack.

   [+] Stable - go ahead and release

On Mon, Jan 2, 2017 at 12:28 PM, Pulasthi Mahawithana 
wrote:

> Hi All,
>
> This is the 1st 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-rc1
> Analytics   : https://github.com/wso2/anal
> ytics-is/releases/tag/v5.3.0-rc1
>
> 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
>
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
With Regards,

*Rasika Perera*
Software Engineer
LinkedIn: http://lk.linkedin.com/in/rasika90



WSO2 Inc. www.wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2017-01-02 Thread Ishara Karunarathna
Hi Kernel team,

Current carbon JNDI Implementation does not support for LDAPs. Basically it
does not support for
DirContext operations. 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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] [C5] Self sign-up in C5 User Portal

2017-01-02 Thread Ishara Karunarathna
Hi Indunil,

When we think about self sign up.
basic use case is User comes to self sign up page and add his user
informations, system will create a account and let user to login.

But there are lot of associated use cases with this. For example.
1. Once user self signed up need to send a verification mail.
2. self sign up should go through a approval process.
3. User should be assign to a particular roles.

To cater those requirements we need additional features.  And we may need
several version of this user story to complete this feature.
For the 1st implementation better to implement the simple case. where use
self sign up and login (with login permission only )

Thanks,
-Ishara



On Tue, Jan 3, 2017 at 9:54 AM, Indunil Upeksha Rathnayake  wrote:

> Hi,
>
> In IS C5, we are currently implementing self sign-up in the User Portal
> and having following considerations regarding the self sign-up
> functionality.
>
> what would be the correct way of achieving self sign-up and would like to
> know how it has been implemented in other C5 based products.
> If self sign up is enabled, *users should be create their own user
> accounts and will be able to logged in immediately?* or there should be
> an *account confirmation through the email* which helps to confirm an
> actual user? or there should be configurations to enable/disable both
> registration and account confirmation?
>
> And when it comes to self sign-up, specially if there are no account
> confirmation, in C5, I think it's better to include improvements such as a
> way to *allow anyone to sign up (no restrictions) or restrict users to
> specific domains* and also a way to choose whether *administrators should
> receive an email when a new account is created*.
>
> I would appreciate your ideas/suggestions on this.
>
> Thanks and Regards
> --
> Indunil Upeksha Rathnayake
> Software Engineer | WSO2 Inc
> Emailindu...@wso2.com
> Mobile   0772182255
>



-- 
Ishara Karunarathna
Associate Technical Lead
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
+94717996791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Bug on AskPassword feature

2017-01-02 Thread Isura Karunaratne
Hi Kone,

This is not a bug. In IS 5.3.0 we introduced account recovery rest APIs and
self-signup rest APIs. In IS 5.2.0 it was there only soap APIs for account
recovery and self-registration scenarios. To support the backward
compatibility IS 5.3.0 OOTB supports both rest APIs and soap APIs for
account recovery and self-registration features.


So, there are two ways to support Ask Password feature in IS 5.3.0.


   - Using old method (SOAP)
   - Using new method (REST)

There are two steps associated with ASK password flow, First needs to send
an email and then need to confirm that email. The reason why you got above
error is, email was sent using the old method and try to confirm using the
new method.


We will update the documentation with further details.  Please use one of
the following ways to support ask password feature in IS 5.3.0



   - *Using old method.*

Then you need to enable old listener and disable new listeners in
identity.xml file as follows


 





Then follow the steps in the [1]. You need to change the email template and
use Info-recovery sample web APP to support this feature. (Identity Server
dashboard supports only for rest APIs)



   - *Using new method.*

Then you need to disable old listener and enable new listeners in
identity.xml file as follows

 




You can't use Identity Server management console to add users with ask
password feature. You have to use RemoteUserStoreManagerServe, UserAdmin
Service or SCIM APIs to support new ASK password feature.

Enable ask password as follows from management console



​


Then use RemoteUserStoreManagerService AddUser method with askPassword
claim as follows


 http://schemas.xmlsoap.org/soap/envelope/;
xmlns:ser="http://service.ws.um.carbon.wso2.org; xmlns:xsd="
http://common.mgt.user.carbon.wso2.org/xsd;>
   
   
  
 test123
 test123
 
http://wso2.org/claims/emailaddress
is...@wso2.com 
 
 
http://wso2.org/claims/lastname
lastname
 
 
http://wso2.org/claims/givenname
givenname
 
  *   *
*http://wso2.org/claims/identity/askPassword
*
*true*
* *

 default
 false
  
   



You need to configure email settings in
/repository/conf/output-event-adapters.xml
file as step 2 in blog post [2]




We will update documentation asap. Please let us know if you need further
clarifications.

Thanks
Isura


[1] https://docs.wso2.com/display/IS530/Creating+Users+using
+the+Ask+Password+Option
[2]
http://isurad.blogspot.com/2016/12/self-user-registration-features-wso2.html




*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 Mon, Jan 2, 2017 at 3:23 PM, Koné Alioune Badara <
kon...@etna-alternance.net> wrote:

> Hello Ishara,
>
> Thank you for the answer, do you think it will be resolved for the 5.3.0
> official release? And by the way, what is the is date of that release?
>
> Regards,
>
> 2016-12-25 21:49 GMT+01:00 Ishara Cooray :
>
>> Hi Alioune,
>>
>> This is because by default Identity Server shipped with LDAP store but it
>> tries to load user recovery data from JDBCRecoveryDataStore.
>>
>> Please refer jira[1] to track the issue.
>>
>> [1] https://wso2.org/jira/browse/IDENTITY-5544
>>
>> Thanks & Regards,
>> Ishara Cooray
>> Senior Software Engineer
>> Mobile : +9477 262 9512 <+94%2077%20262%209512>
>> WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> On Thu, Dec 22, 2016 at 3:23 PM, Koné Alioune Badara <
>> kon...@etna-alternance.net> wrote:
>>
>>> Hello,
>>>
>>> I'm trying to implement the AskPassword feature with the 5.3.0-BETA
>>> version, I followed every steps of the documentation and succeded to send
>>> the email, but when I go to page where I enter set my password, on the
>>> submit I get an error message (cf the screenshot).
>>>
>>> Is there something that I do wrong or is it a known bug?
>>>
>>> Note: the link sent in the mail is :  https://localhost:9443/acco
>>> untrecoveryendpoint/confirmrecovery.do?confirmation={71fda0b
>>> 5-9ebf-4e0c-abc6-c79240d35681}={PRIMARY}
>>> rname={romeo}={carbon.super}
>>>
>>> Regards,
>>>
>>> Alioune B KONÉ.
>>> MASTER ETNA 2016.
>>>
>>> ___
>>> 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
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [IS] [C5] Self sign-up in C5 User Portal

2017-01-02 Thread Ayesha Dissanayaka
Hi Indunil,

On Tue, Jan 3, 2017 at 9:54 AM, Indunil Upeksha Rathnayake  wrote:

> If self sign up is enabled, *users should be create their own user
> accounts and will be able to logged in immediately?* or there should be
> an *account confirmation through the email* which helps to confirm an
> actual user? or there should be configurations to enable/disable both
> registration and account confirmation?
>

IMO, based on the end system, both self-sign-up without confirmation as
well as self sign-up with confirmation can be required. Hence, having
configuration to enable/disable both the options will suite. Also I have
seen where administrators wants to verify self registered accounts before
the activation of those accounts. Hence, there should be a mechanism to
integrate kind of a work-flow as well and it should be configurable.


> And when it comes to self sign-up, specially if there are no account
> confirmation, in C5, I think it's better to include improvements such as a
> way to *allow anyone to sign up (no restrictions) or restrict users to
> specific domains* and also a way to choose whether *administrators should
> receive an email when a new account is created*.
>
+1 nice improvements. Even without account confirmation of user side,
administrators still may want to be aware of self registered accounts.
Eventing kind of a mechanism will come in handy, when need to monitor stats
based on end systems.

Thanks!
-Ayesha

-- 
*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] [Architecture] [IS] [C5] Self sign-up in C5 User Portal

2017-01-02 Thread Susinda Perera
I think its better to have this email confirmation feature, but we could
make this as configurable options. Also I think that self signup users may
goto a particular userstore depending on the configuration, as there are
some cases where multiple user stores/domains are available and some are
read only etc, so my belive is its good to have this configurable.

Thanks
Susinda


On Tue, Jan 3, 2017 at 10:03 AM, Rushmin Fernando  wrote:

>
>
> On Tue, Jan 3, 2017 at 9:54 AM, Indunil Upeksha Rathnayake <
> indu...@wso2.com> wrote:
>
>> Hi,
>>
>> In IS C5, we are currently implementing self sign-up in the User Portal
>> and having following considerations regarding the self sign-up
>> functionality.
>>
>> what would be the correct way of achieving self sign-up and would like to
>> know how it has been implemented in other C5 based products.
>> If self sign up is enabled, *users should be create their own user
>> accounts and will be able to logged in immediately?* or there should be
>> an *account confirmation through the email* which helps to confirm an
>> actual user? or there should be configurations to enable/disable both
>> registration and account confirmation?
>>
>>
> IMO admins should be given flexibility to configure the behavior
> (verification or uncontrolled signup )
>
>
>
>
>
>> And when it comes to self sign-up, specially if there are no account
>> confirmation, in C5, I think it's better to include improvements such as a
>> way to *allow anyone to sign up (no restrictions) or restrict users to
>> specific domains* and also a way to choose whether *administrators
>> should receive an email when a new account is created*.
>>
>
>
> How about implementing the email sending thing in a generic way (e.g.
> trigger mechanism on account creation ) ?
>
>
>>
>> I would appreciate your ideas/suggestions on this.
>>
>> Thanks and Regards
>> --
>> Indunil Upeksha Rathnayake
>> Software Engineer | WSO2 Inc
>> Emailindu...@wso2.com
>> Mobile   0772182255
>>
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> *Best Regards*
>
> *Rushmin Fernando*
> *Technical Lead*
>
> WSO2 Inc.  - Lean . Enterprise . Middleware
>
> mobile : +94775615183
>
>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*Susinda Perera*
Software Engineer
B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
Mobile:(+94)716049075
Blog: susinda.blogspot.com
WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [IS] [C5] Self sign-up in C5 User Portal

2017-01-02 Thread Chamath Gunawardana
Hi Indunil

On Tue, Jan 3, 2017 at 9:54 AM, Indunil Upeksha Rathnayake  wrote:

> Hi,
>
> In IS C5, we are currently implementing self sign-up in the User Portal
> and having following considerations regarding the self sign-up
> functionality.
>
> what would be the correct way of achieving self sign-up and would like to
> know how it has been implemented in other C5 based products.
> If self sign up is enabled, *users should be create their own user
> accounts and will be able to logged in immediately?* or there should be
> an *account confirmation through the email* which helps to confirm an
> actual user? or there should be configurations to enable/disable both
> registration and account confirmation?
>
IMHO these should be features hence should be configurable (since these are
supported already we need to have them).

>
> And when it comes to self sign-up, specially if there are no account
> confirmation, in C5, I think it's better to include improvements such as a
> way to *allow anyone to sign up (no restrictions) or restrict users to
> specific domains* and also a way to choose whether *administrators should
> receive an email when a new account is created*.
>
+1. These would be good new features as improvements. Specially a way to
configure self signup behavior depending on the user domain.

Thanks,
Chamath

>
> I would appreciate your ideas/suggestions on this.
>
> Thanks and Regards
> --
> Indunil Upeksha Rathnayake
> Software Engineer | WSO2 Inc
> Emailindu...@wso2.com
> Mobile   0772182255 <077%20218%202255>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Thanks,
Best Regards,
Chamath Gunawardana
Technical Lead; WSO2 Inc.
Mobile : +94776322240
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [IS] [C5] Self sign-up in C5 User Portal

2017-01-02 Thread Rushmin Fernando
On Tue, Jan 3, 2017 at 9:54 AM, Indunil Upeksha Rathnayake  wrote:

> Hi,
>
> In IS C5, we are currently implementing self sign-up in the User Portal
> and having following considerations regarding the self sign-up
> functionality.
>
> what would be the correct way of achieving self sign-up and would like to
> know how it has been implemented in other C5 based products.
> If self sign up is enabled, *users should be create their own user
> accounts and will be able to logged in immediately?* or there should be
> an *account confirmation through the email* which helps to confirm an
> actual user? or there should be configurations to enable/disable both
> registration and account confirmation?
>
>
IMO admins should be given flexibility to configure the behavior
(verification or uncontrolled signup )





> And when it comes to self sign-up, specially if there are no account
> confirmation, in C5, I think it's better to include improvements such as a
> way to *allow anyone to sign up (no restrictions) or restrict users to
> specific domains* and also a way to choose whether *administrators should
> receive an email when a new account is created*.
>


How about implementing the email sending thing in a generic way (e.g.
trigger mechanism on account creation ) ?


>
> I would appreciate your ideas/suggestions on this.
>
> Thanks and Regards
> --
> Indunil Upeksha Rathnayake
> Software Engineer | WSO2 Inc
> Emailindu...@wso2.com
> Mobile   0772182255
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*Best Regards*

*Rushmin Fernando*
*Technical Lead*

WSO2 Inc.  - Lean . Enterprise . Middleware

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


[Dev] [IS] [C5] Self sign-up in C5 User Portal

2017-01-02 Thread Indunil Upeksha Rathnayake
Hi,

In IS C5, we are currently implementing self sign-up in the User Portal and
having following considerations regarding the self sign-up functionality.

what would be the correct way of achieving self sign-up and would like to
know how it has been implemented in other C5 based products.
If self sign up is enabled, *users should be create their own user accounts
and will be able to logged in immediately?* or there should be an *account
confirmation through the email* which helps to confirm an actual user? or
there should be configurations to enable/disable both registration and
account confirmation?

And when it comes to self sign-up, specially if there are no account
confirmation, in C5, I think it's better to include improvements such as a
way to *allow anyone to sign up (no restrictions) or restrict users to
specific domains* and also a way to choose whether *administrators should
receive an email when a new account is created*.

I would appreciate your ideas/suggestions on this.

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


Re: [Dev] [IS] [C5] Notification sending in C5

2017-01-02 Thread Johann Nallathamby
I think this needs to be handled by the same output event adapter
components like in C4, which is very flexible and extensible. Unless there
is any reason not to. Moving it to platform level is something that can be
done if everyone thinks the same. But from a product perspective like IS,
it shouldn't make any difference.

Regards,
Johann.

On Tue, Jan 3, 2017 at 9:34 AM, Indunil Upeksha Rathnayake  wrote:

> Hi,
>
> In IS C5 implementation, we have a requirement for sending email
> notifications in several scenarios like self-sign up, account recovery etc.
> AFAIK C5 based products are currently not supporting any notification
> sending functionality.  Is there a *way to achieve notification sending
> in carbon platform level *since most of the products having requirements
> for sending several notification including email, SMS etc? If not, isn't it
> better to include a feature for notification sending in platform level?
>
> Appreciate your ideas/suggestions on this.
>
> Thanks and Regards
> --
> Indunil Upeksha Rathnayake
> Software Engineer | WSO2 Inc
> Emailindu...@wso2.com
> Mobile   0772182255
>



-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Technical Lead & Product Lead of WSO2 Identity Server
Governance Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [IS] [C5] Notification sending in C5

2017-01-02 Thread Indunil Upeksha Rathnayake
Hi,

In IS C5 implementation, we have a requirement for sending email
notifications in several scenarios like self-sign up, account recovery etc.
AFAIK C5 based products are currently not supporting any notification
sending functionality.  Is there a *way to achieve notification sending in
carbon platform level *since most of the products having requirements for
sending several notification including email, SMS etc? If not, isn't it
better to include a feature for notification sending in platform level?

Appreciate your ideas/suggestions on this.

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


Re: [Dev] Bug on AskPassword feature

2017-01-02 Thread Koné Alioune Badara
Hello Ishara,

Thank you for the answer, do you think it will be resolved for the 5.3.0
official release? And by the way, what is the is date of that release?

Regards,

2016-12-25 21:49 GMT+01:00 Ishara Cooray :

> Hi Alioune,
>
> This is because by default Identity Server shipped with LDAP store but it
> tries to load user recovery data from JDBCRecoveryDataStore.
>
> Please refer jira[1] to track the issue.
>
> [1] https://wso2.org/jira/browse/IDENTITY-5544
>
> Thanks & Regards,
> Ishara Cooray
> Senior Software Engineer
> Mobile : +9477 262 9512 <+94%2077%20262%209512>
> WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> On Thu, Dec 22, 2016 at 3:23 PM, Koné Alioune Badara <
> kon...@etna-alternance.net> wrote:
>
>> Hello,
>>
>> I'm trying to implement the AskPassword feature with the 5.3.0-BETA
>> version, I followed every steps of the documentation and succeded to send
>> the email, but when I go to page where I enter set my password, on the
>> submit I get an error message (cf the screenshot).
>>
>> Is there something that I do wrong or is it a known bug?
>>
>> Note: the link sent in the mail is :  https://localhost:9443/acco
>> untrecoveryendpoint/confirmrecovery.do?confirmation={
>> 71fda0b5-9ebf-4e0c-abc6-c79240d35681}=
>> {PRIMARY}={romeo}={carbon.super}
>>
>> Regards,
>>
>> Alioune B KONÉ.
>> MASTER ETNA 2016.
>>
>> ___
>> 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