Re2O(7)-catalyzed three-component synthesis of protected secondary and tertiary homoallylic amines.