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

Custom Login Implementation in AEM 6.3/6.4

a_mn1
Level 4
Level 4

Hello All, I have a website which has login functionality.(I am using a custom login feature here).All my pages are public. There will be a

download button in few pages which will allow users to download pdfs.

The behaviour of the download button will be determined by if the user is logged in or not.

1. If user is logged in and he clicks on download button, then the pdf should open.

2. If user is not logged in and he clicks on download button, then the login pop up should open.

Can i handle thin login validation using sling servlet. Or Do you think I should be using Authentication handler here.

0 Replies