Skip to content

JSPWIKI-1387 Tell the owner of a locked account that it is locked - #658

Open
arturobernalg wants to merge 2 commits into
apache:masterfrom
arturobernalg:feature/JSPWIKI-1387-locked-login-message
Open

arturobernalg wants to merge 2 commits into
apache:masterfrom
arturobernalg:feature/JSPWIKI-1387-locked-login-message

Conversation

@arturobernalg

Copy link
Copy Markdown
Member

A locked account logged in with the right password was told "Not a valid login", because the login module's AccountLockedException was dropped by doJAASLogin. The authentication manager now keeps the reason of the failure and adds a message to the session. Someone who does not know the password still gets the ordinary message, so the page does not tell that the account exists or is locked.

A locked account logged in with the right password was told "Not a valid login", because the login module's AccountLockedException was dropped by doJAASLogin. The authentication manager now keeps the reason of the failure and adds a message to the session. Someone who does not know the password still gets the ordinary message, so the page does not tell that the account exists or is locked.
InternationalizationManagerTest checks that every language has every key of CoreResources.properties.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant