You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Mark Claassen (JIRA)" <ji...@apache.org> on 2006/09/18 18:22:22 UTC

[jira] Created: (HTTPCLIENT-601) SecureProtocolFactoryWrapper class for using the socket factory created by Java Web Start

SecureProtocolFactoryWrapper class for using the socket factory created by Java Web Start
-----------------------------------------------------------------------------------------

                 Key: HTTPCLIENT-601
                 URL: http://issues.apache.org/jira/browse/HTTPCLIENT-601
             Project: HttpComponents HttpClient
          Issue Type: New Feature
          Components: Contrib
    Affects Versions: 3.0.1
         Environment: Java 5.0, Windows XP
            Reporter: Mark Claassen


As smartcards and SSL are becoming more and more prevelant, Java Web Start has started to become better equiped to handle these situations.  When running an app within webstart, it can access the browser's keystore, which (at least in our case) accessed the users smartcard to make the SSL connection.

I wanted to start using HttpClient, but needed a way to do so while still mainaining access to the browser's keystore.

My initial tests show that getting the default socket factory from the java.net.HttpURLConnection and wrapping it in a class that implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory is sufficient.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


[jira] Resolved: (HTTPCLIENT-601) SecureProtocolFactoryWrapper class for using the socket factory created by Java Web Start

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HTTPCLIENT-601?page=all ]

Oleg Kalnichevski resolved HTTPCLIENT-601.
------------------------------------------

    Resolution: Fixed

File committed to the SVN trunk. Many thanks, Mark

Oleg

> SecureProtocolFactoryWrapper class for using the socket factory created by Java Web Start
> -----------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-601
>                 URL: http://issues.apache.org/jira/browse/HTTPCLIENT-601
>             Project: HttpComponents HttpClient
>          Issue Type: New Feature
>          Components: Contrib
>    Affects Versions: 3.0.1
>         Environment: Java 5.0, Windows XP
>            Reporter: Mark Claassen
>             Fix For: 3.1 Beta 1
>
>         Attachments: SocketFactoryWrapper.java
>
>
> As smartcards and SSL are becoming more and more prevelant, Java Web Start has started to become better equiped to handle these situations.  When running an app within webstart, it can access the browser's keystore, which (at least in our case) accessed the users smartcard to make the SSL connection.
> I wanted to start using HttpClient, but needed a way to do so while still mainaining access to the browser's keystore.
> My initial tests show that getting the default socket factory from the java.net.HttpURLConnection and wrapping it in a class that implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory is sufficient.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


[jira] Updated: (HTTPCLIENT-601) SecureProtocolFactoryWrapper class for using the socket factory created by Java Web Start

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HTTPCLIENT-601?page=all ]

Oleg Kalnichevski updated HTTPCLIENT-601:
-----------------------------------------

    Fix Version/s: 3.1 Beta 1

I think we'll happily take this code for the cotrib package. Many thanks, Mark.

Oleg

> SecureProtocolFactoryWrapper class for using the socket factory created by Java Web Start
> -----------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-601
>                 URL: http://issues.apache.org/jira/browse/HTTPCLIENT-601
>             Project: HttpComponents HttpClient
>          Issue Type: New Feature
>          Components: Contrib
>    Affects Versions: 3.0.1
>         Environment: Java 5.0, Windows XP
>            Reporter: Mark Claassen
>             Fix For: 3.1 Beta 1
>
>         Attachments: SocketFactoryWrapper.java
>
>
> As smartcards and SSL are becoming more and more prevelant, Java Web Start has started to become better equiped to handle these situations.  When running an app within webstart, it can access the browser's keystore, which (at least in our case) accessed the users smartcard to make the SSL connection.
> I wanted to start using HttpClient, but needed a way to do so while still mainaining access to the browser's keystore.
> My initial tests show that getting the default socket factory from the java.net.HttpURLConnection and wrapping it in a class that implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory is sufficient.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


[jira] Updated: (HTTPCLIENT-601) SecureProtocolFactoryWrapper class for using the socket factory created by Java Web Start

Posted by "Mark Claassen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HTTPCLIENT-601?page=all ]

Mark Claassen updated HTTPCLIENT-601:
-------------------------------------

    Attachment: SocketFactoryWrapper.java

> SecureProtocolFactoryWrapper class for using the socket factory created by Java Web Start
> -----------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-601
>                 URL: http://issues.apache.org/jira/browse/HTTPCLIENT-601
>             Project: HttpComponents HttpClient
>          Issue Type: New Feature
>          Components: Contrib
>    Affects Versions: 3.0.1
>         Environment: Java 5.0, Windows XP
>            Reporter: Mark Claassen
>         Attachments: SocketFactoryWrapper.java
>
>
> As smartcards and SSL are becoming more and more prevelant, Java Web Start has started to become better equiped to handle these situations.  When running an app within webstart, it can access the browser's keystore, which (at least in our case) accessed the users smartcard to make the SSL connection.
> I wanted to start using HttpClient, but needed a way to do so while still mainaining access to the browser's keystore.
> My initial tests show that getting the default socket factory from the java.net.HttpURLConnection and wrapping it in a class that implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory is sufficient.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


[jira] Commented: (HTTPCLIENT-601) SecureProtocolFactoryWrapper class for using the socket factory created by Java Web Start

Posted by "Roland Weber (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HTTPCLIENT-601?page=comments#action_12435550 ] 
            
Roland Weber commented on HTTPCLIENT-601:
-----------------------------------------

I think so, too. Thanks Mark!


> SecureProtocolFactoryWrapper class for using the socket factory created by Java Web Start
> -----------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-601
>                 URL: http://issues.apache.org/jira/browse/HTTPCLIENT-601
>             Project: HttpComponents HttpClient
>          Issue Type: New Feature
>          Components: Contrib
>    Affects Versions: 3.0.1
>         Environment: Java 5.0, Windows XP
>            Reporter: Mark Claassen
>             Fix For: 3.1 Beta 1
>
>         Attachments: SocketFactoryWrapper.java
>
>
> As smartcards and SSL are becoming more and more prevelant, Java Web Start has started to become better equiped to handle these situations.  When running an app within webstart, it can access the browser's keystore, which (at least in our case) accessed the users smartcard to make the SSL connection.
> I wanted to start using HttpClient, but needed a way to do so while still mainaining access to the browser's keystore.
> My initial tests show that getting the default socket factory from the java.net.HttpURLConnection and wrapping it in a class that implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory is sufficient.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org