http proxy for ticket validator requests ?
Robert Oschwald
robertoschwald at yahoo.de
Thu Dec 4 00:49:08 EST 2008
I think this is something for the CASUM wiki.
Robert
Am 01.12.2008 um 09:34 schrieb Stéphane Gully:
> I solved my problem by adding:
> -Dhttps.proxyHost=proxyout.inist.fr -Dhttps.proxyPort=8080
> (the CAS ticket validator url was in HTTPS...)
>
> regards,
> Stéphane Gully
>
>
> On Thu, Nov 27, 2008 at 10:32 AM, Stéphane Gully
> <stephane.gully at gmail.com> wrote:
>> Hello,
>>
>> I try to setup java cas-client 3.1.3 behind a firewall that blocks
>> all
>> output trafic (especially, the http(s) request to the Internet). We
>> have a
>> http(s) proxy that could be used to access the Internet.
>>
>> So, without using this http proxy, when my cas client try to verify
>> the
>> ticket, I got this error:
>>
>> 09:50:21.850 - ERROR
>> [org.jasig.cas.client.validation.Cas20ServiceTicketValidator:49] -
>> java.net.NoRouteToHostException: No route to host
>> java.net.NoRouteToHostException: No route to host
>> at java.net.PlainSocketImpl.socketConnect(Native Method)
>> [na:1.5.0_16]
>> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:
>> 333)
>> [na:1.5.0_16]
>> at
>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>> [na:1.5.0_16]
>> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>> [na:1.5.0_16]
>> ...
>>
>>
>> I tried to define http proxy when starting my java application using
>> "-Dhttp.proxyHost=proxyout.inist.fr -Dhttp.proxyPort=8080" but it
>> seams to
>> be ignored.
>>
>> Any help is very welcomed.
>> regards,
>> Stéphane Gully
>>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
More information about the cas
mailing list