
--- src/main/java/com/takensoft/cms/accesCtrl/service/Impl/SystemAccesCtrlServiceImpl.java
+++ src/main/java/com/takensoft/cms/accesCtrl/service/Impl/SystemAccesCtrlServiceImpl.java
... | ... | @@ -59,6 +59,15 @@ |
59 | 59 |
|
60 | 60 |
List<AccesCtrlVO> list = accesCtrlService.findAllAccesCtrlSecurity(ipAdrs); // 접근 제어 정보 조회 |
61 | 61 |
|
62 |
+ if(list == null || list.isEmpty()) { |
|
63 |
+ // 대역대 확인 |
|
64 |
+ String bandIp = ipAdrs.replaceAll("\\.\\d+$", ".*"); |
|
65 |
+ List<AccesCtrlVO> bandIpList = accesCtrlService.findAllAccesCtrlSecurity(bandIp); |
|
66 |
+ if(bandIpList != null && !bandIpList.isEmpty()) { |
|
67 |
+ return true; |
|
68 |
+ } |
|
69 |
+ } |
|
70 |
+ |
|
62 | 71 |
// 관리자 경로 접근 검증 |
63 | 72 |
if (isPath(path, "/adm/**")) { |
64 | 73 |
// 관리자 페이지로 접속하였으나 접근 제어 정보가 없을 경우 |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?