pentaho/pentaho-platform — pull request #1584 by rmansoor (2014-05-30 20:46:57+00:00)
Title: [BISERVER-11183] - Reducing number of calls to getRolesForUser in IUserRoleListService

What was done:
-- Remove almost all places where we were using getRolesForUserCall.
-- Using SecurityContextHolder to get Authentication as this was use consistently all over the platform
-- Only using IUserRoleListService when Authentication object is not available.
-- Tested with jackrabbit, JDBC, LDAP and LDAP/JDBC hybrid (All tests passed)
-- Tested with anonymous authentication (All tests passed)
-- Tested DI Server and BA Server with all above authentication method except for anonymous authentication.

-- Documentation for LDAP/JDBC will need to be updated as a result of this change