Need some system to let the user log in to the Hudson server so that certain operations are authorized.
1. Creating a job usually requires authentication.
2. Browsing the remote workspace sometimes requires authentication.
It may be possible to try an anonymous HTTP connection first, prompting for a password if the server says you are not
TBD whether passwords should be saved to the userdir (in scrambled form), or only remembered for the session.
Need an SPI for supplying alternate authorization for certain sites.
Implementing low-level cookie-based authentication was not pretty, but seems to work now. If you need authentication for
some operation, you will be prompted for a username and password; the login is good for the IDE session. The username is
remembered for the next time. There is an SPI permitting alternate authentication techniques if needed.
Integrated into 'main-golden', will be available in build *200903170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jesse Glick <firstname.lastname@example.org>
Log: #158033: form-based authentication to Hudson.