Continue Processing Request for Successful Authentication
Procedure
Get the headers from the HTTPServerRequest.
Check for authentication header.
Validate the value of 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");
}