Redirecting to j_security_check?
843835Feb 20 2003 — edited Mar 5 2003Hi everyone,
I want to have a login-page that evaluates the information before it does the actual login.
I have login.jsp that contains the login-form. This information is passed to another page that, through EJB (UserEJB), checks if the user is in the database. If the user is found, and the password matches, I want to log in the user. The only method I've found to log in is posting a form to j_security_check. So my questions are:
1. Can you log in without using j_security_check? The ideal case would be something like "request.getSesssion().setUser(...)".
2. Can you redirect to j_security_check and pass along the info?
Thanks in advance,
Nille