I have webapp A (running wordpress) talking to webapp B (running on Java, no wordpress or php).
B issues xmlrpc requests to A over https.
In order to secure the xmlrpc endpoint on A I'd like to verify the identity of the caller i.e making sure A only accepts xmlrpc requests generated by B.
In Java this is doable by grabbing the HttpServletRequest object and checking for the remote host. Not so sure how to do this with php/wordpress. Any pointers appreciated...