External auth. ok but navigation in share not ok

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2013 03:04 AM
Hello,
I have tested on 4.2.c and 4.2.d, on both i have the same issue.
I configure Alfresco to work with a external siteminder.
Here is my alfresco-global.properties :
<!–break–>
my share-config-custom.xml :
The login is ok on Alfresco explorer and Share.
But there is some problemes in the navigation in share.
I can't navigation in the data dictionnary for exemple but i can folder not create by alfresco install.
I can't start a workflow …
I have no trace in log, but with firebug i see somme http error 500 like this one :
for a POST at this URL
http://ecm-dev1.eic.intra/share/proxy/alfresco/api/workflow/activiti%24activitiParallelReview/formpr...
is this URL correct in a external configuration ?
Thanks for your help.
I have tested on 4.2.c and 4.2.d, on both i have the same issue.
I configure Alfresco to work with a external siteminder.
Here is my alfresco-global.properties :
## LDAP AUTH###authentication.chain=external:external,alfrescoNtlm1:alfrescoNtlmexternal.authentication.enabled=trueexternal.authentication.defaultAdministratorUserNames=merlin,cambierexternal.authentication.proxyUserName=external.authentication.proxyHeader=sm_user
<!–break–>
my share-config-custom.xml :
<config evaluator="string-compare" condition="Remote"> <remote> <connector> <id>alfrescoHeader</id> <name>Alfresco Connector</name> <description>Connects to an Alfresco instance using header and cookie-based authentication</description> <class>org.alfresco.web.site.servlet.SlingshotAlfrescoConnector</class> <userHeader>sm_user</userHeader> </connector> <endpoint> <id>alfresco</id> <name>Alfresco - user access</name> <description>Access to Alfresco Repository WebScripts that require user authentication</description> <connector-id>alfrescoHeader</connector-id> <endpoint-url>http://localhost:8080/alfresco/wcs</endpoint-url> <identity>user</identity> <external-auth>true</external-auth> </endpoint> </remote> </config>
The login is ok on Alfresco explorer and Share.
But there is some problemes in the navigation in share.
I can't navigation in the data dictionnary for exemple but i can folder not create by alfresco install.
I can't start a workflow …
I have no trace in log, but with firebug i see somme http error 500 like this one :
for a POST at this URL
http://ecm-dev1.eic.intra/share/proxy/alfresco/api/workflow/activiti%24activitiParallelReview/formpr...
is this URL correct in a external configuration ?
Thanks for your help.
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2013 04:35 AM
perhaps it's my apache mod_proxy configuration ?
here is my apache conf :
if i browse data dictionnary i have a http 500 on this URL
but if i do the same request on Tomcat directly , i have a json response who is ok:
here is my apache conf :
LoadModule proxy_module /usr/lib64/apache2-prefork/mod_proxy.soLoadModule proxy_http_module /usr/lib64/apache2-prefork/mod_proxy_http.soProxyRequests OffProxyPreserveHost OffProxyPass /alfresco http://ecm-dev1.eic.intra:8080/alfrescoProxyPassReverse /alfresco http://ecm-dev1.eic.intra:8080/alfrescoProxyPass /share http://ecm-dev1.eic.intra:8080/shareProxyPassReverse /share http://ecm-dev1.eic.intra:8080/share
if i browse data dictionnary i have a http 500 on this URL
http://ecm-dev1.eic.intra/share/service/components/documentlibrary/data/doclist/all/node/alfresco/co...
but if i do the same request on Tomcat directly , i have a json response who is ok:
http://ecm-dev1.eic.intra:8080/share/service/components/documentlibrary/data/doclist/all/node/alfres...

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2013 11:40 AM
I test mod_proxy_ajp, it's change nothing.
I test with mod_jk, it's better : i can validate task from workflow, but i still can't browse folder with accent.
I was thinking it's the mod_jk who was doing something wrong with charset because the response is correct when i request Tomcat directly.
But if i remove the external authentication configuration and replace with a AD and Ntlm authentication, all is ok with the same configuration of apache/tomcat.
I test with mod_jk, it's better : i can validate task from workflow, but i still can't browse folder with accent.
I was thinking it's the mod_jk who was doing something wrong with charset because the response is correct when i request Tomcat directly.
But if i remove the external authentication configuration and replace with a AD and Ntlm authentication, all is ok with the same configuration of apache/tomcat.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2013 03:48 AM
The problem is resolve.
It was a problem of configuration of the external authentication system : siteminder.
By default, Siteminder don't accept special character in the URL with the properties BadCssChars and BadUrlChars.
It was a problem of configuration of the external authentication system : siteminder.
By default, Siteminder don't accept special character in the URL with the properties BadCssChars and BadUrlChars.
