cas 5.x 文档有问题?
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;
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
@Autowired
@Qualifier("servicesManager")
private ServicesManager servicesManager;
return new CustomerHandler("customerHandler", servicesManager, new DefaultPrincipalFactory(), 1);
cas的文档真的很不友好,学起来很难受