if (item instanceof PrivateNetworkConnection) {
populatePrivateNetworkConnection((PrivateNetworkConnection) item);
}
if (item instanceof IpsecPolicy) {
IpsecPolicy model = (IpsecPolicy) item;
if (Secret.isNullOrEmpty(model.ipsecSecret)) {
model.ipsecSecret = passwords.generateIpsecPSK();
}
}