Hello All...
I am developing app using Spring Web MVC, Hibernate..
Now, i have my login page configuration like :
<bean name="/uservalidate.htm" class="UserValidateFormController">
<property name="sessionForm" value="true"/>
<property name="commandName" value="User"/>
<property name="commandClass" value="User"/>
<property name="formView" value="login"/>
<property name="userSecurityProcessor" ref="IUserSecurityProcessor"/>
<property name="validator">
<bean class="LoginValidator"/>
</property>
<property name="successView" value="layout.jsp"/>
Now, after submitting from login page control goes to Validator Class i.e. LoginValidator..
But, at that class i am not getting reference of my userSecurityProcessor which gives me server side data..
Can anybody please suggest, how can i check Username and Password in my Validator class..?
Thanks in advance..