class SubjectHttpRequestWrapper extends HttpServletRequestWrapper {

  @Override
  public String getRemoteUser() {
    return subject.getUserName();
  }

  public  SubjectHttpRequestWrapper(HttpServletRequest request, Subject subject);

}