private SUser addUser(final ExportedUser user) throws SUserCreationException { SUser sUser; if (user.isPasswordEncrypted()) { sUser = identityService.createUserWithoutEncryptingPassword(constructSUser(user)); } else { sUser = identityService.createUser(constructSUser(user)); } return sUser; }
private SUser addUser(final ExportedUser user) throws SUserCreationException { SUser sUser; if (user.isPasswordEncrypted()) { sUser = identityService.createUserWithoutEncryptingPassword(constructSUser(user)); } else { sUser = identityService.createUser(constructSUser(user)); } return sUser; }