Problem with SSL

Discussion in 'Java' started by Nikhil, Apr 25, 2007.

  1. Nikhil

    Nikhil Guest

    Hi,
    I am trying to develop an email client which will be able to send mail
    from more than one email accounts.
    The problem is that I am facing is that one mail account requires SSL
    and one does not.
    I am adding the security provider using the following statement:

    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());

    Now, how do I remove this provider?Because the
    Seutrity.removeProvider(String)
    function requires a String specifying the name of the provider which I
    don't have.
    Please help me.

    thanks.
     
    Nikhil, Apr 25, 2007
    #1
    1. Advertising

  2. Nikhil

    Esmond Pitt Guest

    Nikhil wrote:

    > Now, how do I remove this provider?Because the
    > Seutrity.removeProvider(String)
    > function requires a String specifying the name of the provider which I
    > don't have.


    You don't have to remove the provider at all, and you don't even have to
    add it since 1.4. See the current JSSE Reference Guide in the JDK/Guide
    to Features/Security.
     
    Esmond Pitt, Apr 25, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. 620
    Replies:
    2
    Views:
    1,038
    Murat Tunaboylu
    Jan 6, 2004
  2. CW
    Replies:
    2
    Views:
    544
  3. Matti Kiviharju

    Problem with SSL (Newbie with SSL)

    Matti Kiviharju, Jan 14, 2005, in forum: HTML
    Replies:
    0
    Views:
    408
    Matti Kiviharju
    Jan 14, 2005
  4. Robert
    Replies:
    2
    Views:
    2,010
    Robert
    Jun 10, 2004
  5. Replies:
    1
    Views:
    276
    Brian Candler
    May 16, 2007
Loading...

Share This Page