Results 1 to 2 of 2

Thread: PreAuthentication from external app

  1. #1
    Join Date
    Mar 2008
    Posts
    8

    Default PreAuthentication from external app

    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 !

  2. #2
    Join Date
    Mar 2008
    Posts
    8

    Default

    Any suggestion appreciated

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •