I was wondering if there is any interest in an auth modules that stacks 
existing auth modules.

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 
    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


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 prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to