JDK-8255584 : `HttpPrincipal::getName` returns incorrect name
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-10-29
  • Updated: 2020-11-12
  • Resolved: 2020-11-05
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 Availability Release.

To download the current JDK release, click here.
JDK 16
16 b24Fixed
Related Reports
CSR :  
Relates :  
Sub Tasks
JDK-8255764 :  
Description
The specification for `HttpPrincipal::getName` reports that it should return the name of the HttpPrincipal in the format "realm:username". However, it currently returns the username only.
The method should be updated to return the name in the correct format as specified by the javadoc. 
Comments
Changeset: 2b78a43f Author: Patrick Concannon <pconcannon@openjdk.org> Date: 2020-11-05 10:10:21 +0000 URL: https://github.com/openjdk/jdk/commit/2b78a43f
05-11-2020