I was wondering if there is any interest in an auth modules that stacks
existing auth modules.
Example:
stack = "a b c"
while there are entries on stack
Z = top of stack
If the users exists in Z AND passes authentication, they are authorize
else if the users exists in Z but does NOT pass authentication they are
denied
if the user does not exist in Z then Z is removed from the stack
Use case
I have a prosody instance that has some 'privileged' JIDs but I want to
allow anonymous access to everyone else.
I do not want anyone to be able login with a 'privileged' JID.
my stack is
internal_hashed
any
I have 'created' entries for the 'privileged' JIDs
I have created such a module and will post it here if there is interest.
--
You received this message because you are subscribed to the Google Groups
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.