Sfoglia il codice sorgente

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

Luke Taylor 17 anni fa
parent
commit
eeb14b3965

+ 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;