kjb-safedb 로 PasswordEncoer 변경 / 가입자 수정 화면에서 수정버튼 항상 활성화

This commit is contained in:
Rinjae
2025-09-30 11:53:05 +09:00
parent 5c5e69a2df
commit 3f20673b69
4 changed files with 22 additions and 15 deletions
@@ -66,16 +66,18 @@
// 현재 상태가 탈퇴인 경우
if (status === STATUS.REMOVED) {
$("#btn_modify").show().prop('disabled', true);
$("#btn_modify").show().prop('disabled', false);
return;
}
// 일반 상태
$("#btn_modify").show().prop('disabled', !isUnmasked);
/* $("#btn_modify").show().prop('disabled', !isUnmasked);
if (isUnmasked) {
$("input, select").prop('disabled', false);
updateOrgControl();
}
} */
// 25.09.29 - 항상 해제
$("#btn_modify").show().prop('disabled', false);
}
function init() {
@@ -261,7 +263,7 @@
}
const fullLoginId = id + "@" + domain;
const emailPattern = /^[A-Za-z][A-Za-z0-9._-]*@[A-Za-z0-9][-A-Za-z0-9.]+\.[A-Za-z]{2,}$/;
const emailPattern = /^[A-Za-z0-9._-]*@[A-Za-z0-9][-A-Za-z0-9.]+\.[A-Za-z]{2,}$/;
if (!emailPattern.test(fullLoginId)) {
alert(fullLoginId + " 은 올바른 이메일 형식이 아닙니다.");
return;
@@ -558,9 +560,11 @@
</th>
<td colspan="3">
<div class="input-group" style="width: 50%;">
<input type="text" id="loginId" style="width:10%; display: inline-block;" maxlength="30" onkeyup="validateEmailId(this)"/>
<input type="text" id="loginId" style="width:10%; display: inline-block; ime-mode: disable;" maxlength="30" onkeyup="validateEmailId(this)"
lang="en" />
<span style="padding: 0 10px;">@</span>
<input type="text" id="domain" style="width:20%; display: inline-block;" maxlength="50" onkeyup="validateDomainInput(this)"/>
<input type="text" id="domain" style="width:20%; display: inline-block; ime-mode: disable;" maxlength="50" onkeyup="validateDomainInput(this)"
lang="en" />
<input type="hidden" name="loginId"/>
<button type="button" class="smallBtn cssbtn" id="btn_check_id" level="R" status="NEW"
style="margin-left: 10px; display: inline-block;">
+1 -1
View File
@@ -50,7 +50,7 @@ war {
def profile = project.findProperty("profile") ?: "tomcat"
if (profile == "weblogic") {
webXml = file("WebContent/WEB-INF/weblogic-web.xml")
webXml = file("WebContent/WEB-INF/weblogic-web.xml")
}
+10 -5
View File
@@ -36,18 +36,23 @@ eLink 모듈을 참조하여 구성되어있으며, 추후 필요 모듈외에
### TOMCAT 기동 옵션 참조
## TOMCAT 기동 옵션 참조
### 로컬 개발용
```
-Deai.datasource.type=DEV
-Dinst.Name=apimsSvr11
-Deai.tableowner=ems
-Dinst.Name=emsSvr99
-Deai.tableowner=EMSADM
-Deai.systemmode=D
-Dfile.encoding=utf-8
-DLOGBACK_LOG_LEVEL=info
-Dlogin.mode=db
-DLOGBACK_LOG_LEVEL=DEBUG
-Dlogback.configurationFile=classpath:logback-dev.xml
-Dhibernate.dialect=org.hibernate.dialect.Oracle12cDialect
-Dkjb_safedb.mode=fake
```
### Gradle 빌드 옵션
## Gradle 빌드 옵션
```bash
# Weblogic 배포용 (테스트 제외)
gradle build -x test -Pprofile=weblogic
@@ -3,7 +3,6 @@ package com.eactive.eai.custom.kjb.common.spring;
import com.eactive.ext.kjb.safedb.KjbSafedbWrapper;
import org.springframework.security.crypto.password.PasswordEncoder;
public class KjbSafedbPasswordEncoder implements PasswordEncoder {
@Override
public String encode(CharSequence rawPassword) {
@@ -17,5 +16,4 @@ public class KjbSafedbPasswordEncoder implements PasswordEncoder {
String encoded = safedb.encryptPassword(rawPassword.toString());
return encoded.equals(encodedPassword);
}
}