Custom Authentication Module Error message propagation.

This topic contains 1 voice and has 0 replies.

  • Author
    Posts
  • #24476
     emccormic 
    Participant

    I created a custom Authentication module. The module handles failed logins using:

     if (isClientInRange(clientIP)) {
                return ISAuthConstants.LOGIN_SUCCEED;
            }
    
            DEBUG.message("Reject: Client IP address '{}' out of whitelist range", clientIP);
            throw new AuthLoginException(MODULE_NAME + " - Not in whitelisted IP Range");

    When it fails it gives the “Authentication Failed” popup. How do I change the popup to show the AuthLoginException?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2019 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?