Skip to content

Commit

Permalink
#107 - fix: AOP 로깅 수행 시 Authentication 정보 출력 안하도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
sasca37 committed Nov 20, 2023
1 parent d54bf93 commit 512edf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/dodal/meet/aop/ControllerLogAop.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void before(JoinPoint joinPoint) {
if (!ObjectUtils.isEmpty(args[i]) && !args[i].getClass().getSimpleName().equals("UsernamePasswordAuthenticationToken")) {
sb.append("[").append(i+1).append("] ").append("Type : ").append(args[i].getClass().getSimpleName()).append(", ").append("Value : ").append(args[i]).append("\n");
}
else {
else if (!args[i].getClass().getSimpleName().equals("UsernamePasswordAuthenticationToken")){
sb.append("[").append(i+1).append("] ").append("Type : null, ").append("Value : null\n");
}
}
Expand Down

0 comments on commit 512edf6

Please sign in to comment.