Skip to content

Commit

Permalink
Merge pull request #6279 from jamezp/WFCORE-7089
Browse files Browse the repository at this point in the history
[WFCORE-7089] When setting a policy in the PolicyDefinitions do not a…
  • Loading branch information
yersan authored Dec 16, 2024
2 parents 6afcedd + 13264d8 commit 9a07bd9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ public Policy getValue() throws IllegalStateException, IllegalArgumentException
}

private void setPolicy(Policy policy) {
policy.refresh();
if (policy != null) {
policy.refresh();
}
try {
if (WildFlySecurityManager.isChecking()) {
AccessController.doPrivileged(setPolicyAction(policy));
Expand Down

0 comments on commit 9a07bd9

Please sign in to comment.