Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with VUU Server option for adding customised login validator is not setting #1315

Open
naleeha opened this issue Apr 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@naleeha
Copy link
Contributor

naleeha commented Apr 29, 2024

When using following builder syntax to register the custom login validator, VUU server does not use it but use the default login validator.

VuuSecurityOptions.apply()
.withLoginValidator(new MyCustomLoginValidator()),

Issue seem to be a bug in following:

See class VuuSecurityOptionsImpl

override def withLoginValidator(tokenValidator: LoginTokenValidator): VuuSecurityOptions = this.copy(authenticator = authenticator)

It should be using the passed in tokenValidator in the copy it returns.

@naleeha naleeha added the bug Something isn't working label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant