I have found the guilty -->
https://scm.ops4j.org/repos/ops4j/projects/pax/url/pax-url-maven-commons/src/main/java/org/ops4j/pax/url/maven/commons/MavenConfigurationImpl.java

  /**
     * Enables the proxy server for a given URL.
     */
    public void enableProxy( URL url )
    {
        final String proxySupport = m_propertyResolver.get( m_pid +
MavenConstants.PROPERTY_PROXY_SUPPORT );
        if( "false".equalsIgnoreCase( proxySupport ) )
        {
            return; // automatic proxy support disabled
        }

        final String protocol = url.getProtocol();
        if( protocol == null || protocol.equals( get( m_pid +
MavenConstants.PROPERTY_PROXY_SUPPORT ) ) )
        {
            return; // already have this proxy enabled
        }

        Map<String, String> proxyDetails =
m_settings.getProxySettings().get( protocol );
        if( proxyDetails != null )
        {
            LOGGER.trace( "Enabling proxy [" + proxyDetails + "]" );

            final String user = proxyDetails.get( "user" );
            final String pass = proxyDetails.get( "pass" );

            Authenticator.setDefault( new Authenticator()
            {
                @Override
                protected PasswordAuthentication getPasswordAuthentication()
                {
                    return new PasswordAuthentication( user,
pass.toCharArray() );
                }
            }
            );

            System.setProperty( protocol + ".proxyHost", proxyDetails.get(
"host" ) );
            System.setProperty( protocol + ".proxyPort", proxyDetails.get(
"port" ) );

            System.setProperty( protocol + ".nonProxyHosts",
proxyDetails.get( "nonProxyHosts" ) );

            set( m_pid + MavenConstants.PROPERTY_PROXY_SUPPORT, protocol );
        }


Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm


On Tue, Dec 15, 2009 at 4:01 PM, Richard S. Hall <[email protected]>wrote:

> On 12/15/09 9:06, Charles Moulliard wrote:
>
>> Is it possible that such system properties are set by Apache Felix or
>> Apache
>> Felix Karaf ?
>>
>>
>
> Not by the framework...
>
> -> richard
>
>
>  For an unknown reason, I see that there are defined in my karaf server
>> (172.17.5.6 port: 80) when running a camel context using jetty and http
>> endpoints but I don't know how such info has been provided to the server ?
>>
>> 14:56:06,852 | INFO  | e/incidents/123/ | Tracer
>> |
>> rg.apache.camel.processor.Logger   88 |
>> ac096b24-a010-4664-8937-6a8506120135
>>
>>
>>> (route1) from(http://localhost:8080) -->  http://localhost:8181<<<
>>>>>
>>>>>
>>>> Pattern:InOut, Headers:{Host=localhost:8080, Content-Type=null,
>> CamelHttpPath=/reportservice/incidents/123/,
>> CamelHttpCharacterEncoding=null, User-Agent=Mozilla/5.0 (Windows; U;
>> Windows
>> NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5,
>> CamelHttpMethod=GET, CamelHttpUri=/reportservice/incidents/123/,
>> Keep-Alive=300, CamelHttpQuery=null, CamelHttpUrl=
>> http://localhost:8080/reportservice/incidents/123/,
>> Accept-Encoding=gzip,deflate, Connection=keep-alive,
>> Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7,
>> Accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,
>> Accept-Language=en-us,en;q=0.5}, BodyType:null, Body:null
>> 14:56:06,868 | INFO  | e/incidents/123/ | Tracer
>> |
>> rg.apache.camel.processor.Logger   88 |
>> ac096b24-a010-4664-8937-6a8506120135
>>
>>
>>> (route1) http://localhost:8181 -->  http://localhost:8181<<<
>>>>>
>>>>>
>>>> Pattern:InOut, Headers:{Host=localhost:8080, Content-Type=null,
>> CamelHttpPath=/reportservice/incidents/123/,
>> CamelHttpCharacterEncoding=null, User-Agent=Mozilla/5.0 (Windows; U;
>> Windows
>> NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5,
>> CamelHttpMethod=GET, CamelHttpUri=/reportservice/incidents/123/,
>> Keep-Alive=300, CamelHttpQuery=null, CamelHttpUrl=
>> http://localhost:8080/reportservice/incidents/123/,
>> Accept-Encoding=gzip,deflate, Connection=keep-alive,
>> Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7,
>> Accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,
>> Accept-Language=en-us,en;q=0.5}, BodyType:null, Body:null
>> 14:56:06,868 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   72 | Java version: 1.6.0_16
>> 14:56:06,883 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   73 | Java vendor: Sun Microsystems Inc.
>> 14:56:06,883 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   74 | Java class path:
>>
>> .;d:\temp\MSSQLServer2005JDBCDriver\sqljdbc.jar;D:\soft\opensource\ant-1.6\lib;D:\Temp\tutorial\part3\apache-felix-karaf-1.2.0-allin\bin\..\conf;D:\Temp\tutorial\part3\apache-felix-karaf-1.2.0-allin\bin\..\lib\karaf-client.jar;D:\Temp\tutorial\part3\apache-felix-karaf-1.2.0-allin\bin\..\lib\karaf-jaas-boot.jar;D:\Temp\tutorial\part3\apache-felix-karaf-1.2.0-allin\bin\..\lib\karaf.jar
>> 14:56:06,883 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   75 | Operating system name: Windows XP
>> 14:56:06,883 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   76 | Operating system architecture: x86
>> 14:56:06,883 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   77 | Operating system version: 5.1
>> 14:56:06,915 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   82 | SUN 1.6: SUN (DSA key/parameter
>> generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509
>> certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder;
>> LDAP, Collection CertStores, JavaPolicy Policy; JavaLoginConfig
>> Configuration)
>> 14:56:06,915 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   82 | SunRsaSign 1.5: Sun RSA signature
>> provider
>> 14:56:06,915 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   82 | SunJSSE 1.6: Sun JSSE
>> provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
>> 14:56:06,930 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   82 | SunJCE 1.6: SunJCE Provider
>> (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE,
>> Diffie-Hellman, HMAC)
>> 14:56:06,930 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   82 | SunJGSS 1.0: Sun (Kerberos v5,
>> SPNEGO)
>> 14:56:06,930 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   82 | SunSASL 1.5: Sun SASL
>> provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL,
>> PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5)
>> 14:56:06,930 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   82 | XMLDSig 1.0: XMLDSig (DOM
>> XMLSignatureFactory; DOM KeyInfoFactory)
>> 14:56:06,930 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   82 | SunPCSC 1.6: Sun PC/SC provider
>> 14:56:06,930 | DEBUG | e/incidents/123/ | HttpClient
>> |
>> he.commons.httpclient.HttpClient   82 | SunMSCAPI 1.6: Sun's Microsoft
>> Crypto API provider
>>
>> --->>>>
>>
>> 14:56:06,946 | DEBUG | e/incidents/123/ | HttpEndpoint
>> |
>> amel.component.http.HttpEndpoint   96 | Java System Property
>> http.proxyHost
>> and http.proxyPort detected. Using http proxy host: 172.17.5.6 port: 80
>> 14:
>>
>> Regards,
>>
>> Charles Moulliard
>> Senior Enterprise Architect
>> Apache Camel Committer
>>
>> *****************************
>> blog : http://cmoulliard.blogspot.com
>> twitter : http://twitter.com/cmoulliard
>> Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>>
>> Apache Camel Group :
>> http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to