public void connect( Repository repository, AuthenticationInfo authenticationInfo, ProxyInfo proxyInfo )
throws ConnectionException, AuthenticationException
{
final ProxyInfo proxy = proxyInfo;
connect( repository, authenticationInfo, new ProxyInfoProvider()
{
public ProxyInfo getProxyInfo( String protocol )
{
if ( protocol == null || proxy == null || protocol.equalsIgnoreCase( proxy.getType() ) )
{