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:
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue