I am trying to use the following login form to send the authentication request to the JBoss container.Can anybody let me know how the JAASSecurityManager intercept the J_SECURITY_CHECK action, and send the correcpoding j_username, j_password to the Subject, Principle. or others.
<!DOCTYPE HTML PUBliC "-//W3C/DTD HTML 4.0 Transitional//EN">
<META HTTP-EQUIV = "Pragma" CONTENT="no-cache">
Form Login Page
<h2>Sample Form Login</h2>
<FORM METHOD=POST ACTION="j_security_check">
Please Enter user ID and password:
User ID
Password
And then click this button: