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 2015/05/07 10:30:59 UTC
[jira] [Work started] (SSHD-455) Allow users to register
"extensions" to some of the builtin factories
[ https://issues.apache.org/jira/browse/SSHD-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on SSHD-455 started by Goldstein Lyor.
-------------------------------------------
> Allow users to register "extensions" to some of the builtin factories
> ---------------------------------------------------------------------
>
> Key: SSHD-455
> URL: https://issues.apache.org/jira/browse/SSHD-455
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 1.0.0
> Reporter: Goldstein Lyor
> Assignee: Goldstein Lyor
> Fix For: 1.0.0
>
>
> The current code does not support the full range of default configuration values, nor does it easily allow users to *add* "extensions" to some of the builtin factories (ciphers, MAC(s), etc.). The idea is to allow the user to write the following (skeleton) code:
> {code:java}
> public static void main(String[] args) {
> BuiltinCiphers.registerExtensions(NamedFactory<Cipher> ... ciphers);
> BuiltinMacs..registerExtensions(NamedFactory<Mac> ... macs);
> ...etc...
> SshServer server=SshServer.setupDefaultServer();
> Properties props=SshConfigFileReader.readConfiguration(...);
> SshConfigFileReader.configure(server, props);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)