Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

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

Avatar

Level 4

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!

1 Accepted Solution

Avatar

Correct answer by
Level 5

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!

View solution in original post

2 Replies

Avatar

Level 10

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

Avatar

Correct answer by
Level 5

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!