Skip to main content
Feedback

Continuing Processing Request for Successful Authentication

  1. Get the headers from the HTTPServerRequest.

  2. Check for the authentication header.

  3. Validate the value of the authentication header. On validation success, return from the adapter and continue processing.

    Successful Authentication

    if (userId.equals("userName") && password.equals("userPassword")) {

Logger.info(MyCustomAuthenticatorFailed.class,"Basic Authentication is successful"); }