The HTTP Service / servlet container (in this case, Jetty) calls init, as per the servlet spec.
Thanks, Josh Scott Battaglia wrote: > Josh, > > Are you manually calling the init, or is it getting automatically called? > > Cheers, > Scott > > > On Thu, May 14, 2009 at 2:43 PM, Josh Holtzman <[email protected] > <mailto:[email protected]>> wrote: > > I'm wrapping the 3.1.3 CAS client in an OSGI bundle to provide > filtering to a variety of restful and wsdl based web services. > I'm constructing a new AuthenticationFilter, setting its > properties, and registering the filter on the appropriate URLs. > This should work, but both > AuthenticationFilter.initInternal(FilterConfig) and > AbstractCasFilter.init(FilterConfig) assume that the filter will > be initialized via init-params. Since I have no way of setting > init params, my manually entered settings are overwritten with > nulls. I can't override the problematic AbstractCasFilter.init > method because it's flagged as "final". > > Would the CAS developers be willing to accept a patch to these > filters so properties are only set via init params when the > initial values are null? > > Thanks, > Josh > > -- > Josh Holtzman > Educational Technology Services, UC Berkeley > [email protected] <mailto:[email protected]> > 510.529.9225 > > > -- > You are currently subscribed to [email protected] > <mailto:[email protected]> as: [email protected] > <mailto:[email protected]> > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- Josh Holtzman Educational Technology Services, UC Berkeley [email protected] 510.529.9225 -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
