red5 - Solution for handling Spring security session Id in different wed apps -


i have 2 web application on different wed servers: core (spring 3.0.5, spring security 3.0.5, postgresql) , red5

i need develop next workflow:

  1. user logins in core
  2. system returns web page simple html , flex app
  3. user streams audio on red5 flex app
  4. red5 uses core check if user logged in
  5. red5 sends file core
  6. core identifies file come appropriate user
  7. core stores file in related user's folder

i have configured spring security @ core, flex client streams audio red5, servlet on red5 stores audio in flv file , have access file.

my idea is:

  1. in case of successful login core returns sessionid
  2. at end of recording flex app sends sessionid red5 server
  3. red5: makes http request sessionid core
  4. core returns "true" in case of user logged in
  5. red5: makes http post request 2 parameters: file , sessionid
  6. core identifies user , stores file in user's folder

please provide mechanism how sessionid, how check if user logged in , how user sessionid or better approach implement described workflow


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -