[gatein-issues] [JBoss JIRA] (GTNPORTAL-3333) An attempt to reset the password of a disabled user should fail

Vu Viet Phuong (JIRA) jira-events at lists.jboss.org
Mon Dec 9 04:50:06 EST 2013


    [ https://issues.jboss.org/browse/GTNPORTAL-3333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12929412#comment-12929412 ] 

Vu Viet Phuong commented on GTNPORTAL-3333:
-------------------------------------------

- We should use findUserByName(userName, false) instead of findUserByQuery 
- I also see the this code is duplicated:
 requestContext.getUIApplication().addMessage(
                              new ApplicationMessage("UIForgetPassword.msg.user-not-exist", null));

- We need to fix this issue for the case user forget username too, and he use email to reset password
                
> An attempt to reset the password of a disabled user should fail
> ---------------------------------------------------------------
>
>                 Key: GTNPORTAL-3333
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-3333
>             Project: GateIn Portal
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Trong Tran
>            Assignee: Hai Nguyen
>             Fix For: 3.7.0.Final
>
>   Original Estimate: 1 hour
>          Time Spent: 1 hour
>  Remaining Estimate: 0 minutes
>
> An attempt to reset the password of a disabled user should fail with the following message : This user account is disabled. Impossible to reset the password.
> Today, the message is mixed both non-existed user and disabled user cases

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the gatein-issues mailing list