Vitaly Baranov
be44743ebe
Don't throw in unexceptional cases: update().
2021-12-20 23:10:46 +03:00
Vitaly Baranov
ed94c640fa
Don't throw in unexceptional cases: remove().
2021-12-20 23:10:43 +03:00
Vitaly Baranov
551fcc55e8
Don't throw in unexceptional cases: insert().
2021-12-20 23:09:55 +03:00
Vitaly Baranov
8c4e689da3
Don't throw in unexceptional cases: read() & readName()
2021-12-20 21:26:35 +03:00
Vitaly Baranov
a87f0b483e
Replace function IAccessStorage::canInsert() with isReadOnly().
2021-12-20 21:26:35 +03:00
Vitaly Baranov
6721060649
Rename function IAccessStorage::login() -> IAccessStorage::authenticate().
...
Remove functions IAccessStorage::hasSubscriptionImpl() and IAccessStorage::existsImpl().
2021-12-20 21:26:27 +03:00
Vitaly Baranov
c01d0f95c3
Remove the function IAccessStorage::getIDOfLoggedUser() and move its functionality to login(AlwaysAllowCredentials).
2021-12-20 21:24:38 +03:00
Vitaly Baranov
af56b20da7
Rename IAccessEntity::Type -> AccessEntityType and move it to Access/Common.
2021-11-19 02:48:00 +03:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
Maksim Kita
67e9b85951
Merge ext into common
2021-06-16 23:28:41 +03:00
Denis Glazachev
290a6d273e
Add Kerberos support for authenticating existing users when accessing over HTTP
2021-03-11 23:41:10 +03:00
Denis Glazachev
555f056a4c
Revert "user not found" detection in loginImpl() and getIDOfLoggedUserImpl()
2020-10-06 20:32:06 +04:00
Denis Glazachev
54446eeec6
Use ErrorCodes::UNKNOWN_USER
2020-10-06 20:00:29 +04:00
Denis Glazachev
e2f444ae85
Simplify loginImpl() and getIDOfLoggedUserImpl()
2020-10-06 19:37:35 +04:00
Denis Glazachev
950a07835f
Stylistic changes
2020-10-06 19:23:08 +04:00
Denis Glazachev
2fc6a4ea9c
Add log_and_mask_exceptions flag to login()
2020-10-05 00:24:09 +04:00
Denis Glazachev
1eb8ecf050
Fix compilation
2020-10-04 23:56:25 +04:00
Denis Glazachev
7f47719768
Refactor exception handling in login() et al.
...
Simplify LDAPClient and LDAPAccessStorage
2020-10-04 23:55:58 +04:00
Denis Glazachev
00a354cd37
Manually remove storages in reverse order in MultipleAccessStorage d-tor
2020-10-04 22:00:56 +04:00
Denis Glazachev
03481f7a3a
Synchronize the code with respect to IAccessStorage::login() functionality
2020-09-21 02:51:38 +04:00
Denis Glazachev
442b1407cf
Merge branch 'master' into ldap-any-user-authentication
...
* master: (375 commits)
Update type-conversion-functions.md
Update maxmap.md
Update maxmap.md
Update maxmap.md
Update single_fixed_string_groupby.xml
Alter remove column properties and TTLs (#14742 )
better fixed string group by support
Fix incorrect key condition of fixed strings.
constant output order
more tests for #14646
Maybe fix MSan report in base64
Proper exception message for wrong number of arguments of CAST
Added a test
Fix buffer overflow in "bar" function
Update convertMySQLDataType.cpp
Fix clang-tidy
Remove obsolete code from performance test
Slightly better code
Even more
Even more
...
# Conflicts:
# src/Interpreters/Context.cpp
2020-09-21 00:31:04 +04:00
Vitaly Baranov
dbc837c148
IAccessStorage now can override the login() function.
2020-09-19 01:04:20 +03:00
Denis Glazachev
7ffb618f6e
Add missing proper findOrGenerateImpl() implementation to MultipleAccessStorage class
2020-08-28 16:05:08 +04:00
Vitaly Baranov
2909ed1bc0
Better initialization of access storages. Make list of access storages dynamic.
2020-08-16 19:15:34 +03:00
Vitaly Baranov
ad03ff3887
Rename storages users.xml=>users_xml, disk=>local_directory.
2020-08-16 16:42:57 +03:00
Vitaly Baranov
d1e193f02e
Check name of inserted entities in precedent storages.
2020-08-16 16:42:57 +03:00
Vitaly Baranov
0caf592941
Remove exception about duplicates when multiple access storages keeps entities with the same name.
2020-08-16 16:42:57 +03:00
Maxim Akhmedov
e09bcb4290
Make possible adding nested storages to MultipleAccessStorage in run-time.
2020-05-26 17:05:06 +03:00
Vitaly Baranov
dd8b29b4fb
Use enum Type instead of std::type_index to represent the type of IAccessEntity.
...
This change simplifies handling of access entities in access storages.
2020-05-13 19:40:48 +03:00
Alexey Milovidov
be22a4b94e
Checkpoint
2020-04-22 08:39:31 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00