summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav/NeonSession.hxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-11-07 09:03:57 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-11-07 09:03:57 +0000
commitb67f3489af753f0ecc329fc88db8aaf43a2a3c77 (patch)
tree8e2217b109290df94828b6203dc6b640afcd5a42 /ucb/source/ucp/webdav/NeonSession.hxx
parent7f6b9018bc657d12aaa421d6b034ed244b6d3029 (diff)
INTEGRATION: CWS tkr05_SRC680 (1.28.18); FILE MERGED
2007/11/02 09:48:58 tkr 1.28.18.2: #83234# host name mismatch 2007/09/20 11:01:16 tkr 1.28.18.1: #i31053#: WebDAV HTTPS Support
Diffstat (limited to 'ucb/source/ucp/webdav/NeonSession.hxx')
-rw-r--r--ucb/source/ucp/webdav/NeonSession.hxx20
1 files changed, 18 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav/NeonSession.hxx b/ucb/source/ucp/webdav/NeonSession.hxx
index d81eacf6d65e..b8be3024c487 100644
--- a/ucb/source/ucp/webdav/NeonSession.hxx
+++ b/ucb/source/ucp/webdav/NeonSession.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: NeonSession.hxx,v $
*
- * $Revision: 1.28 $
+ * $Revision: 1.29 $
*
- * last change: $Author: rt $ $Date: 2007-07-03 12:13:43 $
+ * last change: $Author: rt $ $Date: 2007-11-07 10:03:57 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -48,6 +48,11 @@
#ifndef _NEONTYPES_HXX_
#include "NeonTypes.hxx"
#endif
+#ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_
+#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#endif
+
+using namespace com::sun::star;
namespace ucbhelper { class ProxyDecider; }
@@ -232,8 +237,16 @@ class NeonSession : public DAVSession
// helpers
const rtl::OUString & getHostName() const { return m_aHostName; }
+ const ::uno::Reference< ::lang::XMultiServiceFactory > getMSF() { return m_xFactory->getServiceFactory(); }
+
+
+ static bool isCertificate( const ::rtl::OUString & url, const ::rtl::OUString & certificate_name );
+ static void rememberCertificate( const ::rtl::OUString & url, const ::rtl::OUString & certificate_name );
+
const void * getRequestData() const { return m_pRequestData; }
+ sal_Bool isDomainMatch( rtl::OUString certHostName );
+
private:
// Initialise "Neon sockets"
void Init( void )
@@ -278,6 +291,9 @@ class NeonSession : public DAVSession
com::sun::star::io::XInputStream > & xStream,
com::sun::star::uno::Sequence< sal_Int8 > & rData,
bool bAppendTrailingZeroByte );
+
+ typedef std::map< ::rtl::OUString, ::rtl::OUString > Map;
+ static Map certMap;
};
} // namespace_ucp