1 Reply Latest reply on Apr 18, 2016 5:19 PM by Rustam Usmanov

    Invoke REST endpoint with logged user

    Maciej Swiderski Master



      I have a web application that is secured with standard JEE security. Then as part of the application logic I'd like to invoke a REST endpoint and it needs to be invoked with credentials of the user who is logged in to the web application. Question is if there is a way to obtain user name and password or is there any way to add Authorization header (for basic authentication) when invoking rest endpoint?


      thanks in advance