try {
policy = (T) restTemplate.getForObject(baseURL + "policy/password/global/read",
PasswordPolicyTO.class);
} catch (Exception e) {
LOG.debug("No password policy found", e);
policy = (T) new PasswordPolicyTO();
}
break;
case GLOBAL_SYNC:
try {
policy = (T) restTemplate.getForObject(baseURL + "policy/sync/global/read", SyncPolicyTO.class);