You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by lh...@apache.org on 2009/02/18 21:48:04 UTC
svn commit: r745643 - in
/servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main:
java/org/apache/geronimo/javamail/provider/ resources/META-INF/
resources/META-INF/services/
Author: lhein
Date: Wed Feb 18 20:48:03 2009
New Revision: 745643
URL: http://svn.apache.org/viewvc?rev=745643&view=rev
Log:
fixed missing IMAP / IMAPS protocol support
see SMXCOMP-456
Added:
servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPProvider.java (with props)
servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPSProvider.java (with props)
servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/default.address.map (with props)
servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.charset.map (with props)
servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.default.address.map (with props)
servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/mailcap (with props)
servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/imap (with props)
servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/imaps (with props)
servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/org.apache.geronimo.javamail.store.imap.IMAPSSLStore (with props)
servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/org.apache.geronimo.javamail.store.imap.IMAPStore (with props)
Modified:
servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.default.providers
Added: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPProvider.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPProvider.java?rev=745643&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPProvider.java (added)
+++ servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPProvider.java Wed Feb 18 20:48:03 2009
@@ -0,0 +1,32 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.javamail.provider;
+
+import javax.mail.Provider;
+
+
+public class IMAPProvider extends Provider {
+
+ public IMAPProvider() {
+ super(Type.STORE,
+ "imap",
+ "org.apache.geronimo.javamail.store.imap.IMAPStore",
+ "Apache Software Foundation",
+ "1.0");
+ }
+
+}
Propchange: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPProvider.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPProvider.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPSProvider.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPSProvider.java?rev=745643&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPSProvider.java (added)
+++ servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPSProvider.java Wed Feb 18 20:48:03 2009
@@ -0,0 +1,32 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.javamail.provider;
+
+import javax.mail.Provider;
+
+
+public class IMAPSProvider extends Provider {
+
+ public IMAPSProvider() {
+ super(Type.STORE,
+ "imaps",
+ "org.apache.geronimo.javamail.store.imap.IMAPSSLStore",
+ "Apache Software Foundation",
+ "1.0");
+ }
+
+}
Propchange: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPSProvider.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/java/org/apache/geronimo/javamail/provider/IMAPSProvider.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/default.address.map
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/default.address.map?rev=745643&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/default.address.map (added)
+++ servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/default.address.map Wed Feb 18 20:48:03 2009
@@ -0,0 +1,26 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+
+##
+## $Rev: 438769 $ $Date: 2006-08-30 21:03:44 -0700 (Wed, 30 Aug 2006) $
+##
+
+# only the single mapping for smtp is defined.
+rfc822=smtp
+
Propchange: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/default.address.map
------------------------------------------------------------------------------
svn:executable = *
Added: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.charset.map
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.charset.map?rev=745643&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.charset.map (added)
+++ servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.charset.map Wed Feb 18 20:48:03 2009
@@ -0,0 +1,78 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+
+##
+## $Rev: 438769 $ $Date: 2006-08-30 21:03:44 -0700 (Wed, 30 Aug 2006) $
+##
+
+### Character set mapping table loaded and used by the javax.mail.internet.MimeUtility class.
+
+### java character sets to MIME character set map. This must be the first table.
+
+8859_1 ISO-8859-1
+iso8859_1 ISO-8859-1
+
+8859_2 ISO-8859-2
+iso8859_2 ISO-8859-2
+
+8859_3 ISO-8859-3
+iso8859_3 ISO-8859-3
+
+8859_4 ISO-8859-4
+iso8859_4 ISO-8859-4
+
+8859_5 ISO-8859-5
+iso8859_5 ISO-8859-5
+
+8859_6 ISO-8859-6
+iso8859_6 ISO-8859-6
+
+8859_7 ISO-8859-7
+iso8859_7 ISO-8859-7
+
+8859_8 ISO-8859-8
+iso8859_8 ISO-8859-8
+
+8859_9 ISO-8859-9
+iso8859_9 ISO-8859-9
+
+SJIS Shift_JIS
+MS932 Shift_JIS
+JIS ISO-2022-JP
+ISO2022JP ISO-2022-JP
+EUC_JP euc-jp
+KOI8_R koi8-r
+EUC_CN euc-cn
+EUC_TW euc-tw
+EUC_KR euc-kr
+
+--Table terminator. The "--" at the beginning and end are required --
+
+#### MIME to java character set map
+
+iso-2022-cn ISO2022CN
+iso-2022-kr ISO2022KR
+utf-8 UTF8
+utf8 UTF8
+ja_jp.iso2022-7 ISO2022JP
+ja_jp.eucjp EUCJIS
+euc-kr KSC5601
+euckr KSC5601
+us-ascii ISO-8859-1
+x-us-ascii ISO-8859-1
Propchange: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.charset.map
------------------------------------------------------------------------------
svn:executable = *
Added: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.default.address.map
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.default.address.map?rev=745643&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.default.address.map (added)
+++ servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.default.address.map Wed Feb 18 20:48:03 2009
@@ -0,0 +1,34 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+
+##
+## $Rev: 437934 $ $Date: 2006-08-28 20:27:42 -0700 (Mon, 28 Aug 2006) $
+##
+
+#
+# This file configures the default behaviour of JavaMail. DO NOT EDIT.
+# Create a new file /META-INF/javamail.address.map and put
+# the same format lines in there.
+#
+# Note that you can't override these defaults, merely add to them.
+#
+# $Rev: 351866 $ $Date: 2005-12-02 20:12:14 -0500 (Fri, 02 Dec 2005) $
+#
+rfc822=smtp
+news=nntp
Propchange: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.default.address.map
------------------------------------------------------------------------------
svn:executable = *
Modified: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.default.providers
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.default.providers?rev=745643&r1=745642&r2=745643&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.default.providers (original)
+++ servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/javamail.default.providers Wed Feb 18 20:48:03 2009
@@ -31,8 +31,14 @@
# $Rev: 398634 $ $Date: 2006-05-01 12:56:06 -0400 (Mon, 01 May 2006) $
#
protocol=smtp; type=transport; class=org.apache.geronimo.javamail.transport.smtp.SMTPTransport; vendor=Apache Software Foundation; version=1.0
-protocol=smtps; type=transport; class=org.apache.geronimo.javamail.transport.smtp.SMTPSTransport; vendor=Apache Software Foundation; version=1.0
+protocol=smtps; type=transport; class=org.apache.geronimo.javamail.transport.smtp.SMTPTSransport; vendor=Apache Software Foundation; version=1.0
protocol=nntp-post; type=transport; class=org.apache.geronimo.javamail.transport.nntp.NNTPTransport; vendor=Apache Software Foundation; version=1.0
+protocol=nntp-posts; type=transport; class=org.apache.geronimo.javamail.transport.nntp.NNTPSSLTransport; vendor=Apache Software Foundation; version=1.0
protocol=nntp; type=store; class=org.apache.geronimo.javamail.store.nntp.NNTPStore; vendor=Apache Software Foundation; version=1.0
+protocol=nntps; type=store; class=org.apache.geronimo.javamail.store.nntp.NNTPSSLStore; vendor=Apache Software Foundation; version=1.0
protocol=pop3; type=store; class=org.apache.geronimo.javamail.store.pop3.POP3Store; vendor=Apache Software Foundation; version=1.0
+protocol=pop3s; type=store; class=org.apache.geronimo.javamail.store.pop3.POP3SSLStore; vendor=Apache Software Foundation; version=1.0
+protocol=imap; type=store; class=org.apache.geronimo.javamail.store.imap.IMAPStore; vendor=Apache Software Foundation; version=1.0
+protocol=imaps; type=store; class=org.apache.geronimo.javamail.store.imap.IMAPSSLStore; vendor=Apache Software Foundation; version=1.0
+
Added: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/mailcap
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/mailcap?rev=745643&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/mailcap (added)
+++ servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/mailcap Wed Feb 18 20:48:03 2009
@@ -0,0 +1,27 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+##
+## $Rev$ $Date$
+##
+
+text/plain;; x-java-content-handler=org.apache.geronimo.javamail.handlers.TextPlainHandler
+text/html;; x-java-content-handler=org.apache.geronimo.javamail.handlers.TextHtmlHandler
+text/xml;; x-java-content-handler=org.apache.geronimo.javamail.handlers.TextXmlHandler
+
+image/gif;; x-java-content-handler=org.apache.geronimo.javamail.handlers.ImageGifHandler
+image/jpeg;; x-java-content-handler=org.apache.geronimo.javamail.handlers.ImageJpegHandler
+
+multipart/*;; x-java-content-handler=org.apache.geronimo.javamail.handlers.MultipartHandler
Propchange: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/mailcap
------------------------------------------------------------------------------
svn:executable = *
Added: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/imap
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/imap?rev=745643&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/imap (added)
+++ servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/imap Wed Feb 18 20:48:03 2009
@@ -0,0 +1 @@
+org.apache.geronimo.javamail.provider.IMAPProvider
\ No newline at end of file
Propchange: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/imap
------------------------------------------------------------------------------
svn:executable = *
Added: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/imaps
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/imaps?rev=745643&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/imaps (added)
+++ servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/imaps Wed Feb 18 20:48:03 2009
@@ -0,0 +1 @@
+org.apache.geronimo.javamail.provider.IMAPSProvider
\ No newline at end of file
Propchange: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/imaps
------------------------------------------------------------------------------
svn:executable = *
Added: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/org.apache.geronimo.javamail.store.imap.IMAPSSLStore
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/org.apache.geronimo.javamail.store.imap.IMAPSSLStore?rev=745643&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/org.apache.geronimo.javamail.store.imap.IMAPSSLStore (added)
+++ servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/org.apache.geronimo.javamail.store.imap.IMAPSSLStore Wed Feb 18 20:48:03 2009
@@ -0,0 +1 @@
+org.apache.geronimo.javamail.store.imap.IMAPSSLStore
Propchange: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/org.apache.geronimo.javamail.store.imap.IMAPSSLStore
------------------------------------------------------------------------------
svn:executable = *
Added: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/org.apache.geronimo.javamail.store.imap.IMAPStore
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/org.apache.geronimo.javamail.store.imap.IMAPStore?rev=745643&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/org.apache.geronimo.javamail.store.imap.IMAPStore (added)
+++ servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/org.apache.geronimo.javamail.store.imap.IMAPStore Wed Feb 18 20:48:03 2009
@@ -0,0 +1 @@
+org.apache.geronimo.javamail.store.imap.IMAPStore
Propchange: servicemix/smx4/bundles/trunk/geronimo-javamail_1.4_provider/src/main/resources/META-INF/services/org.apache.geronimo.javamail.store.imap.IMAPStore
------------------------------------------------------------------------------
svn:executable = *