Add generic mapping function to AuthorizationBasedUserProviderMapper

Description

per our chat...perhaps add a more generic mapping function that defines a property of your own choosing instead of the hardcoded 'admin.authorizedJID'

 

There may be a use-case where you have want admins and users mixed in different providers. for example LDAP and DefaultAuthProvider. Since ldap is read only,  the mapper could be used create/edit local user accounts within the writable provider. 

This would allow an admin to provide xmpp accounts that don't require ldap-network access adhering the principle of least privilege

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created December 15, 2017 at 11:14 PM
Updated February 13, 2018 at 3:57 PM
Resolved February 13, 2018 at 3:57 PM