Commit e84915de authored by michael.simon's avatar michael.simon
Browse files

Add logging context user update requests

parent 500d5cf8
......@@ -12,6 +12,7 @@ import javax.ejb.Stateless;
import javax.inject.Inject;
import org.slf4j.Logger;
import org.slf4j.MDC;
import edu.kit.scc.webreg.bootstrap.ApplicationConfig;
import edu.kit.scc.webreg.dao.RegistryDao;
......@@ -158,6 +159,8 @@ public class UserUpdateServiceImpl implements UserUpdateService, Serializable {
private Map<String, String> update(UserEntity user, ServiceEntity service, RegistryEntity registry, String localHostName, String executor)
throws RestInterfaceException {
MDC.put("userId", "" + user.getId());
// Default expiry Time after which an attrq is issued to IDP in millis
Long expireTime = 10000L;
......
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