From 440e3d834be6e361cad5ea1c683ea31745e96edb Mon Sep 17 00:00:00 2001 From: Alexandre Dutra Date: Thu, 2 Oct 2025 19:59:23 +0200 Subject: [PATCH] Fix javadocs of `PolarisPrincipal.getPrincipalRoles()` --- .../apache/polaris/service/auth/PolarisCredential.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/runtime/service/src/main/java/org/apache/polaris/service/auth/PolarisCredential.java b/runtime/service/src/main/java/org/apache/polaris/service/auth/PolarisCredential.java index 26cb7b2f63..f86565e669 100644 --- a/runtime/service/src/main/java/org/apache/polaris/service/auth/PolarisCredential.java +++ b/runtime/service/src/main/java/org/apache/polaris/service/auth/PolarisCredential.java @@ -47,12 +47,6 @@ static PolarisCredential of( @Nullable String getPrincipalName(); - /** - * The principal roles present in the token. - * - *

When using the default authenticator, the special {@link - * DefaultAuthenticator#PRINCIPAL_ROLE_ALL} can be used to denote a request for all principal - * roles that the principal has access to. - */ + /** The principal roles, or empty if the principal has no roles. */ Set getPrincipalRoles(); }