cancel
Showing results for 
Search instead for 
Did you mean: 

Spring security authentication issue for datahub in hybris 6

Former Member
0 Kudos

HI , I am configuring datahub for hybris 6. When trying to post idoc to the datahub through rest client it's asking the credentials for Spring security authentication.Please let me know where to find the credentials or defined the credential.Though I have successfully configured the Datahub for Hybris 5.5 where no credentials are required for posting Idoc to datahub.

Thanks, Jasapriya

Former Member
0 Kudos

Hi Jasapriya,

Please let me know how you handled this issue.

Thank you, Selvi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I also faced this issue in data hub, configure these properties in local.properties.

datahub.security.basic.admin.user=admin

datahub.security.basic.admin.password=nimda

former_member224482
Active Contributor
0 Kudos

Read the following links :

You can also disable authentication using tomcat property : -Dspring.profiles.active=no_auth

Former Member
0 Kudos

Hello Robin,

I am facing the same issue. When i am accessing hostnme:8080/datahub-webapp/v1/idoc/receiver, requires authentication.

I added the property: -Dspring.profiles.active=no_auth in installer/work/datahub-tomcat/wrapper.conf. But it didn't work.

My hybris instance is on Linux. Please suggest.

Thank you, Selvi