Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
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.