Commit Graph

128 Commits

Author SHA1 Message Date
JimMoen c5241670e0 refactor(paginate): use exported fun call `{M,F}` 2021-10-27 21:47:59 -07:00
JimMoen f936aba6b7 fix(authn): users pagination on spec listener_id and authn_id 2021-10-27 21:47:59 -07:00
JimMoen 295b1312be feat(authn_scram): authn_scram users page query 2021-10-27 21:47:59 -07:00
JimMoen c6ea575d35 feat(authn): authn users page query 2021-10-27 21:47:59 -07:00
JimMoen 36fd7369e0 fix(authn): api description using binary string 2021-10-27 21:47:59 -07:00
Zaiming Shi 70491aee07 fix(authn): save certificates to certs dir 2021-10-27 21:47:59 -07:00
Zaiming Shi bc99d5c1a6 refactor(authz): call emqx_tls_lib to save & read SSL files 2021-10-27 21:47:59 -07:00
zhouzb ddcf73f465 fix(authn): fix handling of pgsql response 2021-10-27 21:47:59 -07:00
zhouzb cc5b995cf2 fix(authn): no longer use single quotes to wrap placeholders 2021-10-27 21:47:59 -07:00
zhouzb ab201625c3 fix(authn): fix sql parse for mysql 2021-10-27 21:47:59 -07:00
Ilya Averyanov c9a0c37dbb style(behaviour attrs): unify behaviour declarations 2021-10-27 21:47:59 -07:00
Zaiming Shi 2f2a093150 refactor(authn): make schema doc generation work 2021-10-27 21:47:59 -07:00
Zaiming Shi efca545d3d fix(authn): allow single authenticator instance from config 2021-10-27 21:47:59 -07:00
Zaiming Shi 1c22c0d596 fix(authn): rename config key http-server to http 2021-10-27 21:47:59 -07:00
Zaiming Shi 494bac419d fix: fill string fields' default value with binary 2021-10-27 21:47:59 -07:00
Zaiming Shi 835539364e refactor(authn): check authenticator config with provider module
mainly two changes:

1. the schema is simplified at root level, per-authenticator checks
   are done after the type can be identified
2. the config handling part is split out from emqx_authentication
   module to emqx_authentication_config module
2021-10-27 21:47:59 -07:00
zhouzb 257bc353a4 fix(authn): fix placeholders are not replaced correctly 2021-10-27 21:47:59 -07:00
k32 1a473bb73b chore(mria): ekka_rlog -> mria_rlog 2021-10-27 21:47:58 -07:00
k32 3e8b9ff76a chore(mria): Get rid of copy_mnesia callback 2021-10-27 21:47:58 -07:00
k32 814623edae chore(mria): ekka_mnesia:create_table -> mria:create_table 2021-10-27 21:47:58 -07:00
k32 fd482e2ec0 chore(mria): Rename module: ekka_mnesia -> mria 2021-10-27 21:47:58 -07:00
x1001100011 0312f07b11 Merge branch 'master' into EMQX-782 2021-10-17 20:57:01 -07:00
Tobias Lindahl aa19c2a908 chore: Remove emqx_ct_helpers as dependency 2021-10-15 10:40:57 +02:00
zhongwencool 2de5e0157b
chore(doc): replace : by - in namespace (#5920) 2021-10-14 14:48:39 +08:00
tigercl 3df33da9ac
Merge pull request #5919 from tigercl/fix/scram-users
fix(authn): fix bad user_id for scram
2021-10-13 13:56:29 +08:00
zhouzb ab060198a6 fix(authn): fix bad user_id for scram 2021-10-13 11:35:51 +08:00
lafirest 3524942766 fix: change all ~s in io format to ~ts
we should use unicode to replace latin1
2021-10-12 15:09:24 +08:00
x1001100011 f20d5b5395 Merge branch 'master' into EMQX-782 2021-10-11 23:44:44 -07:00
tigercl 79685a77ba
Merge branch 'master' into fix/authn2 2021-09-28 09:27:08 +08:00
zhouzb 352c87a586 chore(authn): delete useless func 2021-09-28 09:22:59 +08:00
zhouzb 2262bf508e chore(authn): improve code 2021-09-27 14:50:22 +08:00
lafirest 6e3ec6c9db fix(schema): fix authn/z's schema time unit 2021-09-26 14:41:46 +08:00
zhouzb 096e85dc14 chore(authn): improve log and fix disabled authentication still working 2021-09-26 11:31:19 +08:00
zhouzb 11bdfcb8f0 fix(authn): fix bugs in http and pgsql authn 2021-09-24 17:15:10 +08:00
zhouzb e31840d943 fix(authn): add timeout option for mysql connector 2021-09-24 17:15:10 +08:00
x1001100011 ddb79f51ae feat: lock deps version 2021-09-23 21:21:17 -07:00
Zaiming Shi 4f638b8242 fix(schema): upgrade to hocon 0.19.5
renamed no_conversion option to only_fill_defaults
2021-09-23 16:57:15 +02:00
x1001100011 df1cbb0bab Merge branch 'master' into EMQX-871-872 2021-09-23 00:12:57 -07:00
zhouzb 79026d5900 chore(authn): add supervisor for authn and fix checking errors 2021-09-23 10:11:50 +08:00
zhouzb bb4e5fdb4f chore(authn): fix dialyzer 2021-09-18 09:14:03 +08:00
zhouzb 69755ad3fb fix(authn): fix bug in authn 2021-09-18 09:14:03 +08:00
zhouzb 35a4a05f03 feat(clear certs): clear certs when deleting instance 2021-09-18 09:11:41 +08:00
Zaiming Shi 0877fb5569 refactor(authn): register providers in batch 2021-09-16 23:17:50 +02:00
Zaiming Shi 3dcccc0b33 refactor(authn): call lists:foreach instaed of list comprehension 2021-09-16 23:17:50 +02:00
JimMoen deac54c847 chore(for editor): Add comments for Emacs major mode. 2021-09-16 15:43:30 +08:00
tigercl c4403e886d
Merge pull request #5732 from tigercl/feat/upload-certs
feat(upload certs): save certs to file
2021-09-15 10:58:31 +08:00
zhouzb ce6c24a866 fix(authn): fix spelling error 2021-09-14 17:42:07 +08:00
zhouzb 1a61640b15 feat(upload certs): serialize errors about saving cert 2021-09-14 15:07:57 +08:00
zhouzb ee178ccea9 feat(upload certs): support return cert content by http api 2021-09-14 14:59:13 +08:00
zhouzb 63d3a7b525 feat(upload certs): save certs to file 2021-09-14 13:38:09 +08:00