private boolean filter(HttpServletRequest req) {
        boolean filter = true;
        String requestURI = req.getRequestURI();
        if (requestURI.contains("/carrinho/bootstrap/")
                || requestURI.contains("/carrinho/css/")
                || requestURI.contains("/carrinho/js/")
                || requestURI.contains("/carrinho/login")
                || requestURI.contains("/carrinho/cad_usuario")
                || requestURI.contains("/carrinho/images")) {
            filter = false;
        }
        return filter;
    }