Shiro originally configured FilterChainDefinitionMap using HashMap, but adding too many values to the map disables all of them, so we changed it to LinkedHashMap instead.

Put (“/**”, “authc”); This configuration was loaded in preference, invalidating other configurations. Using LinkedHashMap will load in order.