I have some pages only visible to a group of users via CUG configurations. I have configured a login page to which all the unauthenticated requests should be redirected to.
I have an issue with this redirect. When I hit the secure page, the publish server returns a 404.
The logs show:
24.08.2015 10:33:11.581 *INFO* [127.0.0.1 [1440408791492] GET /content/site/en/page.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /content/site/en/page.html not found
24.08.2015 10:33:11.582 *INFO* [127.0.0.1 [1440408791492] GET /content/site/en/page.html HTTP/1.1] org.apache.sling.auth.core.impl.SlingAuthenticator login: No handler for request (2 handlers available)
24.08.2015 10:33:11.582 *WARN* [127.0.0.1 [1440408791492] GET /content/site/en/page.html HTTP/1.1] apps.sling.servlet.errorhandler.404$jsp Cannot login: No Authentication Handler is willing to authenticate
Did someone else face this issue?
Solved! Go to Solution.
Views
Replies
Total Likes
* Does the cug protected pages are handled by /etc/maps rewriting?
* Could you please add "html" & "htm" to the property Path Info at [1] and verify.
* Go to http://<host>:<port>/system/console/configMgr/com.day.cq.auth.impl.cug.CugSupportImpl
* Unbind it then save it.
[1] http://<host>:<port>/system/console/configMgr/com.day.cq.auth.impl.LoginSelectorHandler
Views
Replies
Total Likes
It looks like there are 2 authentications available. do you have some custom authentication handler(s) ?
Views
Replies
Total Likes
* Does the cug protected pages are handled by /etc/maps rewriting?
* Could you please add "html" & "htm" to the property Path Info at [1] and verify.
* Go to http://<host>:<port>/system/console/configMgr/com.day.cq.auth.impl.cug.CugSupportImpl
* Unbind it then save it.
[1] http://<host>:<port>/system/console/configMgr/com.day.cq.auth.impl.LoginSelectorHandler
Views
Replies
Total Likes
Hi Lokesh,
I don't have any custom authentication handler. Just the OOTB handlers are there.
[img]Auth-handlers.png[/img]
Views
Replies
Total Likes
Thanks for the reply Sham.
1. We do use resource resolver factory at Apache Sling Resource Resolver [1] to shorten the urls in the generated pages by configuring URL Mappings property as below.
/content/site/:/
Even removing this entry does't help.
2. Path Info property at [2] already has "html" and "htm" values configured.
3. Unbind and save action on http://<host>:<port>/system/console/configMgr/com.day.cq.auth.impl.cug.CugSupportImpl did not help.
[1] http://<host>:<port>/system/console/configMgr/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl
[2] http://<host>:<port>/system/console/configMgr/com.day.cq.auth.impl.LoginSelectorHandler
Views
Replies
Total Likes
Please engage with official support & This needs screen sharing.
Views
Replies
Total Likes
This was an issue with SP2 on AEM5.6.1.
Adobe support provided me a hot fix 7880 for the issue which solved the issue.
Interestingly, this is a known issue on SP2 and has not been mentioned in release notes.
Views
Replies
Total Likes
Manender i am also facing this issue once i have upgraded to SP2. Can you please share the 7880 HF which Adobe guys have shared with you?
Views
Replies
Total Likes
Hi Tosheer,
I would suggest you to open a support ticket for this. The reason being the HF 7880 itself caused some regression issues and Adobe should provide another Hotfix instead.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies