Thanks for the replies.... I changed my code to
var u:URLRequest=new
URLRequest("http://localhost:8080/roller/roller_j_security_check";);
        var variables:URLVariables = new URLVariables();
                variables.j_username=username;
            variables.j_password=password;
            u.data=variables;
                u.method="POST";
        navigateToURL(u,"_page");
and now its working fine....The problem with my earlier code is i had
roller-ui in the url.
Thanks
Kranthi

kranthi kumar wrote:
> 
> Hi greg...What is the version that you are using and where can i get that
> build from..and any disadvantages with the build that you are using.?
> Thanks
> Kranthi
> 
> Greg.Huber wrote:
>> 
>> Hello,
>> 
>> We do a login from an email registration conformation like this:
>> 
>> http://127.0.0.1/Blog/j_security_check?j_username=TestBlog&j_password=1234
>> 
>> But I think now in the trunk its called roller_j_security_check, and the 
>> code has moved on from what we are currently using.
>> 
>> 
>> Cheers Greg
>> 
>> 
>> 
>> 
>> 
>> Dave <[EMAIL PROTECTED]> 
>> 07/11/2008 14:04
>> Please respond to
>> [email protected]
>> 
>> 
>> To
>> [email protected]
>> cc
>> 
>> Subject
>> Re: Roller Login execution flow
>> 
>> 
>> 
>> 
>> 
>> 
>> 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
>> 
>> 
>> 
>> 
>> Share our environment commitment - conserve resources and contribute to
>> the reduction of CO2 emissions by not printing the email unless
>> absolutely necessary to do so. 
>> 
>> Any opinions expressed are those of the author, not Ricoh UK Ltd. This
>> communication does not constitute either offer or acceptance of any
>> contractually binding agreement. Such offer or acceptance must be
>> communicated in writing. It is the responsibility of the recipient to
>> ensure this email and attachments are free from computer viruses before
>> use and the sender accepts no responsibility or liability for any such
>> computer viruses. 
>> 
>> Ricoh UK Ltd. may monitor the content of emails sent and received via its
>> network for the purpose of ensuring compliance with its policies and
>> procedures. This communication contains information, which may be
>> confidential or privileged. The information is intended solely for the
>> use of the individual or entity named above. If you are not the intended
>> recipient, be aware that any disclosure, copying, distribution or use of
>> the contents of this information is prohibited. If you have received this
>> communication in error, please notify the sender immediately by return
>> email with a copy to  [EMAIL PROTECTED] . Please contact us on +44
>> (0) 208 261 4000 if you need assistance. 
>> 
>> Registered in England No: 1505381 
>> VAT No: GB 354 2816 54  
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Roller-Login-execution-flow-tp20338395s12275p20416271.html
Sent from the Roller - Dev mailing list archive at Nabble.com.

Reply via email to