local thread data 저장
This commit is contained in:
@@ -25,6 +25,7 @@ public class ElinkTransactionContext {
|
||||
// Context Map Keys
|
||||
private static final String KEY_SEED_SALT = "SEED_SALT";
|
||||
private static final String KEY_ENCRYPTION_KEY = "ENCRYPTION_KEY";
|
||||
private static final String SEED_KEY = "SEED_KEY";
|
||||
|
||||
// ==================== 컨텍스트 관리 ====================
|
||||
|
||||
@@ -96,4 +97,14 @@ public class ElinkTransactionContext {
|
||||
public static String getEncryptionKey() {
|
||||
return get(KEY_ENCRYPTION_KEY);
|
||||
}
|
||||
|
||||
// ==================== 실 사용 변수 접근자 ====================
|
||||
|
||||
public static void setSeedKey(String encryptionKey) {
|
||||
put(SEED_KEY, encryptionKey);
|
||||
}
|
||||
|
||||
public static String getSeedKey() {
|
||||
return get(SEED_KEY);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user