[Issue 127680] webdav https client certificate .p12

2019-07-22 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127680

Keith N. McKenna  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED
 CC||k...@apache.org

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127680] webdav https client certificate .p12

2019-07-22 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127680

oooforum (fr)  changed:

   What|Removed |Added

 Resolution|--- |IRREPRODUCIBLE
 Status|UNCONFIRMED |RESOLVED

--- Comment #4 from oooforum (fr)  ---
No news from OP since +1 yr.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127680] webdav https client certificate .p12

2019-02-10 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127680

--- Comment #3 from oooforum (fr)  ---
Did you have an error when you save directly with File > Save as menu?

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127680] webdav https client certificate .p12

2018-02-12 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127680

--- Comment #2 from c...@cidimu.it ---

Thank you for the reply , i know it's outdated but that's not the problem.
The Issue is how macro handles the saving trough https/webdav , Anyway i tried
but it doesnt work.

I found a way for handling authentication with 
"com.sun.star.task.XInteractionHandler2" and
"com.sun.star.ucb.URLAuthenticationRequest"

see https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=66160


Sub SaveFile

Dim Doc As Object
Dim Url As  String
Dim oihandler 
oihandler = CreateUnoListener("InteractionHandler_",
"com.sun.star.task.XInteractionHandler2")
Dim FileProp(1) As New com.sun.star.beans.PropertyValue 

Url = "https://192.168.147.128/webdav/test.sxw";
Url = ConvertToUrl(Url)
FileProp(0).Name = "Overwrite"
FileProp(0).Value = True
FileProp(1).Name = "InteractionHandler"
FileProp(1).Value = oihandler
Doc = Stardesktop.CurrentComponent
Doc.storeAsURL(Url, FileProp())
End Sub



Sub InteractionHandler_handle(req)
  r = req.getRequest()
  If CheckExceptionType(r, "com.sun.star.ucb.URLAuthenticationRequest") Then
conts = req.getContinuations()   
for i = 0 to ubound(conts) step 1
  cont = conts(i)
  If HasUnoInterfaces(cont,
"com.sun.star.ucb.XInteractionSupplyAuthentication") Then  
cont.setUserName("username") 
cont.setPassword(InputVal)
cont.select()
Exit For 
  End If
Next i  
  End If
End Sub


So the problem here is to understand if i can use a certificate for client
Authentication combined with the password supplied by the the user.

Is there any exhaustive documentation on this interfaces ?

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127680] webdav https client certificate .p12

2018-02-11 Thread bugzilla
https://bz.apache.org/ooo/show_bug.cgi?id=127680

oooforum (fr)  changed:

   What|Removed |Added

 CC||ooofo...@free.fr

--- Comment #1 from oooforum (fr)  ---
Why saving in SXW? This format is outdated.
Use ODT and test if the problem still occurs.

-- 
You are receiving this mail because:
You are the assignee for the issue.