Skip to content

Commit cef7dba

Browse files
committed
fix
1 parent 87b370f commit cef7dba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/KyuubiAuthenticationFactory.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ object KyuubiAuthenticationFactory extends Logging {
156156
}
157157
}
158158

159-
def getValidPasswordAuthMethod(authTypes: Set[AuthType]): AuthMethod = {
160-
if (authTypes == Set(NOSASL)) AuthMethods.NONE
159+
def getValidPasswordAuthMethod(authTypes: Seq[AuthType]): AuthMethod = {
160+
if (authTypes == Seq(NOSASL)) AuthMethods.NONE
161161
else if (authTypes.contains(NONE)) AuthMethods.NONE
162162
else if (authTypes.contains(LDAP)) AuthMethods.LDAP
163163
else if (authTypes.contains(JDBC)) AuthMethods.JDBC

0 commit comments

Comments
 (0)