How to make servlet publically available in AEM without login in? | Community
Skip to main content
Level 4
October 16, 2015
Solved

How to make servlet publically available in AEM without login in?

  • October 16, 2015
  • 2 replies
  • 3623 views

Hi All,

I have created a GET path servlet in CQ, with /libs/xyz with url mapping? Now I want to make this publically available to the users coming to my publish server, so that they can hit the servlet without loggin.

Currently When I try to access servlet using anonymous user I get redirected to geometrixx homepage, how can I make this servlet accessible to anonymous user?

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Julio_Baixauli

Modify the configuration of Apache Sling Authentication Service.

Add an entry in sling.auth.requirements parameter.

If you want anonymous access, you have to put a '-' before the path.

Hope this helps!

2 replies

smacdonald2008
Level 10
October 16, 2015

Here is an older thread that may be useful. It talks about requiring anonymous access for accessing a servlet

http://forums.adobe.com/message/4405166

Julio_BaixauliAccepted solution
Level 4
October 16, 2015

Modify the configuration of Apache Sling Authentication Service.

Add an entry in sling.auth.requirements parameter.

If you want anonymous access, you have to put a '-' before the path.

Hope this helps!