tuankhac / share-extras

Automatically exported from code.google.com/p/share-extras
0 stars 0 forks source link

iCalFeedDashlet: Unable to load ical url that requires http basic authentication #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Configure iCalFeedDashlet with an ical url that requires http auth

What is the expected output? What do you see instead?
Expected either an http auth prompt from the browser or a re-use of
active session's authorization header/alf ticket

Svn Revision: 282 of 
URL: http://share-extras.googlecode.com/svn/trunk/iCal%20Feed%20Dashlet

Using on Community 3.4d and testing on 3.5a (preview)

Tested in chrome, ff ie (several versions of all)

Setting log level for org.apache.commons.httpclient to debug yields the 
following:
-----
08:47:21,881 ajp-8009-14 DEBUG [commons.httpclient.HttpConnection] Open 
connection to intranet:1080
08:47:21,882 ajp-8009-14 DEBUG [commons.httpclient.HttpMethodDirector] 
Authorization required
08:47:21,883 ajp-8009-14 DEBUG [httpclient.auth.AuthChallengeProcessor] 
Supported authentication schemes in the order of preference: [ntlm, digest, 
basic]
08:47:21,883 ajp-8009-14 DEBUG [httpclient.auth.AuthChallengeProcessor] 
Challenge for ntlm authentication scheme not available
08:47:21,883 ajp-8009-14 DEBUG [httpclient.auth.AuthChallengeProcessor] 
Challenge for digest authentication scheme not available
08:47:21,883 ajp-8009-14 INFO  [httpclient.auth.AuthChallengeProcessor] basic 
authentication scheme selected
08:47:21,883 ajp-8009-14 DEBUG [httpclient.auth.AuthChallengeProcessor] Using 
authentication scheme: basic
08:47:21,883 ajp-8009-14 DEBUG [httpclient.auth.AuthChallengeProcessor] 
Authorization challenge processed
08:47:21,883 ajp-8009-14 DEBUG [commons.httpclient.HttpMethodDirector] 
Authentication scope: BASIC 'Personal Calendar'@intranet:1080
08:47:21,883 ajp-8009-14 DEBUG [commons.httpclient.HttpMethodDirector] 
Credentials required
08:47:21,883 ajp-8009-14 DEBUG [commons.httpclient.HttpMethodDirector] 
Credentials provider not available
08:47:21,883 ajp-8009-14 INFO  [commons.httpclient.HttpMethodDirector] No 
credentials available for BASIC 'Personal Calendar'@intranet:1080
08:47:21,883 ajp-8009-14 DEBUG [commons.httpclient.HttpMethodBase] Should NOT 
close connection in response to directive: keep-alive
08:47:21,883 ajp-8009-14 DEBUG [commons.httpclient.HttpConnection] Releasing 
connection back to connection manager.
08:47:21,896 ajp-8009-14 DEBUG [commons.httpclient.HttpConnection] Open 
connection to localhost:8080
08:47:21,896 ajp-8009-14 DEBUG [commons.httpclient.HttpMethodBase] Adding Host 
request header
08:47:21,900 ajp-8009-14 DEBUG [commons.httpclient.HttpMethodBase] Resorting to 
protocol version default close connection policy
08:47:21,900 ajp-8009-14 DEBUG [commons.httpclient.HttpMethodBase] Should NOT 
close connection, using HTTP/1.1
08:47:21,900 ajp-8009-14 DEBUG [commons.httpclient.HttpConnection] Releasing 
connection back to connection manager.
-----

Original issue reported on code.google.com by mukkenb...@gmail.com on 1 May 2011 at 8:24

GoogleCodeExporter commented 8 years ago
Deferred until Swift. This limitation also affects the RSS dashlet since there 
is not yet a mechanism in Share to store a username and password securely in 
the dashlet configuration.

Original comment by will.abson on 9 May 2011 at 1:57

GoogleCodeExporter commented 8 years ago
Re-classifying as an Enhancement

Original comment by will.abson on 7 Nov 2011 at 3:02

GoogleCodeExporter commented 8 years ago
Fixed in v0.2/2.0. It is now possible to specify a Surf endpoint ID (e.g. 
'alfresco') plus a path to retrieve from that endpoint. For example, the 
'swsdp' site calendar may be specified using the following 'url'.

remote:alfresco/calendar/eventList-swsdp.ics?site=swsdp&format=calendar

System admins may set up custom Surf endpoints with authentication parameters 
if needed inside their share-config-custom.xml file. This add-on may then 
utilize these endpoints to access password-protected feeds from other servers.

Original comment by will.abson on 9 Aug 2012 at 11:37