You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by yu...@apache.org on 2024/12/16 05:41:57 UTC

(polaris) branch main updated: Authenticator: fix wrong method signature (#559)

This is an automated email from the ASF dual-hosted git repository.

yufei 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 f2ac56f0 Authenticator: fix wrong method signature (#559)
f2ac56f0 is described below

commit f2ac56f05da4e5fc1ed1d10bebfe94e090b48e43
Author: Alexandre Dutra <ad...@users.noreply.github.com>
AuthorDate: Mon Dec 16 06:41:53 2024 +0100

    Authenticator: fix wrong method signature (#559)
---
 .../src/main/java/org/apache/polaris/service/auth/Authenticator.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/service/common/src/main/java/org/apache/polaris/service/auth/Authenticator.java b/service/common/src/main/java/org/apache/polaris/service/auth/Authenticator.java
index a808dc67..4e1a45f3 100644
--- a/service/common/src/main/java/org/apache/polaris/service/auth/Authenticator.java
+++ b/service/common/src/main/java/org/apache/polaris/service/auth/Authenticator.java
@@ -23,5 +23,5 @@ import java.util.Optional;
 
 public interface Authenticator<C, P extends Principal> {
 
-  Optional<P> authenticate(String credentials);
+  Optional<P> authenticate(C credentials);
 }