개발서버 app.admin.session.maximum.num / app.front.session.maximum.num 세션 중복 허용 (개발서버에서만,,,)

This commit is contained in:
주수현
2025-07-14 14:04:33 +09:00
parent 669fb6e685
commit 82317fd0f1
4 changed files with 4 additions and 7 deletions

View File

@@ -603,8 +603,6 @@ class GetHouseholdsExcelController {
null, null,
Map.of(0, IndexedColors.LIGHT_YELLOW)); Map.of(0, IndexedColors.LIGHT_YELLOW));
// 시트 8: 자가농업생산물 중 자가소비량 // 시트 8: 자가농업생산물 중 자가소비량
rows = new ArrayList<>(); rows = new ArrayList<>();
for(GetDailyFarming item : dailyFarmingItems) { for(GetDailyFarming item : dailyFarmingItems) {

View File

@@ -84,7 +84,7 @@ app:
seconds: -1 seconds: -1
maximum: maximum:
# 최대 세션 갯수 (1일 경우 중복 로그인 불가) # 최대 세션 갯수 (1일 경우 중복 로그인 불가)
num: 1 num: 10
# ============================================== # ==============================================
# 로깅 설정 # 로깅 설정

View File

@@ -19,13 +19,12 @@ import org.springframework.test.context.TestPropertySource;
@TestPropertySource("classpath:application-override.properties") @TestPropertySource("classpath:application-override.properties")
class AESEncryptUtilTest { class AESEncryptUtilTest {
static { /* static {
System.setProperty("com.amazonaws.sdk.disableEc2Metadata", "true"); System.setProperty("com.amazonaws.sdk.disableEc2Metadata", "true");
} }
private final String phoneNo = "01012341234"; private final String phoneNo = "01012341234";
private final String encryptedPhoneNo = "dQSU9oEA+WD1WKQZIRaR9g=="; private final String encryptedPhoneNo = "dQSU9oEA+WD1WKQZIRaR9g==";
@Autowired
AESEncryptUtil aesEncryptUtil; AESEncryptUtil aesEncryptUtil;
@Test @Test
@@ -42,5 +41,5 @@ class AESEncryptUtilTest {
throws NoSuchPaddingException, InvalidKeyException, NoSuchAlgorithmException, throws NoSuchPaddingException, InvalidKeyException, NoSuchAlgorithmException,
IllegalBlockSizeException, BadPaddingException, InvalidAlgorithmParameterException { IllegalBlockSizeException, BadPaddingException, InvalidAlgorithmParameterException {
assertEquals(phoneNo, aesEncryptUtil.decrypt(encryptedPhoneNo), "operate - decrypt"); assertEquals(phoneNo, aesEncryptUtil.decrypt(encryptedPhoneNo), "operate - decrypt");
} }*/
} }

View File

@@ -90,7 +90,7 @@ app:
period: period:
seconds: 3600 # 세션 유효기간(초) seconds: 3600 # 세션 유효기간(초)
maximum: maximum:
num: 1 # 세션 최대 갯수 (1인 경우 중복 로그인 불가) num: 10 # 세션 최대 갯수 (1인 경우 중복 로그인 불가)
# ============================================== # ==============================================
# 로깅 설정 # 로깅 설정