Re: Creating a bean for the session on login

2004-05-25 Thread Digby
I created a filter that checked to see whether the request.getRemoteUser() was set, and if so, did a lookup on the DB to get the first and last names. Digby Tim Penhey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] In a web-app I have a JDBCRealm and most requests are secure

Creating a bean for the session on login

2004-05-22 Thread Tim Penhey
In a web-app I have a JDBCRealm and most requests are secure (requiring a logon). I would like to create a User bean that contains the users first and last name, both of which are stored in the DB table along with the username and password. I would like to create this User bean when the user

Re: Creating a bean for the session on login

2004-05-22 Thread QM
On Sat, May 22, 2004 at 01:23:38PM +0100, Tim Penhey wrote: : Using jsp:useBean would require a default constructor, but even if I wanted that, I : can't get the request and hence the logged in user. I don't think I understand this -- What stops you from getting the request object from within a