Skip to content

[Bug] AuthenticationFilter auth type check has bug while check equals of set and seq type #6709

@lifulong

Description

@lifulong

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the bug

while check auth types in AuthenticationFilter.initAuthHandlers
authTypes == Set(NOSASL)
left side is seq, right side is set, the result is always false, even if authTypes values is Seq(NOSASL)

Affects Version(s)

master

Kyuubi Server Log Output

2024-09-25 14:55:22.330 DEBUG org.apache.kyuubi.server.http.authentication.AuthenticationFilter: No auth scheme matched for url: http://10.101.1.62:10100/api/v1/ping

Kyuubi Engine Log Output

No response

Kyuubi Server Configurations

kyuubi.authentication NOSASL

Kyuubi Engine Configurations

No response

Additional context

No response

Are you willing to submit PR?

  • Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
  • No. I cannot submit a PR at this time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions