> I've been working with/on a plugin for talking to github, and I'm > staring at some fairly complex code for processing proxy information > from settings.xml, and some slightly less complex code for obtaining > and decrypting credentials from servers. > > Is there a shared component in which I put this? (I don't write > 'copy', because I'm not the author, and I don't know if he/she will be > interesting in contributing. If not, I'll make a new one.) >
I have a dream of, one day, getting a plug-able solution for the server credentials handling in Maven [1]. As it would affect some plugins as well as Maven core, it should be a separate lib. Maybe now is a good time to start to work on this? [1] http://jira.codehaus.org/browse/MNG-5356 /Anders > > Relatedly, I ran into the problem of wanting to make an HTTPs > connection with a host whose key had an intermediate certificate in > its chain. This led me to a code snippet which installed a truststore > into the global SSL context. It seemed a trifle off to me that code in > one plugin could side-effect the global environment to this extent. > Now, practically, I suppose that it would take a SecurityManager to > prevent this; that seems a cure worse than the disease, but I wonder > if others have thought upon it before. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
