diff options
author | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | 2016-08-05 17:44:25 +0200 |
---|---|---|
committer | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | 2016-08-05 18:12:50 +0000 |
commit | ecba128020572966a161899083b7147e2adc5766 (patch) | |
tree | e4de5a9c23f2de357f32ca1ec9b72d19cf6d2c8b /include/comphelper/stillreadwriteinteraction.hxx | |
parent | 91cad2de121a10c470b30832ac28597bdffd7101 (diff) |
Fix certificate validation interaction
This enables the certificate validation when
StillReadWriteInteraction::StillReadWriteInteraction interaction
handler is used.
Certificate validation is needed for Web/WebDAV files.
Change-Id: I38cba9fc8b586953477d7df02acfcc8347603220
Reviewed-on: https://gerrit.libreoffice.org/27914
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
Diffstat (limited to 'include/comphelper/stillreadwriteinteraction.hxx')
-rw-r--r-- | include/comphelper/stillreadwriteinteraction.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/comphelper/stillreadwriteinteraction.hxx b/include/comphelper/stillreadwriteinteraction.hxx index 95d9bb5ed187..dcad7609760a 100644 --- a/include/comphelper/stillreadwriteinteraction.hxx +++ b/include/comphelper/stillreadwriteinteraction.hxx @@ -34,6 +34,7 @@ private: static const sal_Int32 HANDLE_INTERACTIVEIOEXCEPTION = 0; static const sal_Int32 HANDLE_UNSUPPORTEDDATASINKEXCEPTION = 1; static const sal_Int32 HANDLE_AUTHENTICATIONREQUESTEXCEPTION = 2; + static const sal_Int32 HANDLE_CERTIFICATEVALIDATIONREQUESTEXCEPTION = 3; bool m_bUsed; bool m_bHandledByMySelf; @@ -41,14 +42,14 @@ private: public: StillReadWriteInteraction(const css::uno::Reference< css::task::XInteractionHandler >& xHandler, - const css::uno::Reference< css::task::XInteractionHandler >& xAuthenticationHandler); + const css::uno::Reference< css::task::XInteractionHandler >& xAuxiliaryHandler); void resetInterceptions(); void resetErrorStates(); bool wasWriteError() { return (m_bUsed && m_bHandledByMySelf);} private: - css::uno::Reference< css::task::XInteractionHandler > m_xAuthenticationHandler; + css::uno::Reference< css::task::XInteractionHandler > m_xAuxiliaryHandler; virtual ucbhelper::InterceptedInteraction::EInterceptionState intercepted(const ::ucbhelper::InterceptedInteraction::InterceptedRequest& aRequest, const css::uno::Reference< css::task::XInteractionRequest >& xRequest) override; |