We have protected some published pages via login through our SSO provider. I would like to read the SAML response so we can customize some of the things that's displayed on the page.
How can this be done?
I've searched the net and the results I've found involves the configuration to setup AEM to connect to a SSO provider.
jayv25585659 AFAIK, this can be achieved using the Open SAML APIs https://build.shibboleth.net/nexus/content/sites/site/java-support/7.4.2/apidocs/ .
Below is a sample piece of code which I used in the past to read a SAML response, however not within AEM:
Please note all the required APIs sufficient enough to read the SAML response are available under Open SAML only https://wiki.shibboleth.net/confluence/display/OS30/APIDocumentation