mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SSHD-430) Expose supported built-in ciphers as an Enum
Date Tue, 03 Mar 2015 07:51:04 GMT

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

Goldstein Lyor updated SSHD-430:
--------------------------------
    Attachment:     (was: 0033-SSHD-430-Expose-supported-built-in-ciphers-as-an-Enu.patch)

> Expose supported built-in ciphers as an Enum
> --------------------------------------------
>
>                 Key: SSHD-430
>                 URL: https://issues.apache.org/jira/browse/SSHD-430
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 1.0.0
>            Reporter: Goldstein Lyor
>         Attachments: 0033-SSHD-430-Expose-supported-built-in-ciphers-as-an-Enu.patch
>
>
> The available _Cipher_(s) and their respective _NamedFactory_(ies) are exposed via an
_Enum_ - including the _isSupported_ method. This has significant advantages:
> * A central location where all the currently available ciphers are listed - so that programmers
don't need to browse the code.
> * Facilitate configuration by code - e.g., read some list of ciphers, and then easily
translate it from string names to their factories counterparts.
> * (D)on't-(R)epeat-(Y)ourself - any new cipher is automatically available for programmers
without any code change (assuming they are using the _Enum_). No need to manually update the
code if upgrading to a new version - it will automatically be made available via the _Enum_



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message