From: <rg...@re...> - 2005-04-16 02:19:38
|
I wasn't clear enough in my last message - I should have been more specific. I implemented Jody's idea, thus everything should still work. Basically I did was enclose the Authenticator setting in an: if (username != null && password != null) if that is still a problem, let me know. Thanks Richard Quoting David Zwiers <dav...@gm...>: > This really makes those two parameters useless. Richard, please put it > back. When GT has a plan for validation in a generic way ... then I > will be happy to look into this more. > > That said, this is a limitation in the Java API. I could see > alternative approaches (like either passing in username/pass or an > authenticator), but by now we have gotten rather complex for a single > datastore (put these thoughts towards a generic solution?). > > I'll think on it a bit and see what I can come up with. > > David > > On 4/15/05, Richard Gould <rg...@re...> wrote: > > Jody Garnett wrote: > > > > > On further reflection commenting out the existing code is probably not > > > the best idea. Should check with the module maintainer first (and > > > GeoServer second). > > > > > > Could we set it up so WFS only clobbers the existing Authenticator if > > > and only if it has a username/password to supply? > > > That way we can leave the geotools working, and by simply removing the > > > username/password fields from our wizard prevent WFS from > > > ever wrecking the application Authenticator. > > > > > > Quite the design that Authenticator... > > > Jody > > > > I have done this. > > > > Richard > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Geotools-devel mailing list > > Geo...@li... > > https://lists.sourceforge.net/lists/listinfo/geotools-devel > > > |