use of ddf.security.sts.client.configuration.STSClientConfiguration in project ddf by codice.
the class CasHandlerTest method createHandler.
private CasHandler createHandler() {
CasHandler handler = new CasHandler();
STSClientConfiguration clientConfiguration = mock(STSClientConfiguration.class);
when(clientConfiguration.getAddress()).thenReturn(STS_ADDRESS);
handler.setClientConfiguration(clientConfiguration);
Filter testFilter = mock(Filter.class);
handler.setProxyFilter(new ProxyFilter(Arrays.asList(testFilter)));
return handler;
}
Aggregations