mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SSHD-211) Allow custom server services
Date Wed, 29 Jan 2014 23:56:13 GMT

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

Guillaume Nodet resolved SSHD-211.
----------------------------------

    Resolution: Duplicate

> Allow custom server services
> ----------------------------
>
>                 Key: SSHD-211
>                 URL: https://issues.apache.org/jira/browse/SSHD-211
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.8.0
>            Reporter: Andrew C
>         Attachments: sshd-service-wip.patch, sshd-service-wip.patch
>
>
> I'm implementing a custom server/protocol over sshd but to do it I'm extending / modifying
the existing ServerSession when instead I should be adding a custom service to the existing
ServerSession.
> Attached a work-in-progress that is sufficient to illustrate the basic theory (but not
much more):
> - add a Service interface
> - add a ServiceFactory to SshServer that instantiates a Service given its name (e.g.,
"ssh-userauth" or "ssh-connection")
> - implement UserAuthService (ssh-userauth) and ConnectionService (ssh-connection) using
code extracted from *Session
> - add a currentService to ServerSession and set it when it receives aSSH_MSG_SERVICE_REQUEST
and then pass messages along to that (the UserAuthService, once completed, does the same thing
with its requested service)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message