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

Bernd Eckenfels updated VFS-466:
--------------------------------
    Labels: patch  (was: )

> UserAuthenticationData is too limited
> -------------------------------------
>
>                 Key: VFS-466
>                 URL: https://issues.apache.org/jira/browse/VFS-466
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Joerg Schaible
>            Assignee: Joerg Schaible
>              Labels: patch
>         Attachments: UserAuthenticationData.patch
>
>
> The UserAuthenticationData should be used as vehicle to transport 
> authentication data to the individual providers. While it is open for new 
> authentication data types, it limits the values of the data to be a character 
> array. Therefore it does not fit for authentication with private keys or 
> certificates like it is possible with e.g. SFTP or FTPS.
> For a proper support of the latter authentication types, we have to support 
> arbitrary value types in the UserAuthenticationData. To add this 
> functionality without breaking binary compatibility, we have to make a 
> compromise by adding new getter/setter methods to the  class that will 
> replace the old (now deprecated ones), because the getter will now return 
> other types than char[].
> This patch is used as base for VFS-283 and for support of client certificates 
> with FTPS (no JIRA issue yet).



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

Reply via email to