
SpringSecurity
滔涛江水
java开发,一年经验,努力成长中!
展开
-
OAuth报错 - At least one redirect_uri must be registered with the client.
OAuth Error error="invalid_request", error_description="At least one redirect_uri must be registered with the client." HTML显示如上 控制台报错 16:20:57.013 INFO o.s.s.o.p.e.AuthorizationEndpoint >...原创 2018-12-20 16:32:46 · 11385 阅读 · 0 评论 -
UserDetailsService中Service或者Dao 使用@Autowired注入为NULL SpringBoot架构
网上有一些关于这个问题的答案,但都不是基于SpringBoot的,一想到SpringBoot还要配置XML文件就头大呀有木有。 以下就是解决方法: 在SecurityConfig中添加如下代码 @Bean public UserDetailsService myUserService(){ return new MyUserDetailsService(); ...原创 2018-12-11 15:19:36 · 4298 阅读 · 8 评论