All , I need to authenticate users against , LDAP , which I have working. I need to also check the username against a simple whitelist.txt file before allowing access.
Where / how is the proper way to implement this? I currently have some logic in a function called ldap_connect that is invoked using auth.settings.login_onaccept.append(ldap_connect). I can check the whiltelist file but it's unclear to me how to properly force a logout if the username isn't in the whitelist file. Would it be a redirect or calling an auth function directly to insure the user is formally logged out? -Scott -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.