NutzCN Logo
问答 nutzboot访问 druid需要用户名 密码 怎么解决呢
发布于 1833天前 作者 Hamming 1614 次浏览 复制 上一个帖子 下一个帖子
标签:

http://localhost:8090/druid/login.html
nutzboot访问 druid需要用户名 密码 怎么解决呢

Login

用户名
 
密码
 Sign in  Reset
9 回复

后台日志有密码, 也可以设置固定密码

druid如何配置 有权限才能访问

配置手册有

哪里
这里么?

https://gitee.com/nutz/nutzboot/blob/dev/nutzboot-starter/nutzboot-starter-jdbc/src/main/java/org/nutz/boot/starter/jdbc/DruidWebStatServletStarter.java

你的项目没打印configure manual? 就是new NbApp().setPrintProcDoc(true)

生成的demo都是默认加上了的

这个吗

druid.web.filter.principalCookieName    |no        |                    |          |用户权限信息的cookie属性名称   |org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter|
|2   |druid.web.filter.principalSessionName   |no        |                    |          |用户权限信息的session属性名称  |org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter|

druid.web.filter.principalSessionName=sid
这样子么

只能设置密码

swagger也无法做权限判断了哦

shiro根据url拦截就行啦

添加回复
请先登陆
回到顶部