use of org.apereo.cas.support.inwebo.service.InweboService in project cas by apereo.
the class InweboServiceConfiguration method inweboService.
@Bean
@ConditionalOnMissingBean(name = "inweboService")
@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
public InweboService inweboService(@Qualifier("inweboConsoleAdmin") final InweboConsoleAdmin inweboConsoleAdmin, final CasConfigurationProperties casProperties) throws Exception {
val inwebo = casProperties.getAuthn().getMfa().getInwebo();
val sslContext = SSLUtils.buildSSLContext(inwebo.getClientCertificate());
return new InweboService(casProperties, inweboConsoleAdmin, sslContext);
}
Aggregations