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() + ']'; } }