Link to home
Start Free TrialLog in
Avatar of Omer-Pitou
Omer-Pitou

asked on

Spring Security: Access Extra parameters along with username and password when submitting Login Form

Dear  sirs,
Please help with the following.
I would like to know how to access extra parameters (besides username and password), when dealing with Spring Security Login form.
Please, assist.
A sample of code will be helpful.

Omer
Avatar of girionis
girionis
Flag of Greece image

What kind of information you want to pass?
Avatar of Omer-Pitou
Omer-Pitou

ASKER

I would to pass the company code, as it is a multi company app.
I solved the problem. I missed to set the name attribute. I had only the id attribute.
With this set, I autowired the HttpServletRequest and was able to access the parameter
ASKER CERTIFIED SOLUTION
Avatar of Omer-Pitou
Omer-Pitou

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial