RE: re: JSP Tags and SecurityFilter
"Dan Payne" <[email protected]> Tue, 25 Mar 2003 23:21:32 -0600
| Newsgroups | gmane.comp.java.securityfilter.user |
|---|---|
| Message-ID | <[email protected]> |
I should have added that I also use the Struts tags <logic-el:present> and <logic-el:notPresent> extensively w/o incident. And w/ regards to the earlier problems I was having with Resin and SecurityFilter: I tracked it down to serving my app at the same time on both tomcat and Resin. It worked easier for me for cross-server debugging but something somewhere down the line in Resin *really* didn't like it. I've also upgraded to the 1.0 release of SecurityFilter and it gave me a huge headache but of course it was user error. Appears there's stricter adherence to the DTD. I had a superfluous name field that was causing a hiccup. After removing that from the securityfilter-config file all been well. Thanks for all the work, SecurityFilter team! I owe ya one. -Dan -----Original Message----- From: Max Cooper [mailto:[email protected]] Sent: Tuesday, March 25, 2003 11:12 PM To: Dan Payne Subject: Re: [securityfilter-user] re: JSP Tags and SecurityFilter Thanks for the feedback, Dan. It's always good to hear that things are working as intended. :) I should have paid more attention in English class, or Java class. :) The method is supposed to be: getUserPrincipal() -Max ----- Original Message ----- From: "Dan Payne" <[email protected]> To: "Max Cooper" <[email protected]> Sent: Tuesday, March 25, 2003 7:56 PM Subject: RE: [securityfilter-user] re: JSP Tags and SecurityFilter > I use getUserPrinciple(), getRemoteUser() and isUserInRole() extensively > throughout my Struts action classes and in some custom tag libraries without > a single hitch. > > -Dan > > -----Original Message----- > From: securityfilter-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > [mailto:securityfilter-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org]On Behalf Of Max > Cooper > Sent: Tuesday, March 25, 2003 9:32 PM > To: SecurityFilter > Subject: [securityfilter-user] re: JSP Tags and SecurityFilter > > > Ken, > > They should work just fine since the HttpServletRequest methods related to > security are all supported: > getUserPrinciple() > getRemoteUser() > isUserInRole() > > Any tags that work with container-managed security by calling these methods > should be 100% functional with SecurityFilter. That said, I have not done > extensive testing with the Struts tags, but I fully expect that they will > work. > > -Max > > > Do the SecurityFilter principals/roles propagate down to > JSP Tags? I think it should be ok since they use servlet > technology as a base, but I'm wondering if anyone has tried > them successfully. > > ken > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > securityfilter-user mailing list > securityfilter-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/securityfilter-user > > ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en