I am writing a web service for my department at work. I write backend on java using jetty, servlet.
There is an authorization code in Active Directory and user search by keyword - username. The code works, finds information about this user.
But I need to do the following. A remote user on the corporate network, logged in when logging into his computer, logged into the web service and made some changes to it, and the server gets its name.
Connection to the server is remote.