Custom login and Stateless session for SAML integrated AEM
Hi All,
I have a design where Mobile app(written in angular 6) interacting with AEM (which is SAML integrated) to get the fragments from AEM.
What is happening?
When Mobile app is authenticating an user on AEM which redirects SAML login page for user and in turn AEM returns login token to Mobile app after successful authentication from SAML(site minder).
Then we have to write custom login handler to handle this session and along with this we need to store some data in same session.
Here are my two questions?
1) How to write custom login handler to handle this session for SAML integrated AEM?
2) My session which I assume is state full, I want it to be stateless session. Please let me know 2 things here first how to change it to stateless and second
how to find whether a session is state full or state less session?
One more information will help me whats the basic diff between these two from design perspective (Stateless and Stat full).. I am aware about encapsulated token approach.