I'm using external authentication with Share and am logging a user in via a filter. You can see a skeleton version of the filter here:http://stackoverflow.com/questions/7517122/alfresco-sso-with-cookieHowever, I've noticed that when I try to access RSS feeds or the Web Scripts panel (/share/service/index) I get prompted for authentication, even though I'm already logged in. An example RSS url is this:http://mywebhost:8080/share/feedservice/components/documentlibrary/feed/all/node/alfresco/company/home/User%20Homes?filter=path&filterData=%2FUser%20Homes&libraryRoot=alfresco://company/home&format=rss
Since I logged in externally, I can't re-enter my password because Alfresco doesn't know it. If I just try to enter that information, I get a server error (seen below). For the webscript page, if I try to refresh the webscripts, I'm taken to a blank white page.Interestingly, for RSS, if I enter in my user name in with any password, I get this error:A server error has occured.
There are a number of reasons why this could have happened:
You have attempted to access a page that does not exist - check the URL in the address bar.
You have attempted to access a page that is not accessable to you, such as a private Site dashboard.
A valid page has been requested but the server was unable to render it due to an internal error - contact your administrator.
Return to your dashboard page
Alfresco Software Inc. © 2005-2011 All rights reserved.
If I enter the admin username and password OR my username with a blank password, I get this message:Web Script Status 500 - Internal Error
The Web Script /share/page/feed/components/documentlibrary/feed/all/node/alfresco/company/home/ has responded with a status of 500 - Internal Error.
500 Description: An error inside the HTTP server which prevented it from fulfilling the request.
Message:
Unable to call doclist data webscript. Status: 401, response:
Server: Spring WebScripts - v1.0.0 (Release Candidate 2 948) schema 1,000
Time: Apr 6, 2012 6:16:39 PM
Diagnostics: Inspect Web Script (org/alfresco/components/documentlibrary/feed.get)
The catalina.out file looks like this when the admin information is entered:2012-04-06 18:44:20,944 DEBUG [extensions.webscripts.AbstractRuntime] (Runtime=ServletRuntime, Container=Repository) Processing script url (GET) /slingshot/doclib/doclist/all/node/alfresco/company/home/User Homes/G/Gi/Gillespie/patrick.j.gillespie
2012-04-06 18:44:20,944 DEBUG [extensions.webscripts.AbstractRuntime] Agent: null
2012-04-06 18:44:20,944 DEBUG [extensions.webscripts.AbstractRuntime] Invoking Web Script org/alfresco/slingshot/documentlibrary/doclist.get (format json, style: argument, default: json)
2012-04-06 18:44:20,944 DEBUG [security.authentication.SimpleAcceptOrRejectAllAuthenticationComponentImpl] Authenticating user "admin"
2012-04-06 18:44:20,944 DEBUG [security.authentication.SimpleAcceptOrRejectAllAuthenticationComponentImpl] Failed to authenticate user "admin"
org.alfresco.repo.security.authentication.AuthenticationException: 03060244 Access Denied
Like this if there's a username but no password:18:46:35,123 ERROR [alfresco.web.site] org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.WebScriptsPlatformException: 03060004 Authorization request did not provide user/pass.org.springframework.extensions.surf.exception.WebScriptsPlatformException: 03060004 Authorization request did not provide user/pass.
And like this if there's a username and a password:2012-04-06 18:47:59,126 DEBUG [extensions.webscripts.AbstractRuntime] (Runtime=ServletRuntime, Container=Repository) Processing script url (GET) /slingshot/doclib/doclist/all/node/alfresco/company/home/User Homes/G/Gi/Gillespie/patrick.j.gillespie
2012-04-06 18:47:59,126 DEBUG [extensions.webscripts.AbstractRuntime] Agent: null
2012-04-06 18:47:59,126 DEBUG [extensions.webscripts.AbstractRuntime] Invoking Web Script org/alfresco/slingshot/documentlibrary/doclist.get (format json, style: argument, default: json)
2012-04-06 18:47:59,126 DEBUG [security.authentication.SimpleAcceptOrRejectAllAuthenticationComponentImpl] Authenticating user "patrick.j.gillespie"
2012-04-06 18:47:59,126 DEBUG [security.authentication.SimpleAcceptOrRejectAllAuthenticationComponentImpl] Failed to authenticate user "patrick.j.gillespie"
org.alfresco.repo.security.authentication.AuthenticationException: 03060254 Access Denied
Has anyone else experienced anything like this? Any clues on what could be going wrong?