vuu icon indicating copy to clipboard operation
vuu copied to clipboard

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

Open naleeha opened this issue 1 year ago • 0 comments

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 avatar Apr 29 '24 12:04 naleeha