Search in sources :

Example 1 with DefaultCallbackClientFinder

use of org.pac4j.core.client.finder.DefaultCallbackClientFinder in project pac4j by pac4j.

the class DefaultCallbackLogicTests method setUp.

@Before
public void setUp() {
    logic = new DefaultCallbackLogic<>();
    request = new MockHttpServletRequest();
    response = new MockHttpServletResponse();
    context = new J2EContext(request, response);
    config = new Config();
    httpActionAdapter = (code, ctx) -> null;
    defaultUrl = null;
    renewSession = null;
    clientFinder = new DefaultCallbackClientFinder();
}
Also used : MockHttpServletRequest(org.springframework.mock.web.MockHttpServletRequest) Config(org.pac4j.core.config.Config) DefaultCallbackClientFinder(org.pac4j.core.client.finder.DefaultCallbackClientFinder) J2EContext(org.pac4j.core.context.J2EContext) MockHttpServletResponse(org.springframework.mock.web.MockHttpServletResponse) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 DefaultCallbackClientFinder (org.pac4j.core.client.finder.DefaultCallbackClientFinder)1 Config (org.pac4j.core.config.Config)1 J2EContext (org.pac4j.core.context.J2EContext)1 MockHttpServletRequest (org.springframework.mock.web.MockHttpServletRequest)1 MockHttpServletResponse (org.springframework.mock.web.MockHttpServletResponse)1