* HttpServletResponse response)
*/
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
MerchantConstants mc = MerchantConstantsFactory.getMerchantConstants();
try {
String auth = request.getHeader("Authorization");
if (auth == null || !auth.equals("Basic " + mc.getHttpAuth())) {
response.sendError(HttpServletResponse.SC_UNAUTHORIZED,
"Authentication Failed.");
return;
}