Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 274007 - [security][transport] The authentication API, only supports basic authentication and in a limited way
Summary: [security][transport] The authentication API, only supports basic authenticat...
Status: RESOLVED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-28 07:20 EDT by Henrik Lindberg CLA
Modified: 2010-01-29 08:56 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Lindberg CLA 2009-04-28 07:20:59 EDT
The current mechanism for obtaining authentication information (credentials) from a user and storing them in secure storage limits the possibilities for those that require something else than basic authentication, and association of multiple credentials for the same host.

There are several problems with the current "API":
- there is no differentiation between different authentication schemes, basic authentication is assumed. This information needs to come from the transport level (possibly passed in the exception).
- there is no selection of user interface based on authentication scheme - a user interface that returns username/password is assumed.
- the storing of credentials also assumes basic authentication
- as the user interface potentially reveals sensitive information, it would be good if trust could be established - now it just obtains an OSGi service.
- work is needed to pass different types of authentication information to the transport layer and ECF.
- currently the authentication information is stored for the "host" - those that need different passwords for different schemes, and different passwords for different paths have no way of entering such information (except entering each new password as required - cache/store is of little value here).

I have marked this for 3.6 as this relates both to API, is an enhancement, and a change that ripples through several layers
Comment 1 Pascal Rapicault CLA 2010-01-27 10:33:58 EST
Henrik, do you still have plan to address this as part of 3.6?
Comment 2 Henrik Lindberg CLA 2010-01-29 08:56:03 EST
(In reply to comment #1)
> Henrik, do you still have plan to address this as part of 3.6?

No. Has not seen any questions relating to this, or demand for anything else besides basic authentication either, so I am making this a WON'T FIX.