@Unstable
@Role
public interface AuthenticationFailureStrategy
AuthenticationConfiguration
for a definition of this limit.
Note that this strategy might be called even for users before reaching the authentication limit, this is done in
order to prevent the following scenario:
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage(String username) |
String |
getForm(String username) |
void |
notify(String username)
Notify the strategy about an authentication failure limit reached.
|
boolean |
validateForm(String username,
javax.servlet.http.HttpServletRequest request) |
String getErrorMessage(String username)
username
- the username used for the authentication failure.String getForm(String username)
username
- the username used for the authentication failure.boolean validateForm(String username, javax.servlet.http.HttpServletRequest request)
username
- the username used for the authentication failure.request
- the authentication request.void notify(String username)
username
- the username used for the authentication failure.Copyright © 2004–2022 XWiki. All rights reserved.