Critical current distributions in superconducting composites