소스 검색

Changed filter order numbers to start at zero (makes them more readable in log compared with large negative numbers)

Luke Taylor 17 년 전
부모
커밋
eeb14b3965
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/src/main/java/org/springframework/security/ui/FilterChainOrder.java

+ 1 - 1
core/src/main/java/org/springframework/security/ui/FilterChainOrder.java

@@ -17,7 +17,7 @@ public abstract class FilterChainOrder {
      * The first position at which a Spring Security filter will be found. Any filter with an order less than this will
      * be guaranteed to be placed before the Spring Security filters in the stack.
      */
-    public static final int FILTER_CHAIN_FIRST = Ordered.HIGHEST_PRECEDENCE + 1000;
+    public static final int FILTER_CHAIN_FIRST = 0;
     private static final int INTERVAL = 100;
     private static int i = 1;