Re: New plugin/module: Authenticator
Peter Hansson <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CAC55jYOfhMShpQC5Kv4=ypZuc9hNntFmmUT6h5rM8x1JZWbP4w@mail.gmail.com> |
Thanks. Just a word of warning. It isn't actually that easy to test neither this module or its sister project, the NetBeansProxy2 (an alternative ProxySelector). In order to test different scenarios you'll need a number of network components. I have a full test bed with DNS server, a network proxy server <https://bitbucket.org/phansson/netbeansnetworkauthenticator/wiki/Testbed>, an Active Directory server, an Apache HTTP server, and so on. Basically mimics everything that goes on in a standard corporate environment. Time consuming! What you CAN do however is that you can just put the module(s) into an app and see how it behaves in your network environment's default setup. Peter On Sat, Apr 23, 2016 at 9:03 PM, geertjan wielenga < [email protected]> wrote: > > Wow, very cool. Will try it and blog about it! > > Thanks for this, > > Gj > > > On 23-4-2016 18:25, Peter Hansson wrote: > >> I've just released an alternative Authenticator for use with NetBeans >> Plaform applications. >> >> https://bitbucket.org/phansson/netbeansnetworkauthenticator >> >> >> On the above page you can read why this is relevant for NetBeans >> Platform applications. >> >> >> If you don't know what an Authenticator is: It is a Java SE thingy >> that gets invoked when some network task is in need of credentials. >> NetBeans Platform provides its own implementation but it is >> unfortunately way too simplistic to make sense in use in the real >> applications. More on this in the README. >> >> >> Enjoy. >> >> >> Peter >> >> >> (I haven't yet released it as a plugin, for now it is merely a module >> that app developers can clone. It some ways it would probably make >> more sense releasing stuff like this to Maven Central rather than to >> plugins.netbeans.org) >> > >