// add resource assignment details in case of update
if (userTO.getId() != 0) {
form.addOrReplace(new Label("pwdChangeInfo", new ResourceModel("pwdChangeInfo")));
statusPanel = new StatusPanel("statuspanel", userTO, new ArrayList<StatusBean>(), getPageReference());
statusPanel.setOutputMarkupId(true);
MetaDataRoleAuthorizationStrategy.authorize(
statusPanel, RENDER, xmlRolesReader.getAllAllowedRoles("Resources", "getConnectorObject"));
form.addOrReplace(statusPanel);