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;