[ 
https://issues.apache.org/activemq/browse/CAMEL-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-3056.
--------------------------------

         Assignee: Claus Ibsen
    Fix Version/s: 2.5.0
       Resolution: Fixed

Thanks I have updated the documentation.
https://cwiki.apache.org/confluence/display/CAMEL/Mail

> dummyTrustManager does not work as described
> --------------------------------------------
>
>                 Key: CAMEL-3056
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3056
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-mail
>    Affects Versions: 2.4.0
>         Environment: Snow Leopard, JDK 1.6, 
>            Reporter: Drew Varner
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> The documentation for the Mail component (http://camel.apache.org/mail.html) 
> indicates that the {{dummyTrustManager}} option will allow you to skip over 
> the certificate check. Using that option in a Mail component's URI results in:
> {quote}
> Caused by: java.io.IOException: Couldn't connect using SSL socket factory 
> class null to host, port: my.email.server.com, -1; Exception: 
> java.lang.ClassNotFoundException: 
> org.apache.camel.component.mail.security.DummySSLSocketFactory
>       at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:216)
>       at com.sun.mail.iap.Protocol.<init>(Protocol.java:109)
>       at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:104)
>       at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:585)
>       ... 13 more
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.camel.component.mail.security.DummySSLSocketFactory
> {quote}
> This is because of a decision made in CAMEL-1215 to move it to test. I think 
> the documentation implies that this is a tool you could use (cautiously) in 
> the development phase, and shouldn't be restricted to the unit tests. Either 
> way, the class needs to be moved back into {{camel-mail.jar}} or the 
> documentation needs to remove this option.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to