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
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}
}