我试图在oauth2中开发一个客户端服务器。我的资源服务器和auth服务器已经就位。为了使客户端服务器作为SSO我的安全配置,那么以下 @Configuration
public class SecurityConfig extends OAuth2SsoConfigurerAdapter {
//@Override
public void configure(HttpSe
的排位豆我能够成功通过更换基本身份验证到OAuth2集成到我以前的应用程序(REST服务)。 然后我得到了以下异常: No qualifying bean of type [org.springframework.transaction.PlatformTransactionManager] is defined: expected single matching bean but found 2
我正在使用Spring Cloud Angel.SR4。我创建一个OAuth2RestTemplate bean配置类如下: @Configuration
public class OAuthClientConfiguration {
@Autowired
private MyClientCredentialsResourceDetails resource;
p