From 4384ab11b3410d6f716dd0add556ec2d68c2cc6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Kraus?= Date: Fri, 18 Aug 2023 12:30:10 +0200 Subject: [PATCH] Fixed javadoc. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomáš Kraus --- security/jwt/src/main/java/io/helidon/security/jwt/Jwt.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/security/jwt/src/main/java/io/helidon/security/jwt/Jwt.java b/security/jwt/src/main/java/io/helidon/security/jwt/Jwt.java index da8db8d77b5..4d9a799bf38 100644 --- a/security/jwt/src/main/java/io/helidon/security/jwt/Jwt.java +++ b/security/jwt/src/main/java/io/helidon/security/jwt/Jwt.java @@ -959,8 +959,7 @@ public Errors validate(String issuer, String audience) { * issuer claim mandatory * @param audience validates that this JWT was issued for this audience. Setting this to non-null value will make * audience claim mandatory - * @param checkAudience whether audience claim check is turned on. Validation will fail when {@code true} - * and audience claim is null + * @param checkAudience whether audience claim validation should be executed * @return errors instance to check for validation result */ public Errors validate(String issuer, String audience, boolean checkAudience) { @@ -982,8 +981,7 @@ public Errors validate(String issuer, String audience, boolean checkAudience) { * issuer claim mandatory * @param audience validates that this JWT was issued for this audience. Setting this to non-null value and with * any non-null value in the Set will make audience claim mandatory - * @param checkAudience whether audience claim check is configured as mandatory. Validation will fail when {@code true} - * and audience claim is null + * @param checkAudience whether audience claim validation should be executed * @return errors instance to check for validation result */ public Errors validate(String issuer, Set audience, boolean checkAudience) {