From:
if (this.fedoraUsername != null && !"".equals(this.fedoraUsername)) {

To:
if (!StringUtils.isBlank(this.fedoraUsername)) {