File tree 1 file changed +2
-2
lines changed
config/src/main/java/org/springframework/security/config/http 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 {
76
76
public BeanDefinition parse (Element element , ParserContext parserContext ) {
77
77
if (!isUseExpressions (element )) {
78
78
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 );
80
80
return null ;
81
81
}
82
82
if (StringUtils .hasText (element .getAttribute (ATT_ACCESS_DECISION_MANAGER_REF ))) {
83
83
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`" ,
85
85
element );
86
86
return null ;
87
87
}
You can’t perform that action at this time.
0 commit comments