Skip to content

Commit

Permalink
changing set of value to prism value
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed May 10, 2019
1 parent 1cf9d3e commit 330965f
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -858,7 +858,7 @@ private void updateShadowActivation(AjaxRequestTarget target,
PrismValueWrapper value = (PrismValueWrapper) enabledProperty.getValues().get(0);
ActivationStatusType status = enabled ? ActivationStatusType.ENABLED
: ActivationStatusType.DISABLED;
value.setRealValue(status);
((PrismPropertyValue) value.getNewValue()).setValue(status);
} catch (SchemaException e) {
// TODO Auto-generated catch block
e.printStackTrace();
Expand Down Expand Up @@ -897,7 +897,7 @@ private void unlockShadowPerformed(AjaxRequestTarget target,
continue;
}
PrismValueWrapper value = (PrismValueWrapper) lockedProperty.getValues().get(0);
value.setRealValue(LockoutStatusType.NORMAL);
((PrismPropertyValue) value.getNewValue()).setValue(LockoutStatusType.NORMAL);
info(getString("pageAdminFocus.message.unlocked", account.getDisplayName()));
} catch (SchemaException e) {
// TODO Auto-generated catch block
Expand Down

0 comments on commit 330965f

Please sign in to comment.