about --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
http://openid.net/ newguy wrote:> about-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
hi, I''m using asp.net application and i access this from cURL .Now i want to know,how to use single sign on in cURL. Reply as soon as possible --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I suppose that would depend on how the authentication is handled in the asp.net application. Is it HTML form based, HTTP Basic Authentication, or something else?> I''m using asp.net application and i access this from cURL .Now i want to > know,how to use single sign on in cURL.I assume from this that the asp.net application is not handling Cross Site Request Forgery (CSRF) protection. Is that correct? You say you are accessing the asp.net application from cURL. Does that mean you are successfully authenticating with the asp.net application and you want keep track of the state? If so then you need to get cURL to manage the session cookies from the asp.net application (assuming the asp.net application is managing sessions with cookies). See the curl man page and look for --cookie-jar option. cURL also support HTTP Basic Authentication and HTTPS, so if the asp.net application supports this authentication method then you just need to send it the username and password in the URL. https://user:password-WI0L6dQK/VpWk0Htik3J/w@public.gmane.org/login.asp. And don''t forget to use a cookie jar for managing the application''s session cookies. This is the best answer I can give with the information you have provided. Maybe a more detailed explanation of what you''re actually trying to do would help. venu gopal wrote:> hi, > > I''m using asp.net application and i access this from cURL .Now i want to > know,how to use single sign on in cURL. > > Reply as soon as possible-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thank you for your reply. I m using HTTP Basic authentication in my application. And i have one more doubt with Curl + Single sign on, Now i use username & password for all commands(Like POST,PUT,DELETE,GET) to create,update,delete and read my data. Is it possible to maintain the username and password until i logout from cURL --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---