code: protected void addRequestProperties(final HttpServletRequest httpServletRequest, final Map<String, List<Object>> attributes) {
          if (this.remoteUserAttribute != null) {
              final String remoteUser = httpServletRequest.getRemoteUser();
              attributes.put(this.remoteUserAttribute, list(remoteUser));
          }
          if (this.remoteAddrAttribute != null) {
              final String remoteAddr = httpServletRequest.getRemoteAddr();
              attributes.put(this.remoteAddrAttribute, list(remoteAddr));
          }
          if (this.remoteHostAttribute != null) {
              final String remoteHost = httpServletRequest.getRemoteHost();
              attributes.put(this.remoteHostAttribute, list(remoteHost));
          }
          if (this.serverNameAttribute != null) {
              final String serverName = httpServletRequest.getServerName();
              attributes.put(this.serverNameAttribute, list(serverName));
          }
          if (this.serverPortAttribute != null) {
              final int serverPort = httpServletRequest.getServerPort();
              attributes.put(this.serverPortAttribute, list(serverPort));
          }
      }
docs: Add other properties from the request to the attributes map.
  
  @param httpServletRequest Http Servlet Request
  @param attributes Map of attributes to add additional attributes to from the Http Request