  We prove the solvability of a Dirichlet problem for flat hermitian metrics on
Hilbert bundles over compact Riemann surfaces with boundary. We also prove a
factorization result for flat hermitian metrics on doubly connected domains.
