Anonymous logins

I am using Ejabberd as my XMPP server for both by admin and visitor sites. Ejabberd works perfectly on my admin site as each user has an individual login.

I was looking at an options for anonymous logins for the visitor, here users access information and only login when a transaction has to be made. We use XMPP to fire alerts for various checks performed on our site, since it is not possible for us to create a login for every user i would like to do the same through anonymous logins.

With this configuration,

With this configuration, "localhost" is used for normal registered users, and "anon.localhost" for accounts that were not even registered, or for clients that support the SASL anonymous protocol (like Muckl).

{hosts, ["localhost", "anon.localhost"]}.

{auth_method, [internal]}.

{host_config, "anon.localhost", [{auth_method, [anonymous]},
                                 {allow_multiple_connections, false},
                                 {anonymous_protocol, both}]}.
Syndicate content