Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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 4

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 4

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!