Hi,
I need advice on how to correctly do this :
My user authenticates from an external xmpp based application to an XMPP server that directly communicates with my spring based webapp.
In my Spring based webapp I know when my user has successfully authenticated to the XMPP server.
What I want to do is :
From the moment I know my user has successfully logged in, I want to initiate a regular j2ee user session inside my spring based webapp so that the user can access restricted portions of the web app using regular HTTP without having to re-authenticate.
I guess we could pass in a JSESSIONID parameter within HTTP requests.
I also guess I need to put a pre-authentication mechanism in place but I lack examples on how to concretely implement this.
Should I use J2eeBasedPreAuthenticatedWebAuthenticationDetailsS ource or something else ?
Thank you for any help provided !


