I'll sync up with Oleg and takes the notes out of SVN and put them in a proposal. At this point Greg, Jan, Jesse, myself, Oleg and soon Shane will have their fingers in the pie. This is a pretty significant effort and should be documented. It's mostly the processes and algorithms that need to be vetted.

On 17-Jul-08, at 7:26 PM, Jesse McConnell wrote:

hey all,

I have been working on the jetty-client in the jetty project over in
codehaus which is the library mercury uses that is doing the
asynchronous retrieval and deployment of artifacts.  Greg Wilkins and
I have recently been increasing the functionality of the jetty-client
and we are getting to the point where we need to do a bit more
integration with mercury, namely in the area of security,
authentication specifically.  We have ssl support and cursory webdav
support for creating directories on put operations if webdav is
enabled server side in places and all of this shares the same async
nio framework that jetty uses very successfully for scaling to very
large numbers of connections.  It is pretty nice and small as well.

Anyway, the security api in jetty-client is still open and somewhat
malleable if we add some additional options, but it ought to work for
what is needed here.  The specific integration bit needed right now in
mercury is in mapping username/password credentials to the relevant
host.  In jetty-client we have this broken out by the security realm
that the target host replies with in the authentication request header
but that doesn't necessarily apply in maven-land.  I am not sure what
sort of api we ought to have in mercury for this, but the jetty-client
allows for extending a couple of interfaces which allow you to setup
your own security realm and mapping solution.  It should also be able
to support simple things like adding a realm that would prompt the
user for username/password and then cache that for future use by other
connections in that batch.

Anyway, I am interested in hearing how folks want to address this in
mercury so any thoughts are more then welcome.  I am not sure how much
mercury has been discussed on the dev list up to this point but I am
assuming that most of you have an inkling of what the goal of mercury
is...if not ask away and someone will chime in :)

cheers,
jesse

--
jesse mcconnell
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to