[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mosquitto-dev] Mount-point per user?
|
Hi Jerry,
You can't do this through the auth plugin, but you could modify the
main source to do this yourself. The place to look is in
src/read_handle.c mqtt3_handle_publish() and lib/send_mosq.c
_mosquitto_send_publish() - search for mount_point. Doing a per client
id mount point should be quite straightforward.
Cheers,
Roger
On Fri, Apr 11, 2014 at 10:47 AM, Jerome Raj <jerry.raj@xxxxxxxxx> wrote:
> Hi,
> I have a case where each identity (I'm using PSK) may use the same topic
> name, but expects it to be used by no one else. I can do this by creating a
> listener per identity with a different mount point, and have each user
> connect to a separate listener.
> Is it possible to make the auth_plugin do this on a per-user basis? I
> understand this will need code changes, but is it feasible to even attempt
> this?
>
> Thanks
> -Jerry
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev