[android-developers] Re: Exchange Server Support
It appears the Big hurdle right now... is a bug in org.apache.harmonyx, which is completely stalling my progress... I cannot seem to find a work-around for a non-root ssl cert. In the meantime, Im setting up a local exchange server, that i can disable ssl on... so i can get on to the heart of this project =P at that point, whenever the bug in harmonyX gets fixed... it should just work =P On Nov 13, 11:03 pm, davin_thompson [EMAIL PROTECTED] wrote: Im about to have a look into that one, and see how he got past the hurdle im currently stuck on. it seems that java.net has NTLM authentication, but has no way to implment propfind and search requests. org.apache.http is extensable, and i have propfind and search working there, but no NTLM. Once i get past that hurdle, the rest of it should just be a porting job On Nov 13, 4:21 am, Timbobsteve [EMAIL PROTECTED] wrote: I am currently looking @ another OpenSource project called ExchangeIt (available in the Market). Brian has got the beginnings of a Java WebDAV connection happening on Android. I am going to review the code and see where we can go from there. Hopefully, depending on time, Brian will also come on-board if we get project off the ground. FYI, source is @http://code.google.com/p/exchangeit Regards, Timbobsteve davin_thompson wrote: Unfortunatly... Im not very good with with java... but I'm working on it. However, prepairing for this project, I have written anexchange webdav client in php, so I solidly have the concept. Hopefully, in a few days, i'll have something working in java (so far I've made it to a basic http request =P). Wish me luck, and i'll share my results On Oct 17, 11:12 am, Timbobsteve [EMAIL PROTECTED] wrote: Hi Zero, For what it's worth I can supply my time and effort to anExchangeclient/library. From what I can see most of the opensource stuff on MAPI is limited toExchange2000. Most other implementations accessExchangethrough Outlook Web Access (OWA) + WebDAV. I will read up on using WebDAV and then we can look into getting an Android WebDAV client library in place. I'm not the best programmer, but everyone starts somewhere right? Cheers. zero wrote:if there would be a group of developers willing to build an opensource implementation of MAPI for java, i'd be happy to contribute. but it's way to huge to tackle it alone. at least, for me. there's propably a few other ways, like webdav, to connect toexchange, but they differ in stability, and clearly an opensource mapi implementation would be way more elegant. zero openintents.org zeroblog.exu-mobile.com On Oct 17, 1:20 pm, Timbobsteve[EMAIL PROTECTED]wrote:Hi All, This isn't another thread asking ifexchangeserver is supported on Android... so don't worry :P I just wanted to start a dialog with other developers about how to possibly tackle the MSExchangesupport issues on Android. I'm not the best coder in the world, so I can't really provide example code or anything, but this is more of a discussion-type thread. From what I can tell, my iPhone uses WebDAV to connect toExchangeto get mail (correct me if I'm wrong). So I started looking @ opensource implementations of Java WebDAV clients and came across Apache SLIDE Server and Client. Unfortunately Slide has been discontinued. There is not that it was replaced by Apache JackRabbit, but from what I can see JackRabbit is a Server implementation of WebDAV technologies. I was also searching for Java MAPI support, but a lot of the MAPI APIs for Java are closed-source and licensed... which is not good IMHO. What other options forexchangesupport do people see? Do you think it is a worthwhile pursuit? Do you think it will happen and will it be a paid-for product on AndroidMarket, or will someone make an open-source client? There is a lot of reading to be done on WebDAV and how it integrates intoExchange... so I am going to start doing some reading. Feel free to share your ideas and thoughts.- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to import a new CA certificate
Having a very similar issue... I really think we need to create some form of a global keystore import app idealy... or, fix the AllowAllHostnameVerifier() method at least. Im still digging to try to make a successfully connection on an invalid cert... On Oct 20, 3:59 am, vel [EMAIL PROTECTED] wrote: Here is a way to configure to the SSLContext TrustManager[] trustAllCerts = new TrustManager[] { new X509TrustManager() { public java.security.cert.X509Certificate[] getAcceptedIssuers() { return acceptedIssuers; } public void checkClientTrusted( java.security.cert.X509Certificate[] certs, String authType ) { } public void checkServerTrusted( java.security.cert.X509Certificate[] certs, String authType ) { } } }; // Install the all-trusting trust manager try { sc = SSLContext.getInstance( TLS ); sc.init( null, trustAllCerts, new java.security.SecureRandom() ); HttpsURLConnection.setDefaultSSLSocketFactory( sc.getSocketFactory() ); } catch( Exception e ) { e.printStackTrace(); } Still i am not able to connect to any https connection even though checkServerTrusted method is called... java.io.IOException: Hostname sample.test.com was not verified can any one help me On Sep 24, 4:45 am, Megha Joshi [EMAIL PROTECTED] wrote: It is recommended to build an application-specific keystore with only the needed certificate(s) in it. If you have a specific server certificate you want to trust, even if it isn't part of a complete chain, put in into this store. Same for client certificates that might be need for authenticating the client. In the client application, configure the SSLContext appropriately. You could point either the key manager or the trust manager to your application store. There's a method that allows to load the keystore contents from a stream. 2008/9/8 maennel [EMAIL PROTECTED] Hi all, I am trying to connect with Android to a server which I develop myself. Now it should be possible to connect to that server using an encrypted connection (namely HTTPS). As I do not use this application in a commercial way I don't want to invest money to buy a real certificate. So, I try to test the system using a test certificate from thawte on server side. What happens: Because the CA that signed this test certificate is not stored on Android, it simply rejects the certificate and does not connect to the server by stopping the handshake procedure by a TCP-Fin-Ack. I tried to connect to other, public secured servers and there the connection is established without any problem (tests done with HttpClient and HttpMethod). Is there any possibility to add the two certificates (test intermediate CA test root CA) to the Android keystore in order to have an effect as if the certificate I use was a real one? Or does anybody knows if there are other possibilities to connect to test servers? Thank you for responding, maennel- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Exchange Server Support
Im about to have a look into that one, and see how he got past the hurdle im currently stuck on. it seems that java.net has NTLM authentication, but has no way to implment propfind and search requests. org.apache.http is extensable, and i have propfind and search working there, but no NTLM. Once i get past that hurdle, the rest of it should just be a porting job On Nov 13, 4:21 am, Timbobsteve [EMAIL PROTECTED] wrote: I am currently looking @ another OpenSource project called ExchangeIt (available in the Market). Brian has got the beginnings of a Java WebDAV connection happening on Android. I am going to review the code and see where we can go from there. Hopefully, depending on time, Brian will also come on-board if we get project off the ground. FYI, source is @http://code.google.com/p/exchangeit Regards, Timbobsteve davin_thompson wrote: Unfortunatly... Im not very good with with java... but I'm working on it. However, prepairing for this project, I have written anexchange webdav client in php, so I solidly have the concept. Hopefully, in a few days, i'll have something working in java (so far I've made it to a basic http request =P). Wish me luck, and i'll share my results On Oct 17, 11:12 am, Timbobsteve [EMAIL PROTECTED] wrote: Hi Zero, For what it's worth I can supply my time and effort to anExchangeclient/library. From what I can see most of the opensource stuff on MAPI is limited toExchange2000. Most other implementations accessExchangethrough Outlook Web Access (OWA) + WebDAV. I will read up on using WebDAV and then we can look into getting an Android WebDAV client library in place. I'm not the best programmer, but everyone starts somewhere right? Cheers. zero wrote:if there would be a group of developers willing to build an opensource implementation of MAPI for java, i'd be happy to contribute. but it's way to huge to tackle it alone. at least, for me. there's propably a few other ways, like webdav, to connect toexchange, but they differ in stability, and clearly an opensource mapi implementation would be way more elegant. zero openintents.org zeroblog.exu-mobile.com On Oct 17, 1:20 pm, Timbobsteve[EMAIL PROTECTED]wrote:Hi All, This isn't another thread asking ifexchangeserver is supported on Android... so don't worry :P I just wanted to start a dialog with other developers about how to possibly tackle the MSExchangesupport issues on Android. I'm not the best coder in the world, so I can't really provide example code or anything, but this is more of a discussion-type thread. From what I can tell, my iPhone uses WebDAV to connect toExchangeto get mail (correct me if I'm wrong). So I started looking @ opensource implementations of Java WebDAV clients and came across Apache SLIDE Server and Client. Unfortunately Slide has been discontinued. There is not that it was replaced by Apache JackRabbit, but from what I can see JackRabbit is a Server implementation of WebDAV technologies. I was also searching for Java MAPI support, but a lot of the MAPI APIs for Java are closed-source and licensed... which is not good IMHO. What other options forexchangesupport do people see? Do you think it is a worthwhile pursuit? Do you think it will happen and will it be a paid-for product on AndroidMarket, or will someone make an open-source client? There is a lot of reading to be done on WebDAV and how it integrates intoExchange... so I am going to start doing some reading. Feel free to share your ideas and thoughts.- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Exchange Server Support
Unfortunatly... Im not very good with with java... but I'm working on it. However, prepairing for this project, I have written an exchange webdav client in php, so I solidly have the concept. Hopefully, in a few days, i'll have something working in java (so far I've made it to a basic http request =P). Wish me luck, and i'll share my results On Oct 17, 11:12 am, Timbobsteve [EMAIL PROTECTED] wrote: Hi Zero, For what it's worth I can supply my time and effort to an Exchange client/library. From what I can see most of the opensource stuff on MAPI is limited to Exchange 2000. Most other implementations access Exchange through Outlook Web Access (OWA) + WebDAV. I will read up on using WebDAV and then we can look into getting an Android WebDAV client library in place. I'm not the best programmer, but everyone starts somewhere right? Cheers. zero wrote:if there would be a group of developers willing to build an opensource implementation of MAPI for java, i'd be happy to contribute. but it's way to huge to tackle it alone. at least, for me. there's propably a few other ways, like webdav, to connect to exchange, but they differ in stability, and clearly an opensource mapi implementation would be way more elegant. zero openintents.org zeroblog.exu-mobile.com On Oct 17, 1:20 pm, Timbobsteve[EMAIL PROTECTED]wrote:Hi All, This isn't another thread asking if exchange server is supported on Android... so don't worry :P I just wanted to start a dialog with other developers about how to possibly tackle the MS Exchange support issues on Android. I'm not the best coder in the world, so I can't really provide example code or anything, but this is more of a discussion-type thread. From what I can tell, my iPhone uses WebDAV to connect to Exchange to get mail (correct me if I'm wrong). So I started looking @ opensource implementations of Java WebDAV clients and came across Apache SLIDE Server and Client. Unfortunately Slide has been discontinued. There is not that it was replaced by Apache JackRabbit, but from what I can see JackRabbit is a Server implementation of WebDAV technologies. I was also searching for Java MAPI support, but a lot of the MAPI APIs for Java are closed-source and licensed... which is not good IMHO. What other options for exchange support do people see? Do you think it is a worthwhile pursuit? Do you think it will happen and will it be a paid-for product on AndroidMarket, or will someone make an open-source client? There is a lot of reading to be done on WebDAV and how it integrates into Exchange... so I am going to start doing some reading. Feel free to share your ideas and thoughts. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---