From bf39b135b2cdf2eebf600e2b7df83ee0d0f2b248 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Tue, 14 Sep 2021 19:09:10 +0200 Subject: [PATCH] some debug info --- .../src/main/java/de/hsadmin/rest/customer/ContactsAPI.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cust-services/src/main/java/de/hsadmin/rest/customer/ContactsAPI.java b/cust-services/src/main/java/de/hsadmin/rest/customer/ContactsAPI.java index 220aaba..a6eb6a8 100644 --- a/cust-services/src/main/java/de/hsadmin/rest/customer/ContactsAPI.java +++ b/cust-services/src/main/java/de/hsadmin/rest/customer/ContactsAPI.java @@ -26,7 +26,10 @@ public class ContactsAPI { @GET @Path("/{customer}") - public List getContactsByMember(@PathParam("customer") String customer, @HeaderParam("Authorization") String ticket) throws UserException, TechnicalException { + public List getContactsByMember(@PathParam("customer") String customer, @HeaderParam("X-HS-Auth") String ticket) throws UserException, TechnicalException { + System.out.println("customer: " + customer); + System.out.println("ticket: " + ticket); + System.out.println("LoginService: " + login); RequestContext context = login.createContext(ticket, null); ContactVO vo = new ContactVO(); vo.setCustomer(customer);