boolean (boolean isUserName) { // "authentication.getUserName()" was provided by user, "userName" was asked by svn. If they are equal but svn still prompts user name - // we treat this as "authentication" credentials are incorrect and we need ask user again. return authentication == null || isUserName && StringUtil.equals(userName, authentication.getUserName()); }