linotp.lib.tools.migrate_resolver module¶
- migration handler -
migration of assigned tokens to a different resolver
- class linotp.lib.tools.migrate_resolver.MigrateResolverHandler¶
Bases:
ToolsHandler
- migrate_resolver(src=None, target=None, filter_serials=None)¶
support the migration of owned tokens from one resolver to a new one
the idea is: - get all tokens from one resolver - for each token, the the owner - from the owner get the login name - with the login name get the uid from the target resolver - update the new_id in the token