United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4856969 : Specify that ProviderException should be used for internal Provider errors

Details
Type:
Enhancement
Submit Date:
2003-05-01
Status:
Resolved
Updated Date:
2003-08-17
Project Name:
JDK
Resolved Date:
2003-08-17
Component:
security-libs
OS:
generic,solaris_10,windows_2000
Sub-Component:
java.security
CPU:
x86,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.2.1,1.3.0_01,5.0
Fixed Versions:
5.0 (tiger)

Related Reports
Relates:

Sub Tasks

Description
In JCA/JCE providers that are implemented on top of hardware token, any communication with that token may result in an error. For example, imagine a Smartcard based provider using a card that is physically removed from the reader in the middle of an operation. Or assume we want to store a key on the token, but there is insufficient memory, for example due to other threads concurrently creating objects.

The JCA/JCE APIs currently do not specify how to handle this situation. We plan to amend the specification of Provider to state that ProviderException (or a subclass) should be used for this purpose (ProviderException is an existing subclass of RuntimeException). Also, update the specification of ProviderException to explicitly mention internal errors.

This work is part of Tiger TOO 4635083.

                                    

Comments
EVALUATION

Will fix.

###@###.### 2003-05-01
                                     
2003-05-01
PUBLIC COMMENTS

 
                                     
2004-06-10
SUGGESTED FIX

 
                                     
2004-06-11
WORK AROUND

 
                                     
2004-06-11
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b16


                                     
2004-06-14



Hardware and Software, Engineered to Work Together