This week's book giveaway is in the Programmer Certification forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Browser is sending HTTP request, which activates a controller on the WAS.
When calling: WSSubject.getCallerPrincipal, request.getUserPrincipal, request.getRemoteUser I have the user that activated the http request.
I need from the controller to activate a new HTTP request to another WAS (currently, it will be the same WAS, but will be separated in the future).
I want that the user principal of the first request will be transferred as the user principal of the second call.
Is it possible?
If not - I can workaround it, it I can define an application user that will always be the activated user, but now also that doesnt work - since I am getting null for the user principal in the second activation.
Water proof donuts! Eat them while reading this tiny ad: