| | |
| | | |
| | | import java.net.SocketAddress; |
| | | |
| | | import org.apache.sshd.common.Session.AttributeKey; |
| | | import org.apache.sshd.common.session.Session.AttributeKey; |
| | | |
| | | import com.gitblit.models.UserModel; |
| | | |
| | |
| | | private final SocketAddress remoteAddress; |
| | | |
| | | private volatile UserModel user; |
| | | private volatile SshKey key; |
| | | private volatile String repositoryName; |
| | | |
| | | SshDaemonClient(SocketAddress peer) { |
| | |
| | | public String getRepositoryName() { |
| | | return repositoryName; |
| | | } |
| | | |
| | | public SshKey getKey() { |
| | | return key; |
| | | } |
| | | |
| | | public void setKey(SshKey key) { |
| | | this.key = key; |
| | | } |
| | | |
| | | } |