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