더존 암호화 파라미터 이름 변경 - 관리포털에서서 contextKey이름과도 맞추어야 함
This commit is contained in:
+3
-4
@@ -43,11 +43,10 @@ public class DouzoneEncFieldInCryptoFilter implements HttpAdapterFilter {
|
||||
|
||||
private void setContext(Properties tempProp) {
|
||||
Properties inboundHeaders = (Properties) tempProp.get(HttpAdapterServiceKey.INBOUND_HEADER);
|
||||
String empNm = inboundHeaders.getProperty("x-emp-nm");
|
||||
tempProp.setProperty(InCryptoFilter.PROP_AAD_HEADER, empNm);
|
||||
|
||||
String chnlNm = inboundHeaders.getProperty("x-chnl-nm");
|
||||
tempProp.setProperty(KeyDerivationStrategy.PARAM_CONTEXT_KEY, chnlNm);
|
||||
tempProp.setProperty("x-chnl-nm", chnlNm);
|
||||
|
||||
tempProp.setProperty(InCryptoFilter.PROP_AAD_HEADER, "x-emp-nm");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user