@@ -107,6 +114,12 @@ public class HostnameFilter implements Filter {
...
@@ -107,6 +114,12 @@ public class HostnameFilter implements Filter {
// pass the request along the filter chain
// pass the request along the filter chain
try{
try{
chain.doFilter(request,response);
chain.doFilter(request,response);
}catch(Throwablet){
if(AuthType.REST==authtype){
logger.warn("Caught Exception for REST query. url {}, method: {}, content type {}, and length {}",httpRequest.getRequestURL(),httpRequest.getMethod(),httpRequest.getContentType(),httpRequest.getContentLength());