James Moger
2014-03-14 44e2ee1d05a9d455ae60dd64058b31f006d551b7
src/main/java/com/gitblit/transport/ssh/SshSession.java
@@ -36,6 +36,7 @@
  private volatile String username;
  private volatile String authError;
  private volatile String repositoryName;
  SshSession(int sessionId, SocketAddress peer) {
    this.sessionId = sessionId;
@@ -78,6 +79,14 @@
    authError = error;
  }
  public void setRepositoryName(String repositoryName) {
   this.repositoryName = repositoryName;
  }
  public String getRepositoryName() {
   return repositoryName;
  }
  /** @return {@code true} if the authentication did not succeed. */
  boolean isAuthenticationError() {
    return authError != null;