JDK-4933778 : Update the new Principal APIs to support providers written for earlier releases
  • Type: Bug
  • Status: Resolved
  • Resolution: Fixed
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Priority: P3
  • Affected Version: 5.0
  • OS: generic
  • CPU: sparc
  • Submit Date: 2003-10-07
  • Updated Date: 2017-05-16
  • Resolved Date: 2003-11-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
5.0 b28Resolved
Bug 4904555 introduced new APIs to obtain authenticated identity.
However these would not work with providers written for earlier releases.
Update getPeerPrincipal/getLocalPrincipal methods to return the X500Principal 
of the first cert if an AbstractMethodError is thrown.

Update javadocs in cases where the method needs to be overridden.

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger tiger-beta FIXED IN: tiger-b27 tiger-beta INTEGRATED IN: tiger-b28 tiger-beta

EVALUATION ###@###.### 2003-10-07 Will fix it. ###@###.### 2003-10-21 Updated getPeerPrincipal/getLocalPrincipal to provide default behaviour. Also updated javadocs. See http://ccc.sfbay/4933778