United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-5100603 : Need JKS KeyStore with case sensitive alias names

Details
Type:
Bug
Submit Date:
2004-09-11
Status:
Resolved
Updated Date:
2004-10-12
Project Name:
JDK
Resolved Date:
2004-10-12
Component:
security-libs
OS:
generic
Sub-Component:
java.security
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
1.4.2
Fixed Versions:
5.0u1 (b04)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
This is a continuation of 5091374. That bug allowed case sensitive aliases to be enabled via a system property. This approach is now considered unsuitable for compatibility reasons.

Instead, a new KeyStore algorithm should be added that is identical to JKS except for the case sensitive aliases. Algorithm name is TBD.

                                    

Comments
EVALUATION

Will fix.

###@###.### 2004-09-10

The new JKS variant with case sensitive aliases is called "CaseExactJKS".

If an application wants to use "CaseExactJKS" but fallback to regular "JKS" if it is not available, use code like:

  KeyStore ks;
  try {
    ks = Keystore.getInstance("CaseExactJKS");
  } catch (KeyStoreException e) {
    ks = KeyStore.getInstance("JKS");
  }

###@###.### 2004-09-15
                                     
2004-09-15
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
1.4.2_07
1.5.0_01
mustang

FIXED IN:
1.5.0_01
mustang


                                     
2004-10-01



Hardware and Software, Engineered to Work Together