iproto: send default authentication method in reply to IPROTO_ID
Part of #7989 @TarantoolBot document Title: Document IPROTO_AUTH_TYPE - new key of IPROTO_ID A new key was added to the `IPROTO_ID` response: name `IPROTO_AUTH_TYPE`, code 0x5b, value type `MP_STR`. Its value equals the name of the authentication method that is currently used on the server for generating user authentication data from a password `box.schema.passwd()`. It's configured with `box.cfg.auth_type`. In Community Edition, the only authentication method currently available is 'chap-sha1'. Other authentication methods may be used in Enterprise Edition. A client can use the received value as the authentication method that should be used by default, in case it isn't specified explicitly along with the user credentials.
Showing
- changelogs/unreleased/gh-7989-iproto-id-auth-type.md 5 additions, 0 deletionschangelogs/unreleased/gh-7989-iproto-id-auth-type.md
- src/box/box.cc 8 additions, 4 deletionssrc/box/box.cc
- src/box/box.h 6 additions, 0 deletionssrc/box/box.h
- src/box/iproto.cc 1 addition, 1 deletionsrc/box/iproto.cc
- src/box/iproto_constants.c 1 addition, 0 deletionssrc/box/iproto_constants.c
- src/box/iproto_constants.h 7 additions, 0 deletionssrc/box/iproto_constants.h
- src/box/lua/load_cfg.lua 1 addition, 0 deletionssrc/box/lua/load_cfg.lua
- src/box/xrow.c 16 additions, 3 deletionssrc/box/xrow.c
- src/box/xrow.h 14 additions, 3 deletionssrc/box/xrow.h
- test/box-py/iproto.result 4 additions, 2 deletionstest/box-py/iproto.result
- test/box-py/iproto.test.py 16 additions, 6 deletionstest/box-py/iproto.test.py
Loading
Please register or sign in to comment