code: public static AuthInfo plain(String username, String password) {
      return new AuthInfo(new PlainCallbackHandler(username, password), new String[] {"PLAIN"});
    }
docs: Get a typical auth descriptor for PLAIN auth with the given username and password.
  
  @param u the username
  @param p the password
  
  @return an AuthInfo