-
1. Re: UserHandler.findUserByName(username) returns null
vstorm83 Sep 13, 2012 9:59 PM (in response to andy00)Which GateIn's version do you use ? Is there any exception in the server log ?
We also use that method in org.exoplatform.account.webui.component.UIRegisterForm#usernameIsUsed() --> it work properly
-
2. Re: UserHandler.findUserByName(username) returns null
andy00 Sep 14, 2012 5:31 AM (in response to vstorm83)I solved trimming the username before calling the method. But it's quite strange...there were not spaces or other strange things in the username input field.
-
3. Re: UserHandler.findUserByName(username) returns null
hoang_to Sep 17, 2012 12:01 AM (in response to andy00)Is your custom login servlet packed in portal.war or any of its extension?
In case the answer is NO, you need to handle yourself the start/end of transaction by calling RequestLifecycle.begin( ) / end() to retrieve data from UserHandler
-
4. Re: UserHandler.findUserByName(username) returns null
andy00 Sep 20, 2012 6:57 AM (in response to hoang_to)Minh Hoang TO ha scritto:
Is your custom login servlet packed in portal.war or any of its extension?
In case the answer is NO, you need to handle yourself the start/end of transaction by calling RequestLifecycle.begin( ) / end() to retrieve data from UserHandler
I knew that, but it didn't solve the problem.