changing parameter and creating new request with changed parameter
posted 11 years ago
hi i have a problem. i am calling a function which takes HttpServletRequest object as a parameter.this request is generated from a login page where username and password in entered. and This function authenticate the user and return the userinfo in authentication successful.
What i have to do is, one time request is passed with the entered parameter in the login screen and if authentication fails, i have to create new request with change password and again call the same authenticate function the request but with changed password.