Open
Description
A server may care about which user has connected. I'm not seeing a path to connect the SSH user name to any of my handler code. I'm not even seeing it saved and available in SSHChildChannel
or anything hanging off of it.
Unless I've missed something this will take some doing to add. Options include:
-
Adding a
SSHChannelRequestEvent
with a description of the user name which is sent first. -
NIOSSHHandler()
could get a new initializer which passes authentication information into theinboundChildChannelInitializer:
equivalent.
Either of these presuppose that the user name is saved somewhere.