0
I Use This!
Activity Not Available

Project Summary

OverviewActive Authentication is a modified version of acts_as_authentication designed to authenticate users against Active Directory and automatically adds them to the database.

InstallationInstallation is similar to acts_as_authenticated, first you install the plugin:

./script/plugin install http://activeauthentication.googlecode.com/svn/trunk/activeauthenticationNext generate your model and migrate the database:

./script/generate authenticated user account
rake db:migrateNow include the authenticated system in your application.rb file:

include AuthenticatedSystemAdd a filter to any controller you want to protect:

before_filter :login_requiredAnd finally, modify config/active_directory.yml to match your environment.

TroubleshootingIf you are experiencing problems such as

MissingSourceFile (no such file to load -- ldap):
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require'
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require'
.//app/controllers/account_controller.rb:2You may need to install the ruby ldap libraries. On Ubuntu that can be accomplished with the following command:

sudo apt-get install libldap-ruby1.8FedoraFor those of you using Fedora, Geoffrey Gouez has the following advice (Thanks Geoffrey!):

For fedora 7 (and maybe core 5 and 6), using activeauthentication throws missing file exception.

This files are include in previous version of openssl rpm and are replaced by .so.6

For resolve problem, just links files in /lib directory like this :

ln /lib/libcrypto.so.6 /lib/libcrypto.so.5

ln /lib/libssl.so.6 /lib/libssl.so.5

Tags

activedirectory assaydepot authentication plugin rails ror ruby security

In a Nutshell, activeauthentication...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

MIT License
Permitted

Sub-License

Private Use

Commercial Use

Modify

Distribute

Forbidden

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    you can subscribe to e-mail newsletters to receive update from the Open Hub blog
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    check out hot projects on the Open Hub

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis