Commit a2e42fe9c5fabe5db588e2592ccda138b063acfc
1 parent
cdf43d88
临港交互屏
Showing
4 changed files
with
4 additions
and
3 deletions
src/main/java/com/bsth/common/Constants.java
| ... | ... | @@ -45,6 +45,7 @@ public class Constants { |
| 45 | 45 | public static final String COMPANY_AUTHORITYS = "cmyAuths"; |
| 46 | 46 | public static final String STATION_AND_SECTION_COUNT = "/station/updateStationAndSectionCode"; |
| 47 | 47 | |
| 48 | + public static final String OUT_URL = "/out/**"; | |
| 48 | 49 | /** |
| 49 | 50 | * 解除调度指令和班次的外键约束 |
| 50 | 51 | */ | ... | ... |
src/main/java/com/bsth/filter/BaseFilter.java
| ... | ... | @@ -20,7 +20,7 @@ public abstract class BaseFilter implements Filter { |
| 20 | 20 | Constants.ASSETS_URL, Constants.FAVICON_URL, Constants.LOGIN, Constants.LOGIN_FAILURE, |
| 21 | 21 | Constants.UPSTREAM_URL, Constants.XD_CHILD_PAGES, Constants.XD_REAL_GPS, Constants.UP_RFID_URL, |
| 22 | 22 | Constants.STATION_AND_SECTION_COUNT, Constants.ACTUATOR_MANAGEMENT_HEALTH, Constants.VEHICLE_DATA_SYNC_URL, |
| 23 | - Constants.FILE_AUTH}; | |
| 23 | + Constants.FILE_AUTH,Constants.OUT_URL}; | |
| 24 | 24 | |
| 25 | 25 | @Override |
| 26 | 26 | public void destroy() { | ... | ... |
src/main/java/com/bsth/security/WebSecurityConfig.java
| ... | ... | @@ -39,7 +39,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { |
| 39 | 39 | // 白名单 |
| 40 | 40 | web.ignoring().antMatchers(Constants.LOGIN_PAGE, Constants.LOGIN, Constants.ORIGINAL_LOGIN_PAGE, Constants.ASSETS_URL, Constants.FAVICON_URL, Constants.CAPTCHA, |
| 41 | 41 | Constants.SERVICE_INTERFACE, Constants.LOGIN_FAILURE, Constants.UPSTREAM_URL, Constants.XD_CHILD_PAGES, |
| 42 | - Constants.UP_RFID_URL, Constants.STATION_AND_SECTION_COUNT, Constants.FILE_AUTH); | |
| 42 | + Constants.UP_RFID_URL, Constants.STATION_AND_SECTION_COUNT, Constants.FILE_AUTH,Constants.OUT_URL); | |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | @Override | ... | ... |
src/main/java/com/bsth/security/filter/LoginInterceptor.java
| ... | ... | @@ -35,7 +35,7 @@ public class LoginInterceptor implements Filter { |
| 35 | 35 | private String[] whiteListURLs = { Constants.LOGIN_PAGE,Constants.CAPTCHA, Constants.ORIGINAL_LOGIN_PAGE, Constants.SERVICE_INTERFACE, |
| 36 | 36 | Constants.ASSETS_URL, Constants.FAVICON_URL, Constants.LOGIN, |
| 37 | 37 | Constants.LOGIN_FAILURE, Constants.UPSTREAM_URL, Constants.XD_CHILD_PAGES, Constants.UP_RFID_URL, |
| 38 | - Constants.STATION_AND_SECTION_COUNT, Constants.VEHICLE_DATA_SYNC_URL, Constants.FILE_AUTH }; | |
| 38 | + Constants.STATION_AND_SECTION_COUNT, Constants.VEHICLE_DATA_SYNC_URL, Constants.FILE_AUTH ,Constants.OUT_URL}; | |
| 39 | 39 | |
| 40 | 40 | |
| 41 | 41 | @Override | ... | ... |