Ok so based on earlier discussion with Adobe folks, we wrote a servlet on the AEM platform in cloud that executes some functions based on our post. Now the challenge is protecting the URL and be able to post.
For example, our serlvet path is /bin/wcm/myproject/manageusers
Since the path is virtual, how do we assign rights by creating a user who can invoke that servlet? Where would we do that. Secondly, do we have an example of an Ajax call that can invoke that servlet by passing a username/pwd?