code: protected void setDetails(HttpServletRequest request, UsernamePasswordAuthenticationToken authRequest) {
      	try {
  			authRequest.setDetails(authenticationDetailsSource.buildDetails(request));
  		} catch (Exception e) {
  			// This would happen e.g. for LCDS NIO Endpoints, which only have a "shell" request.
  			// Don't do anything.
  		}
      }
docs: Provided so that subclasses may configure what is put into the authentication request's details
  property.
  
  @param request that an authentication request is being created for
  @param authRequest the authentication request object that should have its details set