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

Patrick Concannon pconcannon at openjdk.java.net
Fri Oct 30 14:47:02 UTC 2020


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

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

Commit messages:
 - 8255584: `HttpPrincipal::getName` returns incorrect name

Changes: https://git.openjdk.java.net/jdk/pull/958/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=958&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8255584
  Stats: 6 lines in 2 files changed: 4 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/958.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/958/head:pull/958

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


More information about the net-dev mailing list