This is an automated email from the ASF dual-hosted git repository. lgoldstein pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mina-sshd.git.
from 0072493 [SSHD-931] Using an executor supplier instead of a specific instance in SftpSubsystemFactory new d7b5d39 [SSHD-937] Provide ChannelSession instance when creating a subsystem instance new c6366e3 [SSHD-937] Provide session instance to UserAuthFactory creator method new 065d713 [SSHD-937] Provide session instance when invoking a ChannelFactory The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: CHANGES.md | 11 ++++++ .../sshd/cli/server/SshServerCliSupport.java | 8 ++--- .../org/apache/sshd/cli/server/SshServerMain.java | 5 ++- .../java/org/apache/sshd/common/NamedResource.java | 9 +++-- .../apache/sshd/common/auth/UserAuthInstance.java | 6 ++-- .../common/config/FactoriesListParseResult.java | 3 +- .../config/NamedFactoriesListParseResult.java | 2 +- .../org/apache/sshd/agent/SshAgentFactory.java | 7 ++-- .../agent/local/ChannelAgentForwardingFactory.java | 5 ++- .../apache/sshd/agent/local/LocalAgentFactory.java | 9 +++-- .../apache/sshd/agent/local/ProxyAgentFactory.java | 5 ++- .../agent/unix/ChannelAgentForwardingFactory.java | 8 +++-- .../apache/sshd/agent/unix/UnixAgentFactory.java | 13 ++++--- .../sshd/client/ClientAuthenticationManager.java | 24 +++++++------ .../java/org/apache/sshd/client/ClientBuilder.java | 4 +-- .../java/org/apache/sshd/client/SshClient.java | 28 ++++++++------- .../sshd/client/auth/AbstractUserAuthFactory.java | 5 ++- .../apache/sshd/client/auth/UserAuthFactory.java | 3 +- .../auth/hostbased/UserAuthHostBasedFactory.java | 4 ++- .../UserAuthKeyboardInteractiveFactory.java | 5 ++- .../auth/password/UserAuthPasswordFactory.java | 5 ++- .../auth/pubkey/UserAuthPublicKeyFactory.java | 4 ++- .../sshd/client/session/AbstractClientSession.java | 11 +++--- .../sshd/client/session/ClientUserAuthService.java | 11 +++--- .../java/org/apache/sshd/common/BaseBuilder.java | 6 ++-- .../org/apache/sshd/common/FactoryManager.java | 6 ++-- .../common/auth/AbstractUserAuthMethodFactory.java | 6 +++- .../sshd/common/auth/UserAuthMethodFactory.java | 41 ++++++++++++++++++--- .../apache/sshd/common/channel/ChannelFactory.java | 35 +++++++++++++++--- .../common/helpers/AbstractFactoryManager.java | 9 +++-- .../sshd/common/kex/AbstractKexFactoryManager.java | 13 ++++--- .../session/helpers/AbstractConnectionService.java | 10 +++--- .../sshd/server/ServerAuthenticationManager.java | 18 +++++----- .../java/org/apache/sshd/server/ServerBuilder.java | 6 ++-- .../apache/sshd/server/ServerFactoryManager.java | 9 +++-- .../java/org/apache/sshd/server/SshServer.java | 19 +++++----- .../sshd/server/auth/AbstractUserAuthFactory.java | 5 ++- .../apache/sshd/server/auth/UserAuthFactory.java | 3 +- .../sshd/server/auth/UserAuthNoneFactory.java | 6 +++- .../sshd/server/auth/gss/UserAuthGSSFactory.java | 5 ++- .../auth/hostbased/UserAuthHostBasedFactory.java | 4 ++- .../UserAuthKeyboardInteractiveFactory.java | 5 ++- .../auth/password/UserAuthPasswordFactory.java | 5 ++- .../auth/pubkey/UserAuthPublicKeyFactory.java | 4 ++- .../apache/sshd/server/channel/ChannelSession.java | 41 +++++++++++++-------- .../sshd/server/channel/ChannelSessionFactory.java | 5 ++- .../apache/sshd/server/command/CommandFactory.java | 4 +-- .../sshd/server/forward/TcpipServerChannel.java | 5 ++- .../sshd/server/session/AbstractServerSession.java | 11 +++--- .../sshd/server/session/ServerUserAuthService.java | 17 ++++----- .../sshd/server/subsystem/SubsystemFactory.java | 42 +++++++++++++++++++--- .../java/org/apache/sshd/KeyReExchangeTest.java | 2 +- .../client/ClientAuthenticationManagerTest.java | 14 ++++---- .../java/org/apache/sshd/client/ClientTest.java | 4 +-- .../sshd/common/auth/AuthenticationTest.java | 6 ++-- .../org/apache/sshd/common/channel/WindowTest.java | 2 +- .../server/ServerAuthenticationManagerTest.java | 14 ++++---- .../subsystem/sftp/SftpSubsystemFactory.java | 4 ++- .../sshd/client/subsystem/sftp/ClientTest.java | 2 +- .../sshd/client/subsystem/sftp/SftpTest.java | 23 ++++++------ .../client/subsystem/sftp/SftpVersionsTest.java | 11 +++--- .../helpers/SpaceAvailableExtensionImplTest.java | 7 ++-- .../openssh/helpers/OpenSSHExtensionsTest.java | 3 +- 63 files changed, 396 insertions(+), 231 deletions(-) rename {sshd-core => sshd-common}/src/main/java/org/apache/sshd/common/auth/UserAuthInstance.java (89%)