Umm - coming from a php world in another life, I''m looking for the Rails equivalent of the cgi environment variables (similar to http:// fr.php.net/reserved.variables). Specifically, what I''m really looking for are things like AUTH_USER so that I can install Rails on either IIS or a Kerberos-enabled Apache and take advantage of the SSO capabilites, including being able to automatically log them in and make decisions based on their username. Even knowing how to get the information of Basic Authentication would be a move in the right direction for me. Cheers, Erik --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
@Erik: First, abandon hope if you wish to integrate with IIS :) We can talk about that later. Some of the things you''re looking for are located in the AbstractRequest base class http://api.rubyonrails.com/classes/ActionController/AbstractRequest.html Basic Authentication isn''t too bad either, but you actually usually make Rails request it directly. Take a look at the Acts_as_authenticated plugin http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated There''s lots of good stuff in there that you can probably adapt. Good luck! On 4/20/07, Erik Ableson <eableson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Umm - coming from a php world in another life, I''m looking for the > Rails equivalent of the cgi environment variables (similar to http:// > fr.php.net/reserved.variables). > > Specifically, what I''m really looking for are things like AUTH_USER > so that I can install Rails on either IIS or a Kerberos-enabled > Apache and take advantage of the SSO capabilites, including being > able to automatically log them in and make decisions based on their > username. Even knowing how to get the information of Basic > Authentication would be a move in the right direction for me. > > Cheers, > > Erik > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Le 20 avr. 07 à 16:49, Brian Hogan a écrit :> First, abandon hope if you wish to integrate with IIS :) We can > talk about that later. > Some of the things you''re looking for are located in the > AbstractRequest base classI figured that was probably the case from what I''d found on the web. So in the meantime, I have a brand new Ubuntu Virtual Machine ready to try out the Kerberos integration :-)> http://api.rubyonrails.com/classes/ActionController/ > AbstractRequest.htmlYeah - I looked at that one, but it''s pretty limited about the extended attributes, specifically auth_user.> Basic Authentication isn''t too bad either, but you actually usually > make Rails request it directly. Take a look at the > Acts_as_authenticated plugin http://technoweenie.stikipad.com/ > plugins/show/Acts+as+Authenticated > > There''s lots of good stuff in there that you can probably adapt. > Good luck!Hmm - have to go take a peek at that one. I was under the impression that it was still a forms oriented authentication process that required local tables which is something I''m trying to avoid. Thanks for the tips ! --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---