AnsweredAssumed Answered

Get Active Tasks from Backend - 401

Question asked by anakin59490 on Dec 18, 2018
Latest reply on Dec 18, 2018 by anakin59490

I use Alfresco 6 with 2 backend (alfresco and spring-boot).


I try to retrieve active tasks for specific user from spring-boot backend  (in this example, user "acc1")  but I get "401" issue :



This is the  complete request :



When it's called from angular fronted, it works.


Here is my code :


public ResponseEntity<AlfrescoResponse> callAlfrescoBackEnd(String url) {
   "url: " + url);
             headers = new HttpHeaders();
               entity = new HttpEntity<String>(headers);
          return, HttpMethod.GET, entity, AlfrescoResponse.class);


How can I solve it ?