File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
config/src/main/java/org/springframework/security/config/http Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,12 @@ class AuthorizationFilterParser implements BeanDefinitionParser {
7676 public BeanDefinition parse (Element element , ParserContext parserContext ) {
7777 if (!isUseExpressions (element )) {
7878 parserContext .getReaderContext ()
79- .error ("AuthorizationManager must be used with `use-expressions=\" true\" " , element );
79+ .error ("AuthorizationManager (`use-authorization-manager= \" true \" ` by default) must be used with `use-expressions=\" true\" " , element );
8080 return null ;
8181 }
8282 if (StringUtils .hasText (element .getAttribute (ATT_ACCESS_DECISION_MANAGER_REF ))) {
8383 parserContext .getReaderContext ()
84- .error ("AuthorizationManager cannot be used in conjunction with `access-decision-manager-ref`" ,
84+ .error ("AuthorizationManager (`use-authorization-manager= \" true \" ` by default) cannot be used in conjunction with `access-decision-manager-ref`" ,
8585 element );
8686 return null ;
8787 }
You can’t perform that action at this time.
0 commit comments