Commit Graph

45 Commits

Author SHA1 Message Date
Zaiming Shi
d468c21e61 fix(authn): rename config key http-server to http 2021-10-20 14:36:37 +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
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
lafirest
6e3ec6c9db fix(schema): fix authn/z's schema time unit 2021-09-26 14:41:46 +08: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
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
35a4a05f03 feat(clear certs): clear certs when deleting instance 2021-09-18 09:11:41 +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
zhouzb
5cea9a4edc chore(authn): add api spec 2021-09-10 15:55:37 +08:00
zhouzb
d30d7d5710 chore(authn): update api spec for built in database 2021-09-09 17:34:39 +08:00
zhouzb
564896d64a chore(authn): update api spec 2021-09-09 17:17:27 +08:00
zhouzb
c6e52b32fb chore(authn): improve code of moving authenticator 2021-09-09 09:32:18 +08:00
zhouzb
7d312a630b chore(authn): provide easy-to-read hints for more errors 2021-09-08 16:35:54 +08:00
zhouzb
29cad91a47 fix(authn): fix superuser in mongodb authn 2021-09-08 10:58:00 +08:00
zhouzb
b5ded1ece0 chore(authn): add the serialization of more errors 2021-09-08 10:46:18 +08:00
zhouzb
8531e9ce11 chore(authn): rename superuser to is_superuser 2021-09-08 09:53:39 +08:00
zhouzb
be38bcc5cc chore(authn): adapt listener id type 2021-09-08 09:46:47 +08:00
zhouzb
c68edb3905 chore(authn): update apis of user 2021-09-07 17:29:05 +08:00
zhouzb
e998770f2e refactor(authn): refactor to support global and listener authentication 2021-09-06 18:46:08 +08:00
Turtle
bc325e55fc fix(authn-authz-api): fix authn/authz test cases fail 2021-08-24 18:19:21 +08:00
Turtle
e0c05242a7 refactor(minirest-callback): refactor minirest callback function 2021-08-24 18:19:21 +08:00
zhouzb
e5892d16e5 feat(auth): support hot config 2021-08-19 16:01:38 +08:00
zhouzb
e6f9767066 feat(authn): support superuser 2021-08-19 15:59:26 +08:00
zhouzb
429def6b95 fix(authn): fix http api spec 2021-08-19 15:59:26 +08:00
zhouzb
3f2ca5282c chore(authn): remove implied schema 2021-08-19 15:59:26 +08:00
zhouzb
b7bc8b8cac feat(authn): improve apis of moving authenticators 2021-08-19 15:59:26 +08:00
zhouzb
61da3a4fd7 feat(authn hot config): initial support for hot config 2021-08-19 15:59:26 +08:00
zhouzb
f43d3e9f66 feat(authn redis): add api spec for redis authentication 2021-08-06 15:22:49 +08:00
zhouzb
99534e7212 feat(authn api): support query authentication status 2021-08-03 10:25:04 +08:00
zhouzb
5e9ed72975 chore(authn rename): missing name change 2021-08-03 09:24:49 +08:00
zhouzb
fb716ae8b2 chore(authn rename): rename emqx_authn to authentication 2021-08-03 09:21:07 +08:00
zhouzb
1c3d46d29e feat(authn api): add required spec 2021-07-30 12:01:17 +08:00
zhouzb
5c9dabc064 feat(authn mongo api): add api spec for mongo authn 2021-07-30 11:47:48 +08:00
zhouzb
336fe63c1c feat(enable authn): support enable authn by http api 2021-07-29 20:45:19 +08:00
zhouzb
5b6452d853 feat(authn): support mongodb authn 2021-07-29 16:07:36 +08:00
zhouzb
7febcb852a feat(authn http api): add test case and improve http api spec 2021-07-27 09:54:08 +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
7d2aac7e24 feat(http pipelining): support to switch http pipelining 2021-07-26 14:41:15 +08:00
zhouzb
2a594b1a73 fix(authn): fix some bugs 2021-07-26 14:41:14 +08:00
zhouzb
6a8e35ce3a feat(one authn): merge simple authn and enhanced authn 2021-07-14 16:54:13 +08:00
DDDHuang
c11a8c6db6 refactor: clients api; status api; adapter minirest v1
The serious influence:

authn:
    api
authz:
    api; api test suit
dashboard:
    all closed
lwm2m:
    api;
modules:
    api(api_topic_metrics, modules_api); test suit(emqx_modules_SUITE)
prometheus:
    api
retainer:
    api; api test suit
rule_engine:
    api: api test suit
telemetry:
    api
2021-07-09 18:09:07 +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