In series with something that approximates a constant current source for
some reasonable range of applied input voltages. Could be as simple as a
crude ballast resistor or a semiconductor based device.
A bare LED has a rather rapid increase in current through it once it
starts to glow with a slightly higher applied voltage leading vastly
increased current and then total destruction if you go too high.
You can do some cute physics experiements plotting V-I curves for LEDs.
eg.
http://www.phys.uconn.edu/~hamilton/phys258/N/led.pdf
Expect some LEDs to be destroyed in this practical.
--
Regards,
Martin Brown