AEM subject principal propagation
Currently working on an external login module with jackrabbit.
There is a form on a customized website that is supposed to call this login module. It calls the login module but I was wondering if there was a way to propagate the principals of whatever user is logged onto AEM to the next user that logs in and if so how It would be done.
Example of what I'm trying to do:
- User logs into AEM using admin:admin that has principal: Author
- user tries to log onto the form on the custom website with A@mail.com:password with principal: BasicUser.
- the current user that get logged on has both the Author principal and the BasicUser principal.