Integrated: 8255584: `HttpPrincipal::getName` returns incorrect name

Patrick Concannon pconcannon at openjdk.java.net
Thu Nov 5 10:12:59 UTC 2020


On Fri, 30 Oct 2020 14:41:18 GMT, Patrick Concannon <pconcannon at openjdk.org> wrote:

> Hi,
> 
> Could someone please review my fix for JDK-8255584: '`HttpPrincipal::getName` returns incorrect name' ?
> 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.
> 
> This fix updates the method to return the name in the correct format as specified by the javadoc. 
> 
> Kind regards,
> Patrick

This pull request has now been integrated.

Changeset: 2b78a43f
Author:    Patrick Concannon <pconcannon at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/2b78a43f
Stats:     6 lines in 2 files changed: 4 ins; 0 del; 2 mod

8255584: `HttpPrincipal::getName` returns incorrect name

Reviewed-by: dfuchs

-------------

PR: https://git.openjdk.java.net/jdk/pull/958


More information about the net-dev mailing list