On Thu, Nov 6, 2008 at 3:43 AM, kranthi kumar <[EMAIL PROTECTED]> wrote: > Thanks for that reply Dave. Actually I am developing a site and i am trying > to use roller for blogs section. I am having a link called blogs in my site, > clicking on which will open a new window and takes the user to url > "http://localhost:8080/roller/roller-ui". Now i dont want the user who > already logged into my site to be prompted for credentials again for > roller.I want to bypass the roller's login page in other words i want the > login action to be performed when the user clicks on the blogs link in my > site with my site's credentials.(i can write the code like whenever the user > registers for my site the same login details will be stored in roller db as > well). I tried the following code : > //Action script for opening a new window and passing the credentials > var u:URLRequest=new > URLRequest("http://localhost:8080/roller/roller-ui/roller_j_security_check"); > var variables:URLVariables = new URLVariables(); > variables.id=username; > variables.pwd=password; > u.data=variables; > u.method="POST"; > navigateToURL(u,"_page"); > But this code is not working. Its giving me the message "Sorry! We couldn't > find your document". What should i do to incorporate this change.
I don't know if that will work or not. Perhaps you need an existing session cookie before you can create logged-in session cookie? I don't know. You'll have to look into Spring Security to understand the complete flow. - Dave
