Skip to Content

How to use REST between two NEO Java Services

Hello everybody,

My problem is that I can not authenticate to another java service when using REST. For example, Java service "A" wants to retrieve data from the Java service "B" via REST. Both use the login method "FORM". I am logged into service "A" and service "B" should retrieve and act on my user principal.

How can I authenticate against service "B" with my service "A" principal?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Oct 16, 2019 at 12:43 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 16, 2019 at 09:03 AM

    Hello Tom,

    the principal propagation between two services A and B can be achieved by utilizing App-to-App-SSO between the two services. By this, you establish a trust relationship between A and B which allows to invoke B considering the principal logged in to A.

    Have you looked into that? If so, pls tell us which concrete problem(s) you are facing.

    Thanks

    Marco

    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.