@Bean(name="authenticationManagerBean")
public AuthenticationManager getAuthenticationManager(){
return new AuthenticationManager() {
@Override
public Authentication authenticate(Authentication authentication) throws AuthenticationException {
throw new UnsupportedOperationException("No authentication should be done with this AuthenticationManager");
}
};
}
OpenIdConfig.java 文件源码
java
阅读 30
收藏 0
点赞 0
评论 0
项目:poppynotes
作者:
评论列表
文章目录