authRequest.setDetails(new WebAuthenticationDetails(request));
authRequest.setDetails(new WebAuthenticationDetails(request, false));
    protected void setDetails(HttpServletRequest request,        UsernamePasswordAuthenticationToken authRequest) {        authRequest.setDetails(new WebAuthenticationDetails(request));    }