package ru.yandex.wmconsole.servantlet;

import ru.yandex.common.framework.core.ServRequest;
import ru.yandex.common.framework.core.ServResponse;
import ru.yandex.wmtools.common.servantlet.AuthenticationServantlet;
import ru.yandex.wmtools.common.service.VirtualLoginUserIdService;

public class VirtualLogoutServantlet extends AuthenticationServantlet {
    @Override
    public void doProcess(ServRequest req, ServResponse res, long userId) {
        res.setCookie(VirtualLoginUserIdService.VIRTUAL_USER_ID_COOKIE_NAME, "", 1);
    }
}
