Hi I have this question that puzzle me ...
You can go to http://www.koders.com/java/fid123DEE396363A73FCDDEF9AFBC4174048F3EEBA4.aspx
to see a typical code for JDBCRealm.java
I am using Tomcat log in form with user name password and when click submit, apparently the action J_security_check is called. Then JDBCRealm took over the authentication.
I know how JDBCRealm go in and check the user name and password from the database.
Now, my question is how does JDBCRealm "read in" the input user name variable that coming from the user in order to compare withe the user name in the database for authentication?
Since I look at the code , they just call a method like authentication (String username, String password) kind of thing. Is there some back ground process that J_security_check does to pass on these parameter to JDBCRealm?