code: public final void setSecurityContext(final SecurityContext securityContext) {
          this.securityContext = SecurityContextHolder.createEmptyContext();
          this.securityContext.setAuthentication(securityContext.getAuthentication());
      }
docs: The security context that contains the information about the user that made the request.  This must be
  set on {@link org.springframework.security.core.context.SecurityContextHolder} when the thread starts
  executing.
  
  @param securityContext the conext object