protected boolean isAuthorizedToGetResources(Authentication authentication, Request request, Predicate predicate)
      throws SystemException {
    return AuthorizationHelper.isAuthorized(authentication, getResourceType(request, predicate),
        getResourceId(request, predicate), requiredGetAuthorizations);
  }
Tests authorization to get resources.
<p/>
Implementations should override this method to perform a more sophisticated authorization routine.

@param authentication the authenticated user and associated access privileges
@param request        the request object which defines the desired set of properties
@param predicate      the predicate object which can be used to filter which resources are returned
@return true if authorized; otherwise false
@throws SystemException if an internal system exception occurred
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractAuthorizedResourceProvider.java