Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Submitting additional information during authentication?  RSS feed

Kelly Dolan
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have form authentication working. In my deployment descriptor, I have the following along with the appropriate html files that describe the form submit to 'j_security_check' and acquire values for 'j_username' and 'j_password'.

I need to acquire another value on the login page (e.g., the role that the user wants to assume). Can I do this or is the login page restricted to only acquiring the username and password fields? I've tried placing other form fields in the html and using request.getParameter() to obtain my value but I'm not having much luck.
Thanks!!! Kelly
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!