Interface SecurityAnswerLockoutManager


  • public interface SecurityAnswerLockoutManager
    Interface to manage security question answer match failures and subsequent lockout.
    • 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 context
        user - 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 context
        user - the user record
        identityServiceUrl - the resource url of the user
        Throws:
        ResourceException - on failure to execute handler