AnsweredAssumed Answered

Default authentication not working

Question asked by nancyaggarwal on Aug 7, 2015
Latest reply on Feb 9, 2016 by siwilson

I am trying external authentication in alfresco community 5.0.1 and for that if i set the authentication.chain= external1:external,alfrescoNtlm1:alfrescoNtlm

with this my default alfresco based authentication also doesn't work.

I added below properties in
1. authentication.chain=external1:external,alfrescoNtlm1:alfrescoNtlm

And added file in /Authentication/External folder with below properties
1. external.authentication.defaultAdministratorUserNames=admin

And also added in same location with below properties
1. external.authentication.proxyUserName=
2. external.authentication.proxyHeader=X-Alfresco-Remote-User
3. external.authentication.userIdPattern=

Also uncommented the remote section in share-config-custom.xml file and also replaced the alfrescoCookie with alfrescoHeader in endpoint

<config evaluator="string-compare" condition="Remote">
            <name>Alfresco Connector</name>
            <description>Connects to an Alfresco instance using cookie-based authentication</description>
            <name>Alfresco Connector</name>
            <description>Connects to an Alfresco instance using header and cookie-based authentication</description>

            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require user authentication</description>

and then restarted the alfresco server.

when i hit localhost:8080/share/page it redirects to http://localhost:8080/share/page?pt=login and in username and password by entering admin and admin it remains on the same page i.e login screen appears
In log file it shows authenticated admin with alfrescoNtlm succedded.

So please anyone here can help me what i am doing wrong in this? why my default authentication is not working?