Skip to content

Commit

Permalink
Fix JWTCallerPrincipal JavaDocs (#747)
Browse files Browse the repository at this point in the history
  • Loading branch information
sberyozkin authored Nov 14, 2023
1 parent 66a74d5 commit 771a5e0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public JWTCallerPrincipal(String rawToken, String tokenType) {
* but the next fallback claim, the "preferred_username" claim is.
* This is due to the fact that a standard OpenId Connect "preferred_username" claim value
* is not guaranteed to be unique.
* Use {@link JsonWebToken#getSubject()} or {@link JsonWebToken#getClaim("upn")} to get a unique
* identifier.
* Use {@link JsonWebToken#getSubject()} to get a unique subject value
* or {@link JsonWebToken#getClaim(String)} to get a 'upn' claim whose value is a unique identifier.
*/
@Override
public String getName() {
Expand Down

0 comments on commit 771a5e0

Please sign in to comment.