Skip to Content
author's profile photo Former Member
Former Member

Spring security authentication issue for datahub in hybris 6

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on May 10, 2016 at 03:34 PM

    Read the following links :

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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Mar 27, 2017 at 11:35 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.