Here's what I want to do ... Use a JAAS soultion to authenticate/authorize the user. I the same breath ... as the user successfully 'logs'-in, I what to retrieve that users entire info from the DB, create an UserView and place it into the Session.
I've succesfully done 3/4 of this in JBoss ... but am unable to retrieve the users crendtials. My thought was to check for the UserView in session ( by extending the RequestProcessor ), and if it didn't exist, retrieve the crendtials, find my user, create the view and store .. otherwise, continue processing. After looking into 'filters', I saw that it my be better to go that way. However, I'm not farmiliar with them and have a bit of a time constraint on my hands. If I could configure the securityFilter to achieve this .. I'd be golden. ( I like the fact that its app server independent as well, I hated coupling myself to JBoss ). Any thoughts would be greatly appreciated. D. -----Original Message----- From: Dan Payne [mailto:[EMAIL PROTECTED]] Sent: September 18, 2002 2:22 PM To: Struts Users Mailing List Subject: RE: Has anyone integrated SecurityFilter within a Struts app? Darren, I've successfully implemented the SecurityFilter with Tomcat 4.1.10, MySQL and JDBC Realm. Anything I can help you with? -Dan -----Original Message----- From: Darren Hill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 7:43 AM To: 'Struts Users Mailing List' Subject: Has anyone integrated SecurityFilter within a Struts app? I'm looking for an example webapp. I've wasted too much time already doing it myself. I've got an app that uses JAAS with JBoss, but its too tightly coupled. And JBoss doesn't have the best documentation. I also need to retrieve and store a UserView upon successful authentication, so that I may grab it from session .. yada yada yada. D. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>