A system I'm building requires us to authenticate against our clients 
database to pull user information from their database. However, they also 
want us to allow external users to log in and access this system. To 
authenticate against their database we're using DeviseLDAPAuthenticatable, 
and were planning on using Devise to add local users.

The plan of action at the high level is:

User puts in log in detailsif ldap accepts these
    log in
elseif local database excepts these
    log inelse
    fail

What I'm guessing is that I need to override the authenticate_user! method but 
it didn't seem obvious what I'd need to include to make sure that the LDAP 
users could still log in.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/nsx-AYRkybUJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to