Goldstein Lyor created SSHD-455:
-----------------------------------
Summary: 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)