ClassCastException with own Principal interface and implementation

2004-04-21 Thread ralf lorenz
hi there, i've written my own realm 'CrmJDBCRealm' which extends the 'JDBCRealm' one of catalina. this realm creates and returns a principal of type 'CrmPrincipalImpl' which extends 'GenericPrincipal' and implements 'CrmPrincipal'. 'CrmPrincipal' has getter for an 'id' and getter and setter

form based authentication problem

2003-02-04 Thread Ralf Lorenz
guess that was to much of description last time! next try can anybody tell me how to do some action, say put an object in the session or/and update a list in the servlet context directly after a user was logged in successfully via form-based authentication (context) with a jdbc-realm? ralf

Re: form based authentication problem

2003-02-04 Thread Ralf Lorenz
all my other action classes extended. The base class performs any initialization (initializing objects in the session etc) as required. If you don't want to use struts you might consider using a filter. Hamish -Original Message- From: Ralf Lorenz [mailto:[EMAIL PROTECTED]] Sent

form based authentication workflow problem

2003-02-03 Thread Ralf Lorenz
hello, i'm currently working on a web application where we want to use the container based authentication mechanism because of its standarized character. therefore we need to use form-based authentification. from the post within this forum i understood that the login page should never be accessed