某文
6056b0e7a8
fix: ensure atom key for emqx_config:get
2023-05-11 17:40:03 +08:00
Zhongwen Deng
78c2c53daa
fix: authn init is empty
2023-05-11 16:26:47 +08:00
Zaiming (Stone) Shi
dc8f0c5101
refactor(authn): no need to check config at app boot
2023-02-06 18:19:22 +01:00
Zaiming (Stone) Shi
83e66da2aa
fix(authn): throw exception on invalid config from the API
2023-02-06 14:12:50 +01:00
Zaiming (Stone) Shi
fbc52330f3
refactor: do not re-check config in post_config_update
...
now that the type is not lazy, it should have already been checked
when reaching the post_config_update step
2023-02-04 07:56:29 +01:00
Zaiming (Stone) Shi
dbc10c2eed
chore: update copyright year 2023
2023-01-02 09:22:27 +01:00
zhongwencool
5056cbebf4
chore: update apps/emqx_authn/src/emqx_authn_app.erl
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-09-16 09:45:37 +08:00
Zhongwen Deng
6bd72fe5a1
fix: check authn's mechanism field
2022-09-16 09:45:37 +08:00
JimMoen
aae2d01582
style: erlfmt apps/emqx_authn
2022-04-01 02:19:46 +08:00
Zaiming (Stone) Shi
63167cea70
chore: update copyright
2022-01-05 20:55:00 +01:00
Zaiming (Stone) Shi
5d3cb6ae1c
refactor(authn): align authn config root name
...
authn configs are checked independently per-auth provider,
this was to make authn providers more plugable.
in order to make environment variable overrides work for authn,
we need to have a unified view of the config layout,
no matter from root level, or partially checking per-provider
config independently, i.e. we try to use the same config envelop.
2021-12-04 09:33:14 +01:00
Ilya Averyanov
071c2c99e8
refactor(authn resources): add `emqx_resource` and `emqx_authn` tests
2021-11-22 21:08:04 +03:00
Ilya Averyanov
c86887491c
fix(authn): transfer chain tab to emqx_authentication_sup
...
To preserve configuration after emqx_authentication crashes.
2021-11-19 16:41:22 +03:00
Zaiming (Stone) Shi
ed069cfecc
Merge pull request #5963 from zmstone/refactor-authn-schema
...
refactor(authn): check authenticator config with provider module
2021-10-21 08:07:48 +02:00
Zaiming Shi
72c26931d7
fix: fill string fields' default value with binary
2021-10-20 11:52:30 +02:00
Zaiming Shi
1b9c082563
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-20 10:13:11 +02:00
k32
d14b8e7da9
chore(mria): ekka_rlog -> mria_rlog
2021-10-18 22:04:05 +02: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
zhouzb
ce6c24a866
fix(authn): fix spelling error
2021-09-14 17:42:07 +08:00
zhouzb
be38bcc5cc
chore(authn): adapt listener id type
2021-09-08 09:46:47 +08:00
zhouzb
e998770f2e
refactor(authn): refactor to support global and listener authentication
2021-09-06 18:46:08 +08:00
zhouzb
61da3a4fd7
feat(authn hot config): initial support for hot config
2021-08-19 15:59:26 +08:00
Shawn
e8e95d39ef
refactor(config): move emqx_config:get/get_raw to emqx:get_config/get_raw_config ( #5517 )
2021-08-18 14:52:57 +08:00
k32
dfa6761e49
fix(rlog): Ensure the correct order of table initalization
2021-08-12 19:58:52 +02:00
zhouzb
fb716ae8b2
chore(authn rename): rename emqx_authn to authentication
2021-08-03 09:21:07 +08:00
Turtle
9e97de04c9
chore(plugins): delete emqx_plugins module attributes
2021-07-30 14:32:01 +08:00
zhouzb
327ff8636f
feat(authn http api): provide http api for authn and improve update mechanism
2021-07-26 14:41:15 +08:00
zhouzb
07ce636803
feat(authn): support enable authn in config
2021-07-15 16:16:41 +08:00
zhouzb
6a8e35ce3a
feat(one authn): merge simple authn and enhanced authn
2021-07-14 16:54:13 +08:00
Turtle
918a26e921
feat(conf): merge all conf to emqx.conf
2021-07-02 17:01:16 +08:00
tigercl
cdcb63374a
refactor(authn): support hocon for authn ( #5068 )
...
* refactor(use hocon): rename to authn, , support hocon, support two types of chains and support bind listener to chain
2021-06-30 17:04:28 +08:00