Commit eab48b1f authored by Quxl's avatar Quxl

x

parent 8f9c8f8e
......@@ -88,7 +88,7 @@ public class WsConfig {
public WSS4JInInterceptor getWSS4JInInterceptor() {
Map<String, Object> properties = new HashMap<String, Object>();
properties.put(WSHandlerConstants.ACTION, WSHandlerConstants.USERNAME_TOKEN);
properties.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PW_DIGEST);
properties.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PW_TEXT);
properties.put(WSHandlerConstants.PW_CALLBACK_REF, new CallbackHandler() {
public void handle(Callback[] callbacks) {
for (int i = 0; i < callbacks.length; i++) {
......
......@@ -17,6 +17,7 @@ import com.egolm.sso.services.CommonService;
import com.egolm.sso.util.DateUtil;
import com.egolm.sso.util.FileUtil;
import com.egolm.sso.util.SqlUtil;
import com.egolm.sso.util.StringUtil;
import com.egolm.sso.util.ThrowableUtil;
import com.egolm.sso.util.SqlUtil.Sql;
import com.egolm.sso.util.XMLUtil;
......@@ -43,6 +44,8 @@ public class DNDeletionServiceImpl implements DNDeletionService {
String dateString = DateUtil.formatDate(now, DateUtil.FMT_DATE);
try {
Map<String, Object> map = new HashMap<String, Object>();
Long ID = Long.valueOf("" + System.currentTimeMillis() + StringUtil.format(common.getNextval("T_SO_DN_DELETION_ID" + dateString), "00000"));
map.put("ID", ID);
map.put("MESSAGE_ID", DELETED_DOCUMENTS.getMSGID());
map.put("TARGET_SYSTEM", DELETED_DOCUMENTS.getTARGET_SYSTEM());
map.put("DOCUMENT_TYPE", DELETED_DOCUMENTS.getDOCTYPE());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment