https://apereo.github.io/cas/5.1.x/installation/Configuring-Custom-Authentication.html
文档中提供的注册bean的构造方法如何实现呢?
@Bean
public AuthenticationHandler customAuthenticationHandler() {
final CustomAuthenticationHandler handler = new CustomAuthenticationHandler();
/*
Configure the handler by invoking various setter methods.
Note that you also have full access to the collection of resolved CAS settings.
Note that each authentication handler may optionally qualify for an 'order`
as well as a unique name.
*/
return handler;
}
@Autowired
@Qualifier("servicesManager")
private ServicesManager servicesManager;
return new CustomerHandler("customerHandler", servicesManager, new DefaultPrincipalFactory(), 1);
cas的文档真的很不友好,学起来很难受