box: add box.cfg.auth_type configuration option
This commit adds a new box configuration option - box.cfg.auth_type. The option takes an authentication method name (string) that will be used by box.schema.user.passwd to generate user authentication data. The only authentication method supported by Community Edition (CE) is 'chap-sha1' so we don't document or announce this feature in CE. More methods and tests will be added to Enterprise Edition (EE). Part of #7988 NO_DOC=ee NO_CHANGELOG=ee
Showing
- src/box/box.cc 32 additions, 0 deletionssrc/box/box.cc
- src/box/box.h 3 additions, 9 deletionssrc/box/box.h
- src/box/lua/cfg.cc 9 additions, 0 deletionssrc/box/lua/cfg.cc
- src/box/lua/load_cfg.lua 5 additions, 0 deletionssrc/box/lua/load_cfg.lua
- src/box/lua/schema.lua 4 additions, 2 deletionssrc/box/lua/schema.lua
- test/app-tap/init_script.result 1 addition, 0 deletionstest/app-tap/init_script.result
- test/box-luatest/gh_7988_auth_type_test.lua 26 additions, 0 deletionstest/box-luatest/gh_7988_auth_type_test.lua
- test/box/admin.result 2 additions, 0 deletionstest/box/admin.result
- test/box/cfg.result 4 additions, 0 deletionstest/box/cfg.result
Loading
Please register or sign in to comment