Interface SecurityAnswerLockoutManager
-
public interface SecurityAnswerLockoutManager
Interface to manage security question answer match failures and subsequent lockout.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleSecurityAnswerMatchFailure(Context context, JsonValue user, String identityServiceUrl)
Handle the security answer match failure.void
validateUserLockout(Context context, JsonValue user)
Verifies whether user should be allowed to attempt security answer verification.
-
-
-
Method Detail
-
validateUserLockout
void validateUserLockout(Context context, JsonValue user) throws BadRequestException
Verifies whether user should be allowed to attempt security answer verification.- Parameters:
context
- the request contextuser
- the user object- Throws:
BadRequestException
- if user is not allowed to perform security answer verification
-
handleSecurityAnswerMatchFailure
void handleSecurityAnswerMatchFailure(Context context, JsonValue user, String identityServiceUrl) throws ResourceException
Handle the security answer match failure.- Parameters:
context
- the request contextuser
- the user recordidentityServiceUrl
- the resource url of the user- Throws:
ResourceException
- on failure to execute handler
-
-