David Ostrovsky
2014-03-13 bf4fc5c25ec31566b0fc1ee2e5e8bc15e5512893
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;