aboutsummaryrefslogtreecommitdiffstats
path: root/core/usermanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* usermanager: Add get_roles() functionMatthew Wild2020-02-051-1/+7
|
* mod_authz_internal, usermanager: Rename to mod_authz_configMatthew Wild2020-01-271-1/+1
|
* usermanager: Load authz providers on components alsoMatthew Wild2020-01-271-4/+6
|
* usermanager, mod_authz_internal: Move admin-checking functionality into a ↵Matthew Wild2020-01-271-30/+32
| | | | | | | module. Fixes #517 (ish). Note: Removes the ability for mod_auth_* providers to determine user admin status. Such modules will need to have their is_admin methods ported to be a mod_authz_* provider.
* core: Use prosody.hosts instead of _G.hosts for consistencyKim Alvefur2018-03-291-1/+1
|
* vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-281-0/+1
|
* core.usermanager, various modules: Disconnect other resources on password ↵Kim Alvefur2017-07-281-2/+6
| | | | change (thanks waqas) (fixes #512)
* usermanager: Shortcircuit user existence check if they have existing sessionsKim Alvefur2016-02-211-0/+1
|
* core.usermanager: Return as soon as possible once admin status is knownKim Alvefur2015-12-061-9/+6
|
* core.*: Remove use of module() functionKim Alvefur2015-02-211-14/+27
|
* portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, ↵Matthew Wild2015-05-061-1/+1
| | | | usermanager, util.xml: Add luacheck annotations
* usermanager: Capitalize log messageKim Alvefur2015-04-251-1/+1
|
* usermanager: Remove unused import of pairs()Matthew Wild2013-08-131-1/+0
|
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-5/+5
|
* core.*: Complete removal of all traces of the "core" section and ↵Kim Alvefur2013-03-231-6/+6
| | | | section-related code.
* usermanager: Add support for iterating over accountsKim Alvefur2012-09-211-0/+4
|
* storagemanager: Add purge() for purging user data from all backends in useKim Alvefur2012-09-161-1/+1
|
* core.usermanager: Don't close sessions ourselves when deleting users. ↵Kim Alvefur2012-08-251-6/+1
| | | | Instead, fire an event that modules can hook.
* usermanager: Add method for deleting a userKim Alvefur2012-07-281-1/+11
|
* usermanager: Pass session on to auth provider (missing half of commit ↵Matthew Wild2012-07-071-2/+2
| | | | 0545a574667b) (thanks Zash)
* usermanager: Add log error for use of COMPAT config option ↵Matthew Wild2012-04-281-1/+4
| | | | 'anonymous_login'. To be removed in next version.
* usermanager: Prep admin JIDs (fixes issue#276).Waqas Hussain2011-12-141-2/+4
|
* usermanager: Check host exists before trying to look up admins for itMatthew Wild2011-04-051-0/+2
|
* usermanager: Add delete_user methodMatthew Wild2011-01-041-0/+4
|
* usermanager: Have methods not implemented in the active provider fall back ↵Matthew Wild2011-01-041-1/+3
| | | | to the null provider (later we can add support for chains of providers)
* usermanager: Change dummy provider method to return an error string also ↵Matthew Wild2011-01-041-2/+4
| | | | (method not implemented)
* usermanager: Assume authentication="anonymous" when anonymous_login=true.Waqas Hussain2010-12-271-0/+2
|
* usermanager: Fixed a possible traceback when is_admin() was used on a component.Waqas Hussain2010-12-171-1/+1
|
* usermanager: Removed redundant import of util.datamanager and util.hashes.Waqas Hussain2010-12-101-3/+0
|
* usermanager: Don't load auth modules for components.Waqas Hussain2010-11-111-0/+2
|
* modulemanager, usermanager: Removed hooks for the 'component-activated' ↵Waqas Hussain2010-11-101-1/+0
| | | | event (components now fire 'host-activated').
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-161-5/+5
|
* usermanager: Get rid unused Cyrus SASL related code.Waqas Hussain2010-08-231-4/+0
|
* usermanager: Fix two nil global accessesMatthew Wild2010-07-311-2/+2
|
* usermanager, mod_auth_internal_hashed, mod_legacyauth: New order of ↵Matthew Wild2010-07-211-1/+1
| | | | parameters for usermanager.test_password - username, host, password
* usermanager: Return a non-nil SASL handler from the null auth provider ↵Waqas Hussain2010-07-141-1/+3
| | | | (fixes a traceback).
* mod_auth_internal, usermanager: Rename to mod_auth_internal_plain, and ↵Matthew Wild2010-07-081-1/+1
| | | | update usermanager to still use it as the default
* usermanager: Expose host_handler() as initialize_host()Matthew Wild2010-06-291-3/+3
|
* usermanager: is_admin: Resume the old role of determining precisely whether ↵Matthew Wild2010-06-221-9/+28
| | | | a user is an admin for a given host (or a global admin) - auth providers checked for JIDs not listed in the config if they support it
* usermanager: Handle checking for global admins on behalf of providersMatthew Wild2010-06-091-4/+9
|
* usermanager: Changed get_supported_methods to get_sasl_handler.Waqas Hussain2010-06-071-2/+2
|
* Rename mod_defaultauth -> mod_auth_internal, mod_hashpassauth -> ↵Matthew Wild2010-06-041-3/+9
| | | | mod_auth_internal_hashed, and the providers to internal and internal_hashed respectively. Also no longer auto-load defaultauth, but instead auto-load the plugin selected for each host at startup based on the provider name.
* usermanager: Rename the fallback provider from 'dummyauth' to 'null'Matthew Wild2010-06-041-1/+1
|
* usermanager: Add hunk that got missed in a mergeMatthew Wild2010-06-041-1/+2
|
* Correct out of order logic in mod_hashpassauthJeff Mitchell2010-05-281-0/+4
| | | | Make saslauth check the existence of the get_password and test_password functions to determine which authentication profile to use.
* Add mechanism for upgrading to hashed passwords from default. Remove some ↵Jeff Mitchell2010-05-271-12/+1
| | | | extra debug.
* Check in mod_hashpassauth -- works!Jeff Mitchell2010-05-261-7/+10
|
* Working defaultauthJeff Mitchell2010-05-201-9/+21
|
* Update usermanager to not crash, etc.Jeff Mitchell2010-05-201-7/+8
|
* First bit of workJeff Mitchell2010-05-201-65/+8
|