Class CASServer::Authenticators::SQLMd5
In: lib/casserver/authenticators/sql_md5.rb
Parent: CASServer::Authenticators::SQL

Essentially the same as the standard SQL authenticator, but this version assumes that your password is stored as an MD5 hash.

This was contributed by malcomm for Drupal authentication. To work with Drupal, you should use ‘name’ for the :username_column config option, and ‘pass’ for the :password_column.

Methods

Protected Instance methods

[Source]

    # File lib/casserver/authenticators/sql_md5.rb, line 14
14:     def read_standard_credentials(credentials)
15:       super
16:       @password = Digest::MD5.hexdigest(@password)
17:     end

[Validate]