e);
}
//Check if the sender is in between the IP Addresses
String remoteAddress = httpRequest.getRemoteAddr();
logger.debug("The remote address is: " + remoteAddress);
IPAddresses sourceIPAddress = new IPAddresses(remoteAddress);
if (!ipAddressChecker.isIPAddressIncluded(sourceIPAddress)) {
logger.warn("The remote IP Address is not included in the permitted list");
return HttpServletResponse.SC_UNAUTHORIZED;
}