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

2016-11-01 Thread Johann Nallathamby
On Tue, Nov 1, 2016 at 12:15 PM, Ayesha Dissanayaka wrote: > Hi all, > > Related not being able to login without userstore name, > with further debugging, identified that below exception is thrown at [1] > >> java.security.PrivilegedActionException: >>

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

2016-11-01 Thread Ayesha Dissanayaka
Hi all, Related not being able to login without userstore name, with further debugging, identified that below exception is thrown at [1] > java.security.PrivilegedActionException: > org.wso2.carbon.user.core.UserStoreException: Error when handling event : > PRE_AUTHENTICATION > at

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

2016-10-31 Thread Ayesha Dissanayaka
On Fri, Oct 28, 2016 at 6:02 PM, Darshana Gunawardana wrote: > > This should be possible. Are you getting any errors in UI or in console? > If not can you enable debug logs in user.core and see any error getting > printed? > No errors in the backend. In the UI it shows below

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

[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