Skip to content

Commit b697f29

Browse files
author
turtleDeng
authored
Merge pull request #160 from emqx/master
Version 3.2.7
2 parents a48a86a + d2fb0a1 commit b697f29

File tree

3 files changed

+112
-4
lines changed

3 files changed

+112
-4
lines changed

source/changes.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,36 @@
55
Changes
66
=======
77

8+
.. _release_3.2.7:
9+
10+
--------------
11+
Version 3.2.7
12+
--------------
13+
14+
*Release Date: 2019-12-03*
15+
16+
EMQ X 3.2.7 is now available. This version resupports to configure the default ``username`` and ``clientid`` through the configuration file.
17+
18+
emqx-auth-username (plugin)
19+
----------------------------
20+
21+
Enhancements:
22+
23+
- Resupport to configure the default ``username`` through the configuration file
24+
25+
Github PR:
26+
`emqx/emqx-auth-username#127 <https://github.com/emqx/emqx-auth-username/pull/127>`_
27+
28+
emqx-auth-clientid (plugin)
29+
----------------------------
30+
31+
Enhancements:
32+
33+
- Resupport to configure the default ``clientid`` through the configuration file
34+
35+
Github PR:
36+
`emqx/emqx-auth-clientid#123 <https://github.com/emqx/emqx-auth-clientid/pull/123>`_
37+
838
.. _release_3.2.6:
939

1040
--------------

source/install.rst

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ Install via Repository
9696
9797
$ sudo service emqx start
9898
99+
6. Configuration file path
100+
101+
+ Configuration file path: ``/etc/emqx``
102+
103+
+ Log file path: ``/var/log/emqx``
104+
105+
+ Data file path: ``/var/lib/emqx`
106+
99107
Install via rpm
100108
>>>>>>>>>>>>>>>>
101109
@@ -132,6 +140,14 @@ Install via rpm
132140
133141
$ sudo service emqx start
134142
143+
4. Configuration file path
144+
145+
+ Configuration file path: ``/etc/emqx``
146+
147+
+ Log file path: ``/var/log/emqx``
148+
149+
+ Data file path: ``/var/lib/emqx`
150+
135151
Install via zip Package
136152
>>>>>>>>>>>>>>>>>>>>>>>>
137153
@@ -261,6 +277,14 @@ Install via Repository
261277
262278
$ sudo service emqx start
263279
280+
8. Configuration file path
281+
282+
+ Configuration file path: ``/etc/emqx``
283+
284+
+ Log file path: ``/var/log/emqx``
285+
286+
+ Data file path: ``/var/lib/emqx`
287+
264288
Install via deb Package
265289
>>>>>>>>>>>>>>>>>>>>>>>>
266290
@@ -297,6 +321,14 @@ Install via deb Package
297321
298322
$ sudo service emqx start
299323
324+
4. Configuration file path
325+
326+
+ Configuration file path: ``/etc/emqx``
327+
328+
+ Log file path: ``/var/log/emqx``
329+
330+
+ Data file path: ``/var/lib/emqx`
331+
300332
Install via zip Package
301333
>>>>>>>>>>>>>>>>>>>>>>>>
302334
@@ -424,6 +456,14 @@ Install via Repository
424456
425457
$ sudo service emqx start
426458
459+
8. Configuration file path
460+
461+
+ Configuration file path: ``/etc/emqx``
462+
463+
+ Log file path: ``/var/log/emqx``
464+
465+
+ Data file path: ``/var/lib/emqx`
466+
427467
Install via deb Package
428468
>>>>>>>>>>>>>>>>>>>>>>>>
429469
@@ -460,6 +500,14 @@ Install via deb Package
460500
461501
$ sudo service emqx start
462502
503+
4. Configuration file path
504+
505+
+ Configuration file path: ``/etc/emqx``
506+
507+
+ Log file path: ``/var/log/emqx``
508+
509+
+ Data file path: ``/var/lib/emqx`
510+
463511
Install via zip Package
464512
>>>>>>>>>>>>>>>>>>>>>>>>
465513
@@ -623,6 +671,14 @@ Install via Repository
623671
624672
$ sudo service emqx start
625673
674+
6. Configuration file path
675+
676+
+ Configuration file path: ``/etc/emqx``
677+
678+
+ Log file path: ``/var/log/emqx``
679+
680+
+ Data file path: ``/var/lib/emqx`
681+
626682
Install via rpm Package
627683
>>>>>>>>>>>>>>>>>>>>>>>>
628684
@@ -659,6 +715,14 @@ Install via rpm Package
659715
660716
$ sudo service emqx start
661717
718+
4. Configuration file path
719+
720+
+ Configuration file path: ``/etc/emqx``
721+
722+
+ Log file path: ``/var/log/emqx``
723+
724+
+ Data file path: ``/var/lib/emqx`
725+
662726
Install via zip Package
663727
>>>>>>>>>>>>>>>>>>>>>>>>
664728

source/plugins.rst

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,23 @@ ClientID authentication plugin
186186

187187
`emqx_auth_clientid`_ currently only supports connection authentication, it authenticates the client through ``clientid`` and ``password``. When the password is stored, it can be encrypted according the configuration.
188188

189-
.. important:: From EMQ release X 3.1 on, only the REST API/CLI clientid is manageable by REST API/CLI only, adding clientid in the configuration file is no longer supported.
190-
191189
ClientID Authentication Configuration
192190
::::::::::::::::::::::::::::::::::::::
193191

194192
etc/plugins/emqx_auth_clientid.conf:
195193

196194
.. code:: properties
197195
196+
## Default usernames Examples
197+
##auth.client.1.clientid = id
198+
##auth.client.1.password = passwd
199+
##auth.client.2.clientid = dev:devid
200+
##auth.client.2.password = passwd2
201+
##auth.client.3.clientid = app:appid
202+
##auth.client.3.password = passwd3
203+
##auth.client.4.clientid = client~!@#$%^&*()_+
204+
##auth.client.4.password = passwd~!@#$%^&*()_+
205+
198206
## Password encryption method
199207
## Enumeration value: plain | md5 | sha | sha256
200208
auth.client.password_hash = sha256
@@ -204,15 +212,21 @@ Username Authentication Plugin
204212

205213
`emqx_auth_username`_ currently only supports connection authentication, it authenticates the client through ``username`` and ``password``. When the password is stored, it can be encrypted according the configuration.
206214

207-
.. important:: From EMQ release X 3.1 on, only the REST API/CLI username is manageable by REST API/CLI only, adding username in the configuration file is no longer supported.
208-
209215
Username Authentication Configuration
210216
::::::::::::::::::::::::::::::::::::::
211217

212218
etc/plugins/emqx_auth_username.conf:
213219

214220
.. code:: properties
215221
222+
## Default usernames Examples:
223+
##auth.user.1.username = admin
224+
##auth.user.1.password = public
225+
##auth.user.2.username = [email protected]
226+
##auth.user.2.password = public
227+
##auth.user.3.username = name~!@#$%^&*()_+
228+
##auth.user.3.password = pwsswd~!@#$%^&*()_+
229+
216230
## Password encryption method
217231
## Enumeration value: plain | md5 | sha | sha256
218232
auth.user.password_hash = sha256

0 commit comments

Comments
 (0)