Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Shehjadkhan
Level 4
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
Julio_Baixauli
Correct answer by
Level 4
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
smacdonald2008
Level 10
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

Julio_Baixauli
Correct answer by
Level 4
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