title: Cross-Domain POST in JBoss AS 7.1.1
body: <p>I have a web application in a cloud server. One of my controllers of my web application externalizes URLs to be accessed through a mobile app (using JavaScript; I´m using Titanium to develop for Android and iOS). I can access the GET methods without any problem and I obtain what I desire, but when I call the POST methods to send information to be processed, I get Bad Server - HTTP Error. To protect my URLs I use BASIC authentication configured in my application and in JBoss (standalone.xml file). When I access the POST methods from a form (using JQuery Ajax) inside the web application, that´s OK, so I think this is a Cross-Domain problem.</p>
  
  <p>Is there any configuration to be done in JBoss so my web application can receive POST calls from any other domains (of course, providing the correct username/password pair).</p>
  
  <p>Thanks in advance!</p>