| 
														
															@@ -1,12 +1,8 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 package com.steerinfo.auth.shiro.config;
 
														 | 
														
														 | 
														
															 package com.steerinfo.auth.shiro.config;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
 
														 | 
														
														 | 
														
															 
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import java.util.HashMap;
 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import java.util.LinkedHashMap;
 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import java.util.List;
 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import java.util.Map;
 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-
 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import javax.servlet.Filter;
 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-
 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import com.steerinfo.auth.shiro.cache.CustomCacheManager;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import com.steerinfo.auth.shiro.jwt.JwtStatelessAccessControlFilter;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import com.steerinfo.auth.shiro.realm.UserModularRealmAuthenticator;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.apache.commons.lang3.StringUtils;
 
														 | 
														
														 | 
														
															 import org.apache.commons.lang3.StringUtils;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.apache.shiro.authc.pam.AllSuccessfulStrategy;
 
														 | 
														
														 | 
														
															 import org.apache.shiro.authc.pam.AllSuccessfulStrategy;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.apache.shiro.authc.pam.ModularRealmAuthenticator;
 
														 | 
														
														 | 
														
															 import org.apache.shiro.authc.pam.ModularRealmAuthenticator;
 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -21,9 +17,11 @@ import org.springframework.beans.factory.annotation.Value; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.context.annotation.Bean;
 
														 | 
														
														 | 
														
															 import org.springframework.context.annotation.Bean;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.context.annotation.Configuration;
 
														 | 
														
														 | 
														
															 import org.springframework.context.annotation.Configuration;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
 
														 | 
														
														 | 
														
															 
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import com.steerinfo.auth.shiro.cache.CustomCacheManager;
 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import com.steerinfo.auth.shiro.jwt.JwtStatelessAccessControlFilter;
 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import com.steerinfo.auth.shiro.realm.UserModularRealmAuthenticator;
 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import javax.servlet.Filter;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import java.util.HashMap;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import java.util.LinkedHashMap;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import java.util.List;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import java.util.Map;
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
 
														 | 
														
														 | 
														
															 
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 /**
 
														 | 
														
														 | 
														
															 /**
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  * Shiro权限配置
 
														 | 
														
														 | 
														
															  * Shiro权限配置
 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -175,6 +173,8 @@ public class ShiroConfig { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         filterChainDefinitionMap.put(versionBefore + "/ifmesemsswapfile/**", AUTH_ANON);
 
														 | 
														
														 | 
														
															         filterChainDefinitionMap.put(versionBefore + "/ifmesemsswapfile/**", AUTH_ANON);
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         filterChainDefinitionMap.put(versionBefore + "/ifmesemsproductorder/**", AUTH_ANON);
 
														 | 
														
														 | 
														
															         filterChainDefinitionMap.put(versionBefore + "/ifmesemsproductorder/**", AUTH_ANON);
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         filterChainDefinitionMap.put(versionBefore + "/mesemsdieseloils/**", AUTH_ANON);
 
														 | 
														
														 | 
														
															         filterChainDefinitionMap.put(versionBefore + "/mesemsdieseloils/**", AUTH_ANON);
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        // websocket不拦截
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        filterChainDefinitionMap.put("/websocket/**", AUTH_ANON);
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }
 
														 | 
														
														 | 
														
															     }
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     
 
														 | 
														
														 | 
														
															     
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 |