1
0
mirror of synced 2026-08-05 17:57:15 +00:00

Fix typo in autowiring warning (#4026)

Fixes a misleading message that warns about
PermissionEvaluator when MethodSecurityExpressionHandler
should be mentioned instead.

Fixes gh-3402
This commit is contained in:
novotnyr
2016-08-16 15:39:49 +02:00
committed by Rob Winch
parent 2deb722a1f
commit f8bfe19a98
@@ -400,7 +400,7 @@ public class GlobalMethodSecurityConfiguration
public void setMethodSecurityExpressionHandler(
List<MethodSecurityExpressionHandler> handlers) {
if (handlers.size() != 1) {
logger.debug("Not autwiring PermissionEvaluator since size != 1. Got "
logger.debug("Not autowiring MethodSecurityExpressionHandler since size != 1. Got "
+ handlers);
return;
}
@@ -449,4 +449,4 @@ public class GlobalMethodSecurityConfiguration
}
return this.enableMethodSecurity;
}
}
}