mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-07 11:12:14 +00:00
Improve logging clarity in CsrfFilter
Update toString() method in DefaultRequiresCsrfMatcher to better reflect its logic during trace-level logging. Closes gh-17250 Signed-off-by: Deep Dhamala <dhamaladeep2@gmail.com>
This commit is contained in:
parent
a22b2ffc94
commit
081c92a9e5
@ -214,7 +214,7 @@ public final class CsrfFilter extends OncePerRequestFilter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "CsrfNotRequired " + this.allowedMethods;
|
return "IsNotHttpMethod " + this.allowedMethods;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user