2018 Mar 01 9:14 AM - edited 2024 Feb 04 4:40 AM
I've added the following properties in local.properties in the location \apache-tomcat-7.0.85\lib\local.properties
datahub.security.basic.admin.user=admin
datahub.security.basic.admin.password=nimda
datahubadapter.datahuboutbound.user=douser
datahubadapter.datahuboutbound.password=nimda
datahub.security.basic.read_only.user=pradip
datahub.security.basic.read_only.password=nimda
I don't want to set no-auth on start up, so please don't advise on that.
When I try to hard-code the password in datahub-security-basic-spring.xml in the location C:\apache7\apache-tomcat-7.0.85\webapps\datahub-webapp\WEB-INF\classes\META-INF , it works. I'm able to make a REST call.
Please help on making this work in the local.properties way.
Thanks
Request clarification before answering.
Hi,
I think that your location for local.properties is wrong. Please have a look at this page: Install the Basic Prerequisites. If you have datahub-webapp.xml file you should point to the folder with local.properties (this is the best approach as you have separate directory for config and extensions). If not - you can create local.properties in datahub-webapp\WEB-INF\classes and it should also work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.