use of org.apereo.cas.authentication.DefaultMultifactorTriggerSelectionStrategy in project cas by apereo.
the class AbstractServiceValidateControllerTests method onSetUp.
@Before
public void onSetUp() throws Exception {
final StaticApplicationContext context = new StaticApplicationContext();
context.refresh();
this.serviceValidateController = new ServiceValidateController();
this.serviceValidateController.setCentralAuthenticationService(getCentralAuthenticationService());
this.serviceValidateController.setAuthenticationSystemSupport(getAuthenticationSystemSupport());
final Cas20ProxyHandler proxyHandler = new Cas20ProxyHandler(new SimpleHttpClientFactoryBean().getObject(), new DefaultUniqueTicketIdGenerator());
this.serviceValidateController.setProxyHandler(proxyHandler);
this.serviceValidateController.setApplicationContext(context);
this.serviceValidateController.setArgumentExtractor(getArgumentExtractor());
this.serviceValidateController.setServicesManager(getServicesManager());
this.serviceValidateController.setValidationSpecification(new Cas20WithoutProxyingValidationSpecification());
this.serviceValidateController.setMultifactorTriggerSelectionStrategy(new DefaultMultifactorTriggerSelectionStrategy("", ""));
}
Aggregations