feat: add user name argument to `auth_method` api
User name is usually used as a salt for user password in order to avoid password repeating. For instance, postgres md5 authentication stores passwords as md5("password", "user"), so that the same passwords are represented by different hashes. part of picodata/picodata/sbroad!377 @TarantoolBot document Title: Document updated `box.schema.user.password` declaration. Since auth methods can use user name for hashing, user name is added to argument list of `box.schema.user.password`. NO_TEST=there are no methods that use user name
Showing
- changelogs/unreleased/update-box.schema.usesr.password-method.md 4 additions, 0 deletions...ogs/unreleased/update-box.schema.usesr.password-method.md
- src/box/alter.cc 1 addition, 1 deletionsrc/box/alter.cc
- src/box/applier.cc 2 additions, 1 deletionsrc/box/applier.cc
- src/box/auth_chap_sha1.c 4 additions, 0 deletionssrc/box/auth_chap_sha1.c
- src/box/authentication.c 2 additions, 2 deletionssrc/box/authentication.c
- src/box/authentication.h 8 additions, 5 deletionssrc/box/authentication.h
- src/box/lua/misc.cc 9 additions, 2 deletionssrc/box/lua/misc.cc
- src/box/lua/net_box.c 1 addition, 1 deletionsrc/box/lua/net_box.c
- src/box/lua/schema.lua 10 additions, 9 deletionssrc/box/lua/schema.lua
- test/box/access.result 2 additions, 2 deletionstest/box/access.result
- test/box/access.test.lua 2 additions, 2 deletionstest/box/access.test.lua
Loading
Please register or sign in to comment