cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Datahub 6.5 Bad credentials

0 Likes
381
  • 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

Accepted Solutions (0)

Answers (1)

Answers (1)

cieslo
Product and Topic Expert
Product and Topic Expert
0 Likes

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.