[ejabberd] auth using user & resource combination?

Badlop badlop at gmail.com
Thu Sep 4 15:37:38 MSD 2008


On Thu, Sep 4, 2008 at 12:05 PM, Gabriel Rossetti
<gabriel.rossetti at arimaz.com> wrote:
> Is it possible to deny access to a user based on it's resource? For exmple :
>
> user1 at domain/res1 is allowed access
> user1 at domain/res2 is denied access
>
> in both cases the password was correctly entered.

The default ejabberd configuration already defines some access, so you
can simply add this ACL to disallow any login attempt using that
resource:
{acl, blocked, {resource, "res2"}}.


---


More information about the ejabberd mailing list