You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Ram Kurapati <ra...@labbook.com> on 2001/09/20 19:58:12 UTC

SSL - Certificates in Slide

Hi,

How do i set an attribute in the Slide Client API in order to retrieve
it as HttpServletRequest.getAttribute("..."). Because i like to get the
get the client certificate information in WebdavServlet.

Any help is appreciated.

Thanks in advance.
Rama Kurapati

Re: SSL - Certificates in Slide

Posted by Dirk Verbeeck <di...@pandora.be>.
In the current version a normal socket is used.

You have to change openConnection() in HttpClient to create a SSL socket:
    socket = SSLSocketFactory.getDefault().createSocket(this.sessionHost,
this.sessionPort);

Maybe you have to add more code to configure this socket but this is a
start.


Dirk


Ram Kurapati wrote:

> Hi,
>
> How do i set an attribute in the Slide Client API in order to retrieve
> it as HttpServletRequest.getAttribute("..."). Because i like to get the
> get the client certificate information in WebdavServlet.
>
> Any help is appreciated.
>
> Thanks in advance.
> Rama Kurapati