From 9d876fce820e8d517bd0c947a3113d46082070c5 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Wed, 16 Nov 2022 13:52:55 -0700 Subject: [PATCH] Polish ExpressionAuthorizationDecision Issue gh-11493 --- .../authorization/ExpressionAuthorizationDecision.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/springframework/security/authorization/ExpressionAuthorizationDecision.java b/core/src/main/java/org/springframework/security/authorization/ExpressionAuthorizationDecision.java index 3c1bd629f0..d68c7e6223 100644 --- a/core/src/main/java/org/springframework/security/authorization/ExpressionAuthorizationDecision.java +++ b/core/src/main/java/org/springframework/security/authorization/ExpressionAuthorizationDecision.java @@ -39,8 +39,8 @@ public class ExpressionAuthorizationDecision extends AuthorizationDecision { @Override public String toString() { - return getClass().getSimpleName() + " [" + "granted=" + isGranted() + ", expressionAttribute=" + this.expression - + ']'; + return getClass().getSimpleName() + " [" + "granted=" + isGranted() + ", expressionAttribute=" + + this.expression.getExpressionString() + ']'; } }