We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87b370f commit cef7dbaCopy full SHA for cef7dba
kyuubi-common/src/main/scala/org/apache/kyuubi/service/authentication/KyuubiAuthenticationFactory.scala
@@ -156,8 +156,8 @@ object KyuubiAuthenticationFactory extends Logging {
156
}
157
158
159
- def getValidPasswordAuthMethod(authTypes: Set[AuthType]): AuthMethod = {
160
- if (authTypes == Set(NOSASL)) AuthMethods.NONE
+ def getValidPasswordAuthMethod(authTypes: Seq[AuthType]): AuthMethod = {
+ if (authTypes == Seq(NOSASL)) AuthMethods.NONE
161
else if (authTypes.contains(NONE)) AuthMethods.NONE
162
else if (authTypes.contains(LDAP)) AuthMethods.LDAP
163
else if (authTypes.contains(JDBC)) AuthMethods.JDBC
0 commit comments