United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4856968 Enhance the Provider class
JDK-4856968 : Enhance the Provider class

Details
Type:
Enhancement
Submit Date:
2003-05-01
Status:
Resolved
Updated Date:
2003-07-31
Project Name:
JDK
Resolved Date:
2003-07-31
Component:
security-libs
OS:
generic
Sub-Component:
java.security
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:
5.0 (tiger)

Related Reports
Relates:
Relates:
Relates:

Sub Tasks

Description
Implementations are plugged into the Java security frameworks using the java.security.Provider class. Currently, a Provider object stores information about the implementations it supports as a map of String key-value pairs by virtue of inheriting from java.util.Properties and java.util.Hashtable. This architecture has several disadvantages:

    * algorithm names are defined to be case insensitive in the Java security model, but keys are indexed case sensitive in the Hashtable for compatibility reasons. This means that Hashtable.get() cannot be relied upon for lookups and a full linear iteration through the Hashtable may be required.

    * often multiple entries are required to describe all aspects of an implementation (such as alternative algorithm names and implementation attributes). A separate lookup is required to obtain each of these.

    * if behavior (i.e. code) is to be associated with the description of an implementation, methods would have to be added to the provider class in this architecture. It would be preferably to encapsulate the data and the code that describes an implementation in a single object.

The API of the Provider class should be extended to resolve this issues while preserving compatibility with existing applications and providers.

This work is part of Tiger TOO 4635083.

###@###.### 2003-05-01

                                    

Comments
EVALUATION

Will fix.

###@###.### 2003-05-01

For spec details see http://ccc.sfbay/4856968

###@###.### 2003-07-25
                                     
2003-05-01
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b14


                                     
2004-06-14



Hardware and Software, Engineered to Work Together