How to get HTTP Headers (Authorization) in a Lotus Domino Java Agent?
问题 I have an external application (non-Domino) that post data to a Domino Java agent. I'm able to read the data by using the REQUEST_CONTENT CGI variable, all is good. However, since I want to prevent anybody from running this agent, a username/password is sent in the HTTP Header ("Authorization" in Basic Auth, base64 encoded). Now, I want to read this, decode it and validate manually if the username/password provided are OK (from a database containing all access, custom database, not a domino