I'm using a tipical Login Form in a web app. But I want to add some extra input data into the form (in addition to the login and password input data).
I've followed the specs SRV.12.5.3. Form Based Authentication. So I must create a login form such as:
<form metod="POST" action="j_security_check">
Login: <input type="text" name="j_username"> <br>
Passoword: <input type="password" name="j_password"> <br>
But, if I add some extra input data (i.e. course) into the form:
Course: <input type="course" name="course"> <br>
How can I (if a can) retrive the data the user has sent in this form???
When the user browse a protected URL, prior to that page, the container redirects him to the login form, then to the protected URL.