Hi Roland,
Change to "new AuthScope("www.foo.com", 443)" as
suggested by you it worked! Thanks so much
I have second question :)
We have implemented SSO with SiteMinder
User authenticated and logon to the main site, user
can click on the other links (via href) from the main
site which is also protected by siteminder but without
having to authenticated again.
We would like to use httpclient to connect to the
other links from the main site, how do I tell
httpclient to use the existing session information
from the main site to avoid SiteMinder authentication
again. Thanks for your time
Regards
Wilson
--- Roland Weber <[EMAIL PROTECTED]> wrote:
> Hello Wilson,
>
> > hc.getState().setCredentials(new
> > AuthScope("https://www.foo.com/apps", 443),
>
> That authentication scope does not make any sense.
> Please read the JavaDocs:
>
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/auth/AuthScope.html
>
> What you are passing as "host" is not a host at all.
> Either register the default credentials with scope
> AuthScope.ANY or use the constructor correctly:
> new AuthScope("www.foo.com", 443)
>
> hope that helps,
> Roland
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]