code: private String normalize(String user) {
          if(user != null){
              if(user.contains("@"))
                  user = user.replaceAll("@", "%40");
          }
          if(logger.isDebugEnabled())
              logger.debug("Normalized User = " + user);
          return user;
      }
docs: normalize: normalize clients that contain @ sign in user e.g. maria@xyz.com
  @param user
  @return