This week's giveaway is in the Java/Jakarta EE forum. We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line! See you should have the following values and you cannot change them:
if the authentication method is form then the action of the form shoud be j_security_check
the username field name should be:j_username
the password field name should be: j_password
changing anything in the above values the authentication will not work.
As for the redirection it is configured in the web.xml in the following tag:
This is what I know - j_security_check is a kind of target built into a web application container. So, how it's actually implemented is container specific. However, the URL that causes the login page to be invoked is probably stored somewhere, and then the login is successful, the user is redirected to the stored URL.
Bosun (SCJP, SCWCD).
So much trouble in the world -- Bob Marley
posted 8 years ago
Yes exactly, once you configure your jaas authentication this url will be active.