use of opengrok.auth.plugin.util.DummyHttpServletRequestUser in project OpenGrok by OpenGrok.
the class MellonDecoderTest method setUp.
@BeforeEach
public void setUp() {
dummyRequest = new DummyHttpServletRequestUser();
dummyRequest.setHeader(MELLON_EMAIL_HEADER, "foo@bar.cz");
}
use of opengrok.auth.plugin.util.DummyHttpServletRequestUser in project OpenGrok by OpenGrok.
the class OSSODecoderTest method setUp.
@BeforeEach
public void setUp() {
dummyRequest = new DummyHttpServletRequestUser();
dummyRequest.setHeader(OSSO_COOKIE_TIMESTAMP_HEADER, "5761172f");
dummyRequest.setHeader(OSSO_TIMEOUT_EXCEEDED_HEADER, "");
dummyRequest.setHeader(OSSO_SUBSCRIBER_DN_HEADER, "");
dummyRequest.setHeader(OSSO_SUBSCRIBER_HEADER, "");
dummyRequest.setHeader(OSSO_USER_DN_HEADER, "007");
dummyRequest.setHeader(OSSO_USER_GUID_HEADER, "123456");
}
Aggregations