We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用如下配置,在登录时提示找不到用户,org.springframework.security.core.userdetails.UsernameNotFoundException: User nacos not found: spring.sql.init.platform=dm db.num=1 db.url.0=jdbc:dm://127.0.0.1:5236/NACOS?schema=NACOS&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8 db.user.0=SYSDBA db.password.0=123456 db.pool.config.driverClassName=dm.jdbc.driver.DmDriver
调式发现 nacos-default-auth-plugin 模块下出现出错,没有对应分页实现,如果把spring.sql.init.platform=mysql就是好的,请问这块如何扩展 /** * Get handler adapter. * * @param dataSourceType data source type. * @return */ protected PageHandlerAdapter getHandlerAdapter(String dataSourceType) { List handlerAdapters = PageHandlerAdapterFactory.getInstance().getHandlerAdapters(); for (PageHandlerAdapter adapter : handlerAdapters) { if (adapter.supports(dataSourceType)) { return adapter; }
} return PageHandlerAdapterFactory.getInstance().getHandlerAdapterMap() .get(DefaultPageHandlerAdapter.class.getName()); }
The text was updated successfully, but these errors were encountered:
用别的数据库时候也是,nacos账户登录日志显示: UsernameNotFoundException: User nacos not found
请问如何解决的
Sorry, something went wrong.
alibaba/nacos#11489
应该是因为这个吧
No branches or pull requests
使用如下配置,在登录时提示找不到用户,org.springframework.security.core.userdetails.UsernameNotFoundException: User nacos not found:
spring.sql.init.platform=dm
db.num=1
db.url.0=jdbc:dm://127.0.0.1:5236/NACOS?schema=NACOS&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
db.user.0=SYSDBA
db.password.0=123456
db.pool.config.driverClassName=dm.jdbc.driver.DmDriver
调式发现 nacos-default-auth-plugin 模块下出现出错,没有对应分页实现,如果把spring.sql.init.platform=mysql就是好的,请问这块如何扩展
/**
* Get handler adapter.
*
* @param dataSourceType data source type.
* @return
*/
protected PageHandlerAdapter getHandlerAdapter(String dataSourceType) {
List handlerAdapters = PageHandlerAdapterFactory.getInstance().getHandlerAdapters();
for (PageHandlerAdapter adapter : handlerAdapters) {
if (adapter.supports(dataSourceType)) {
return adapter;
}
The text was updated successfully, but these errors were encountered: