mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-26 22:02:41 +00:00
Corrected check on whether delegate implements Ordered interface.
This commit is contained in:
parent
0d9c1924fb
commit
2ad0c2cbd0
@ -92,7 +92,7 @@ public class OrderedFilterBeanDefinitionDecorator implements BeanDefinitionDecor
|
||||
|
||||
public final int getOrder() {
|
||||
if(order == null) {
|
||||
Assert.isInstanceOf(Ordered.class, "Filter '"+ beanName +"' must implement the 'Ordered' interface " +
|
||||
Assert.isInstanceOf(Ordered.class, delegate, "Filter '"+ beanName +"' must implement the 'Ordered' interface " +
|
||||
" or you must specify one of the attributes '" + ATT_AFTER + "' or '" +
|
||||
ATT_BEFORE + "' in <" + Elements.CUSTOM_FILTER +">");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user