I have a simple userID , passWord fields on my JSF application.If user authenticated then only user can see the next page.On the login page I am useing one loingAuthenticationBean .The loingAuthenticationBean is in session scope. On that bean I can take the userID and as well as the password also.
After authentication I am showing a simple form.Authenticated user can fill data on that form . For this form am using formBackingBean .The formBackingBean is also in session scope.After filling the form user will press the Enter button & data will save in the database.But how could I get the userID field ? Because the userID is in a different backingBean .I have to save the userID also when user save those data.
Is there any way out to take data from diffrerent backingBean's data ?