kjb-safedb 로 PasswordEncoer 변경 / 가입자 수정 화면에서 수정버튼 항상 활성화
This commit is contained in:
@@ -66,16 +66,18 @@
|
|||||||
|
|
||||||
// 현재 상태가 탈퇴인 경우
|
// 현재 상태가 탈퇴인 경우
|
||||||
if (status === STATUS.REMOVED) {
|
if (status === STATUS.REMOVED) {
|
||||||
$("#btn_modify").show().prop('disabled', true);
|
$("#btn_modify").show().prop('disabled', false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 일반 상태
|
// 일반 상태
|
||||||
$("#btn_modify").show().prop('disabled', !isUnmasked);
|
/* $("#btn_modify").show().prop('disabled', !isUnmasked);
|
||||||
if (isUnmasked) {
|
if (isUnmasked) {
|
||||||
$("input, select").prop('disabled', false);
|
$("input, select").prop('disabled', false);
|
||||||
updateOrgControl();
|
updateOrgControl();
|
||||||
}
|
} */
|
||||||
|
// 25.09.29 - 항상 해제
|
||||||
|
$("#btn_modify").show().prop('disabled', false);
|
||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
@@ -261,7 +263,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const fullLoginId = id + "@" + domain;
|
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)) {
|
if (!emailPattern.test(fullLoginId)) {
|
||||||
alert(fullLoginId + " 은 올바른 이메일 형식이 아닙니다.");
|
alert(fullLoginId + " 은 올바른 이메일 형식이 아닙니다.");
|
||||||
return;
|
return;
|
||||||
@@ -558,9 +560,11 @@
|
|||||||
</th>
|
</th>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<div class="input-group" style="width: 50%;">
|
<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>
|
<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"/>
|
<input type="hidden" name="loginId"/>
|
||||||
<button type="button" class="smallBtn cssbtn" id="btn_check_id" level="R" status="NEW"
|
<button type="button" class="smallBtn cssbtn" id="btn_check_id" level="R" status="NEW"
|
||||||
style="margin-left: 10px; display: inline-block;">
|
style="margin-left: 10px; display: inline-block;">
|
||||||
|
|||||||
+1
-1
@@ -50,7 +50,7 @@ war {
|
|||||||
def profile = project.findProperty("profile") ?: "tomcat"
|
def profile = project.findProperty("profile") ?: "tomcat"
|
||||||
|
|
||||||
if (profile == "weblogic") {
|
if (profile == "weblogic") {
|
||||||
webXml = file("WebContent/WEB-INF/weblogic-web.xml")
|
webXml = file("WebContent/WEB-INF/weblogic-web.xml")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -36,18 +36,23 @@ eLink 모듈을 참조하여 구성되어있으며, 추후 필요 모듈외에
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
### TOMCAT 기동 옵션 참조
|
## TOMCAT 기동 옵션 참조
|
||||||
|
### 로컬 개발용
|
||||||
|
|
||||||
```
|
```
|
||||||
-Deai.datasource.type=DEV
|
-Deai.datasource.type=DEV
|
||||||
-Dinst.Name=apimsSvr11
|
-Dinst.Name=emsSvr99
|
||||||
-Deai.tableowner=ems
|
-Deai.tableowner=EMSADM
|
||||||
-Deai.systemmode=D
|
-Deai.systemmode=D
|
||||||
-Dfile.encoding=utf-8
|
-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
|
```bash
|
||||||
# Weblogic 배포용 (테스트 제외)
|
# Weblogic 배포용 (테스트 제외)
|
||||||
gradle build -x test -Pprofile=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 com.eactive.ext.kjb.safedb.KjbSafedbWrapper;
|
||||||
import org.springframework.security.crypto.password.PasswordEncoder;
|
import org.springframework.security.crypto.password.PasswordEncoder;
|
||||||
|
|
||||||
|
|
||||||
public class KjbSafedbPasswordEncoder implements PasswordEncoder {
|
public class KjbSafedbPasswordEncoder implements PasswordEncoder {
|
||||||
@Override
|
@Override
|
||||||
public String encode(CharSequence rawPassword) {
|
public String encode(CharSequence rawPassword) {
|
||||||
@@ -17,5 +16,4 @@ public class KjbSafedbPasswordEncoder implements PasswordEncoder {
|
|||||||
String encoded = safedb.encryptPassword(rawPassword.toString());
|
String encoded = safedb.encryptPassword(rawPassword.toString());
|
||||||
return encoded.equals(encodedPassword);
|
return encoded.equals(encodedPassword);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user