cancel
Showing results for 
Search instead for 
Did you mean: 

Exception :- Caused by: java.lang.SecurityException: Authentication failed for target system

Former Member
0 Kudos
641

Hi,

I am getting the below exception while posting the IDOC from datahub to hybris system. Kindly let me know how can i resolve the issue.

Caused by: java.lang.SecurityException: Authentication failed for target system

Thanks Pradyumna

Accepted Solutions (0)

Answers (1)

Answers (1)

VinayKumarS
Active Contributor
0 Kudos

do you have the below entry in locale.properties in datahub-webapp/web-inf/classes

 datahub.extension.exportURL=http://localhost:9001/datahubadapter
 datahub.extension.userName=datahub
 datahub.extension.password=datahub
 


This id and pwd should exist in your hybris system.

Former Member
0 Kudos

Hi Vinay,

Thanks for the reply.

Yes, those above entry is there in my local.properties file.

0 Kudos

Hello Vinay,

I am facing the same issue and the user and password exist in hybris. But datahub fails to connect to Hybris system using this user.

Can you please suggest what can be missing?

Regards,

Priya Raja

VinayKumarS
Active Contributor
0 Kudos

Hi Priya,

I am not sure which version of hybris you are using. now http is not working any more. you have to use below

datahub.extension.exportURL=https://localhost:9002/datahubadapter
datahub.extension.userName=admin
datahub.extension.password=<password>