use of org.apereo.cas.authentication.surrogate.SurrogateRestAuthenticationService in project cas by apereo.
the class SurrogateRestAuthenticationConfiguration method surrogateAuthenticationService.
@RefreshScope
@Bean
public SurrogateAuthenticationService surrogateAuthenticationService() {
final SurrogateAuthenticationProperties su = casProperties.getAuthn().getSurrogate();
LOGGER.debug("Using REST endpoint [{}] with method [{}] to locate surrogate accounts", su.getRest().getUrl(), su.getRest().getMethod());
return new SurrogateRestAuthenticationService(su.getRest(), servicesManager);
}
Aggregations