草庐IT

ClientDetailsS

全部标签

java - 如何在 Spring 中使用 JDBC 为 ClientDetailsS​​erviceConfigurer 添加客户端?

我的内存工作如下:@Overridepublicvoidconfigure(ClientDetailsServiceConfigurerclients)throwsException{clients.inMemory().withClient("clientapp").authorizedGrantTypes("password","refresh_token").authorities("USER").scopes("read","write").resourceIds(RESOURCE_ID).secret("123456");}我想使用JDBC实现。为此,我创建了以下表(使用My