PasswordHash password = ePersonService.getPasswordHash(eperson); if (null != password) { writer.writeStartElement(PASSWORD_HASH);
if (context.getCurrentUser() != null && StringUtils.isNotBlank( EPersonServiceFactory.getInstance().getEPersonService().getPasswordHash(context.getCurrentUser()) .toString())) { String groupName = DSpaceServicesFactory.getInstance().getConfigurationService()