You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2018/10/30 11:46:00 UTC

[jira] [Updated] (SSHD-859) Provide client session connection context that is propagated to the SSH session

     [ https://issues.apache.org/jira/browse/SSHD-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Goldstein Lyor updated SSHD-859:
--------------------------------
    Description: When creating a client session the caller cannot provide any kind of "context" that will be propagated to the session, and thru it to the various listeners/verifiers/authenticators. Such a context may be useful in the case where an {{SshClient}} instance is used to connect various hosts or the same host for various purposes. In such a case, it is conceivable that the user may wish the various registered "callbacks" to behave differently according to some connection context provided when the SSH session was established. The current code allows such decisions based on the peer host address/port, but this information might not be enough for the required decision functionality.  (was: When creating a client session the caller cannot provide any kind of "context" that will be propagated to the session, and thru it to the various listeners/verifiers/authenticators. Such a context may be useful in the case where an {{SshClient}} instance is used to connect various hosts or the same host for various purposes. In such a case, it is conceivable that the user may wish the various registered to behave differently according to some connection context provided when the SSH session was established. The current code allows such decisions based on the peer host address/port, but this information might not be enough for the required decision functionality.)

> Provide client session connection context that is propagated to the SSH session
> -------------------------------------------------------------------------------
>
>                 Key: SSHD-859
>                 URL: https://issues.apache.org/jira/browse/SSHD-859
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 2.1.1
>            Reporter: Goldstein Lyor
>            Assignee: Goldstein Lyor
>            Priority: Major
>
> When creating a client session the caller cannot provide any kind of "context" that will be propagated to the session, and thru it to the various listeners/verifiers/authenticators. Such a context may be useful in the case where an {{SshClient}} instance is used to connect various hosts or the same host for various purposes. In such a case, it is conceivable that the user may wish the various registered "callbacks" to behave differently according to some connection context provided when the SSH session was established. The current code allows such decisions based on the peer host address/port, but this information might not be enough for the required decision functionality.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)