Add AuthorizationDeniedException(String)

Closes gh-15607
This commit is contained in:
Rob Winch 2024-08-14 13:57:07 -05:00
parent 9e1d6501b0
commit 13125d0745
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@ public class AuthorizationDeniedException extends AccessDeniedException implemen
this.result = authorizationResult;
}
public AuthorizationDeniedException(String msg) {
this(msg, new AuthorizationDecision(false));
}
public AuthorizationResult getAuthorizationResult() {
return this.result;
}