similar to: optional authentication and HTTP Basic

Displaying 20 results from an estimated 4000 matches similar to: "optional authentication and HTTP Basic"

2009 May 03
0
HTTP Auth 401 Even on Valid Login
I can''t understand why authenticate_or_request_with_http_basic keeps failing even though I am entering the correct info. If I try to access /admin/items/new, I enter the correct info but I keep getting prompted. The strange part is that when I cancel out, I get "HTTP Basic: Acce". Here''s the controllers: class Admin::BaseController < ApplicationController
2008 Nov 01
0
How to expire HTTP basic authenticated session?
Greetings all, I am using authenticate_or_request_with_http_basic, but how can I expire/forget the successfully authenticated session for a specific client? Thanks in advance. Cheers, Difei -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2011 Aug 21
0
basic http authentication
Hi, I used code from http://railscasts.com/episodes/82-http-basic-authentication but added it to Application controller to apply to the whole application class ApplicationController < ActionController::Base protect_from_forgery before_filter :authenticate protected def authenticate puts ''authenticating.. '' authenticate_or_request_with_http_basic do |username,
2008 Jan 15
0
HTTP Digest Authentication
I just started using authenticate_or_request_with_http_basic. Is anyone working on the digest version of that? (I realize it may get a little complicated with the handshaking) If not, I wouldn''t mind contributing it. (I''ve implemented it in the past for other servers) -brian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2007 Dec 12
1
why is authenticate_with_http_basic undefined?
Hi, i used the rick olson''s restful_authentication plugin rails 1.2.6 i wanted to check for authenticated user so i wrote this in my application.rb # Filters before_filter :authenticate # Sets @authenticated_user if the user provides valid # credentials. May be used to deny access or customise the view def authenticate @authenticated_user = nil
2008 Sep 30
0
undefined method `authenticate_with_http_basic' for #<SessionsController:0xb6c47c44>
I am developing the rails with the flex.. I am following the tutorial FLEXIBLE RAILS - PETER ARMSTRONG . I followed the commands as specified in the tutorial.. my rails version is 1.2.3 and the ruby 1.8.6 I created the restful authentication and i specified the authentication.. ruby script\generate authenticated user sessions ...output omitted... I specified everything.. It worked fine upto 500
2009 Jul 30
0
Problem with implicit multipart emails using ActionMailer in Rails 2.3.3
With earlier versions of Rails ActionMailer used to implicitly send multipart (text/plain and text/html) email messages for me, but it looks like now it''s sending two text/plain parts. Simplified details: Here''s my model: class Notifications < ActionMailer::Base def confirmation(sent_at = Time.now) @subject = ''Thank you for registering'' @body
2007 Dec 09
2
Questions about rails 2.0
Hi, i''ve found some questions on the rails blog which haven''t any answer. Because i''m interested too i paste them here: # gonzo on 07 Dec 22:10: Does CSRF protection work with forms that are fully cached? # rugal on 08 Dec 20:14: Great job guys! Just an information about migrations. will t.timestamps create both created_at and updated_at? And for _on ?
2008 Sep 15
2
wine handles an app weirdly in ubuntu 8.04
I have a little Windows app which under Windows does not require installation. When started the first time, it creates in its own directory three files with desired configuration options I choose at that time. The next time started it simply uses those files. I copied the folder with the app and old config files to my Ubuntu 8.04 desktop and here what I have. 1. If I open the app folder in
2008 Jan 30
2
Where can I get "authenticate_with_http_basic"?
Hi, I just installed Rails 2.0.2 [root@mymachine easyx]# ruby --version ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux] [root@mymachine easyrx]# gem install rails --include-dependencies Need to update 16 gems from http://gems.rubyforge.org ................ complete Successfully installed rails-2.0.2 [root@remandev easyrx]# But I''m getting this error in my restful_authentication
2023 Jun 07
1
Listen to ARI events
On Wed, Jun 7, 2023 at 10:46 AM TTT <lists at telium.io> wrote: > I’ve reread the documentation a few times, and what isn’t clear is whether > I need an app=X parameter in the url. In other words, can I only get > events for a single named statis app? Or can I get events for the entire > Asterisk server? > > > > The command below (without app= parameter) results in
2012 Feb 16
0
Upgrading from 3.2.0 to 3.2.1: Wrong Number of Arguments
Simple spec passes in 3.2.0: it "destroys an album" do 3.times { Factory(:album, photo_library: @photo_library) } visit photo_library_path(@photo_library) find("h3").click_link ''Delete'' find("#notice").should have_content("Album deleted successfully") Album.count.should eq 2 end But fails in 3.2.1 with: 1) Albums destroys an
2013 Jun 18
1
Getting rspec error: Net::SMTPServerBusy: Relay access denied
I''m trying to test registration emails (sent with devise), and I keep getting the error: Net::SMTPServerBusy: 454 4.7.1 <model_spec-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>: Relay access denied I''m running Rails 3.2.11 with Capybara, and I have (temporarily) chopped my spec_helper.rb and test.rb files down to the bare minimum, still getting the error above.
2023 Jun 07
1
Listen to ARI events
Ok that worked. Since I have not declared a statis app called “test”, does that mean any non-existent app name on the URL will subscribe to all system events? (Or is test a built-in app name) Brian From: asterisk-users [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joshua C. Colp Sent: Wednesday, June 7, 2023 9:56 AM To: Asterisk Users Mailing List - Non-Commercial
2006 Dec 28
1
ActionMailer/SMTP: Net::SMTPSyntaxError when message body contains only a 'dot'
FYI: I don''t think this is a very well know. It seems that, on some operating systems, ActionMailer/SMTP crashes when it sends an email with only a ''.'' (aka a ''dot'' or a ''period''). Specifically, you get Net::SMTPSyntaxError (502 Error: command not implemented): Environment Details: $ uname -a Linux private1 2.6.15-26-server #1 SMP
2006 Nov 21
3
Fw: re. win32-process
Hi all, Any ideas for the question below? I know how to do this in theory - make the ''inherit'' flag true, and set the ''stdout'' and ''stderr'' startf_flags hash options to something in the startup_info hash, but I wasn''t sure how to do this in practice. It would be nice if the answer could be something like this: require
2007 Mar 01
4
Cookie based session management problems
Edge has a change in default behaviour where sessions are stored as cookies instead of in the file system. This was a pleasant surprise when I synced up, fired up my app, and nothing worked. Ah, life on the edge. I''m sure I''m just missing something, but I can''t get sessions to survive the first redirect. I added the following code to environment.rb, based on
2008 Mar 14
1
how do I get a older version of restful_authentication
I''m currently running rails 1.2.6 and I''ve got the new restful_authentication running, unfortunately, the new version of the plugin does not support the older rails very well. how can I get an older version of restful_authentication (pre rails 2.0.2)? I''m getting this error: undefined method `authenticate_with_http_basic'' when I put "include
2011 Jan 09
4
[ win32utils-Bugs-28840 ] wrong process_id is returned if using create multiple times for IE
Bugs item #28840, was opened at 2011-01-09 16:55 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=28840&group_id=85 Category: win32-process Group: None Status: Open Resolution: None Priority: 3 Submitted By: Jarmo Pertman (juuser) Assigned to: Nobody (None) Summary: wrong process_id is returned if using create multiple times for IE Initial Comment:
2011 Oct 19
0
Email Anonymization
I''m working on an email anonymization feature for my rails app (kind of like craigslist). I''ve configured postfix to pipe all emails addressed to user-*@example.com (i.e. user-1234-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org, where 1234 is the user id in the database) into rails via the mailer''s receive method. Now, the idea is to first check that the sender''s