Provide a custom action for membership provider that just returns sites/roles
GENERAL
TESTING
GENERAL
TESTING
Description
Attachments
1
Activity
Show:
Stephen Marquard March 2, 2014 at 12:53 PM
This code is in production at UCT, using /direct/membership/fastroles/USERID.xml syntax for integration with Opencast Matterhorn.
The standard "getEntities" that retrieves all membership data seems slow and in some cases only minimal information is needed, like the site membership and roles.
It was suggested that by using authzGroupService.getUserRoles to do this retrieval it is faster. Trying this out appears to be the case. I'm not sure if this could be applied back to the regular getEntities code, but it certainly is an improvement for an alternate action.