This is an automated email from the ASF dual-hosted git repository.
singhpk234 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new c3fe14110 Fix javadocs of `PolarisPrincipal.getPrincipalRoles()`
(#2752)
c3fe14110 is described below
commit c3fe141101279956cd0a8a29410adeb822e44932
Author: Alexandre Dutra <[email protected]>
AuthorDate: Fri Oct 3 02:04:01 2025 +0200
Fix javadocs of `PolarisPrincipal.getPrincipalRoles()` (#2752)
---
.../java/org/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 26cb7b2f6..f86565e66 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 @@ public interface PolarisCredential extends Credential {
@Nullable
String getPrincipalName();
- /**
- * The principal roles present in the token.
- *
- * <p>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<String> getPrincipalRoles();
}