A light beam of high photon density and spatially limited cross-section is analysed with respect to its boundary conditions and angular momentum (spin). For Maxwell's equationsin a vacuum state of vanishing electrical field divergence, the exact solutions are found not to be reconcilable with a beam having a limited cross-section and a nonzero spin. Transverse spatial beam derivatives only become possible as an approximation when their characteristic lengths are very large as compared to the relevant wavelengths, but even then there is no spin. A revised electromagnetic theory, based on a nonzero electric field divergence in the vacuum state, leads on the other hand to beam configurations for which there can exist strong transverse derivatives in a boundary region, as well as a nonzero spin. The Poynting vector then has components both in the axial direction of propagation and in the transverse direction along the boundary. The angular momentum, being imagined as an equivalent sum of momenta of the individual photons in the beam interior, is then replaced by a real spin generated and localized in the boundary layer.