Re: Tomcat: form authentication - creating a login bean

2006-09-08 Thread David Smith
The table used in the DataSourceRealm can contain more than just the user's credentials. Expand the schema to include all the info. When they login, just query the database for the remaining info. request.getRemoteUser() provide's the username of the client. A request filter would be ideal

Tomcat: form authentication - creating a login bean

2006-09-08 Thread Jon Yeargers
I have a site that uses Tomcat's form based authentication. It reads from a MySQL db using a 'DataSourceRealm' defined in the context.xml file. All well and good. What Im hoping to achieve is creation of a session bean with info about the logged in account when a valid login is sent. Is there