protected boolean isAuthorizedToCreateResources(Authentication authentication, Request request)
      throws SystemException {
    return AuthorizationHelper.isAuthorized(authentication, getResourceType(request, null),
        getResourceId(request, null), requiredCreateAuthorizations);
  }
Tests authorization to create 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 set of properties for the resources to be created
@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