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

Destination config - OAuth2SAMLBearerAssertion with SAP JAM is not working as expected

I have created a java application as per the instructions given in https://github.com/SAP/SAPJamSampleCode/tree/master/ODataSamples/ for creating a group in JAM.

If I hit create group servlet of application launched in HCP i get the following error:

System headers cannot be generated due to : com.sap.core.connectivity.httpdestination.common.HeaderGenerationException: Cannot generate OAuth 2.0 SAML Bearer Assertion because there is no user logged in the current thread.

Could you please suggest me what is that I'm missing here ??

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 28, 2016 at 01:01 PM

    The security part in web.xml which would also trigger the login process?

    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.