Page business logic based on SAML response
Good morning from Italy,
all the SAML guides for AEM explain how to protect a full page (the page is visible to logged user vs the page is not visibile to non logged user).
Can you please point out any guide that explain how to create a more granual business logic based on SAML data?
For example:
- the page is public (everyone can see the page)
- if the user is logged, AEM should shows his email somewhere in the header (taken from the SAML response or from userProps.getProperty("email") as explained here
- if the user is not logged, instead of showing his email, a "login" link should be shown
Is there any guide that can explain how to do it?
thanks
Francesco