When we are working with SSO(Net IQ) with AEM ,got stucked with few scenarios. Need help/info how to handle the below scenarios. Is there any out of box handler or we need to customize and handle and could you please provide the sample code on this?
Users should be able to access few pages without login into portal(with SSO using IDP) as an anonymous user
Anonymous User has to be prompted for Login / Authentication while accessing certain pages or doing certain functionalities (if we can trigger authentication when anonymous user clicks on some href link.).
With out of the box implementation you can only allow a user till a certain path and could force him to log in if he tries to access any url configured or its child.
In the SAML authentication handler configuration, present in configuration manager, you would find a property called path. You might choose to enter a certain path for which the user has to authenticate through same. Same applies for its child pages also. By default it entered as /.