管控台在运行的时候,发现根本没有读auth.properties的数据
日志内容是:
[WARN ] 2017-05-25 19:04:54,708 --main-- [com.dangdang.ddframe.job.security.WwwAuthFilter] Cannot found auth config file, use default auth config.
在debug的时候,发现props.load方法报异常了
管控台在运行的时候,发现根本没有读auth.properties的数据
日志内容是:
[WARN ] 2017-05-25 19:04:54,708 --main-- [com.dangdang.ddframe.job.security.WwwAuthFilter] Cannot found auth config file, use default auth config.
在debug的时候,发现props.load方法报异常了
多谢指出。问题已修正。
https://github.com/dangdangdotcom/elastic-job/issues/334
将在最新的2.1.3版本中发布。
auth.properties放在conf目录下就会自动读。
如果没有auth.properties文件的话,启动也不会受影响,只不过console是用的默认用户名和密码而已。
默认的用户名和密码可以在
http://dangdangdotcom.github.io/elastic-job/elastic-job-lite/02-guide/web-console/
找到。
运行的什么版本?conf放在哪里了?贴个图看一下目录结构吧