[ 
https://issues.apache.org/jira/browse/SSHD-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14109208#comment-14109208
 ] 

Matthew Pitts commented on SSHD-341:
------------------------------------

I think that would work if it was flexible enough - like if the prompt can pass 
any regexp from a list or something.

However, I still think my preferred fix would be UserInteractive support at the 
session level. IMO, this would be the most flexible for other users as well 
that might run across interesting login prompt situations. I can even envision 
situations where a real human might actually need to provide some type of login 
credentials in real-time as the code is running, which would almost certainly 
require per-session UserInteraction support.

I don't mind coding this up if you have improvements to the implementation in 
my patch. Or, let me know if you think that per-session UserInteraction support 
is totally wrong.

Thanks again for your help with this.

> Support UserInteractive implementations on a per-session basis
> --------------------------------------------------------------
>
>                 Key: SSHD-341
>                 URL: https://issues.apache.org/jira/browse/SSHD-341
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.12.0
>            Reporter: Matthew Pitts
>         Attachments: SSHD-341 per-session UserInteractive support.patch
>
>
> Facilities should exist for providing UserInteractive implementations on a 
> per-session basis. This would align more with the mechanics of the other 
> authentication mechanics supported (e.g. password) by providing method(s) on 
> the ClientSession interface and making use of these per-session 
> UserInteractive instances within AuthUserKeyboardInteractive.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to