We characterize Steiner triple systems that are affine and/or Hall by forbidden subconfigurations and apply the result to edge-colorings of cubic graphs.