Skip to content

Commit

Permalink
[ISSUE apache#8100] Expose print audit log function (apache#8101)
Browse files Browse the repository at this point in the history
  • Loading branch information
dingshuangxi888 authored May 7, 2024
1 parent d05ff5e commit 1a2fc17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected HandlerChain<DefaultAuthenticationContext, CompletableFuture<Void>> ne
.addNext(new DefaultAuthenticationHandler(this.authConfig, metadataService));
}

private void doAuditLog(DefaultAuthenticationContext context, Throwable ex) {
protected void doAuditLog(DefaultAuthenticationContext context, Throwable ex) {
if (StringUtils.isBlank(context.getUsername())) {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ protected HandlerChain<DefaultAuthorizationContext, CompletableFuture<Void>> new
.addNext(new AclAuthorizationHandler(authConfig, metadataService));
}

private void doAuditLog(DefaultAuthorizationContext context, Throwable ex) {
protected void doAuditLog(DefaultAuthorizationContext context, Throwable ex) {
if (context.getSubject() == null) {
return;
}
Expand Down

0 comments on commit 1a2fc17

Please sign in to comment.