16. The system of claim 15 , wherein the server is further configured to pass the authentication result to an authentication failed servlet in response to a rejection of the user security credentials, the authentication failed servlet returning an AJAX response to the client comprising an authentication failure message, the client configured to indicate a security credential failure message.
15. A system for Asynchronous Java Script and XML (AJAX) form-based authentication using Java 2 Platform Enterprise Edition, the system comprising: an AJAX-enabled application on a client in communication with a network, the AJAX-enabled application on the client configured to: send an AJAX request for secure data; simulate a form-based submission by prompting a user for user security credentials, independent of a server-based security credential form by way of java script source code; and manage one of a positive and a negative response from a form-based authentication submission; a server including a processor coupled to memory, wherein the server is in communication with the network and is configured to: detect whether the AJAX request sent from the AJAX-enabled application on the client requires access to data marked as secure; and redirect the AJAX request to an authentication required servlet in response to detecting that the AJAX request requires access to data marked as secure; issue an AJAX response to the client, the AJAX response, independently of a server-side security credential form, directing the client to obtain user security credentials; pass the user security credentials received from the AJAX-enabled application, as an AJAX form-based authentication request to a web container authentication service; authenticate the user security credentials using a web container authentication service, the user security credentials received by way of the AJAX form-based authentication request; and process the client request for secure data in response to a positive authentication of the user security credentials.