Provide a custom action for membership provider that just returns sites/roles

Description

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.

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.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created February 19, 2014 at 5:24 PM
Updated July 1, 2014 at 7:45 AM
Resolved April 7, 2014 at 12:55 PM