Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

authen::simple::cdbi(3pm) [debian man page]

Authen::Simple::CDBI(3pm)				User Contributed Perl Documentation				 Authen::Simple::CDBI(3pm)

NAME
Authen::Simple::CDBI - Simple Class::DBI authentication SYNOPSIS
use Authen::Simple::CDBI; my $cdbi = Authen::Simple::CDBI->new( class => 'MyApp::Model::User' ); if ( $cdbi->authenticate( $username, $password ) ) { # successfull authentication } # or as a mod_perl Authen handler PerlModule Authen::Simple::Apache PerlModule Authen::Simple::CDBI PerlSetVar AuthenSimpleDBI_class "MyApp::Model::User" <Location /protected> PerlAuthenHandler Authen::Simple::CDBI AuthType Basic AuthName "Protected Area" Require valid-user </Location> DESCRIPTION
Class::DBI authentication. METHODS
* new This method takes a hash of parameters. The following options are valid: * class Class::DBI subclass. Required. class => 'MyApp::Model::User' * username Name of "username" column. Defaults to "username". username => 'username' * password Name of "password" column. Defaults to "password". password => 'password' * log Any object that supports "debug", "info", "error" and "warn". log => Log::Log4perl->get_logger('Authen::Simple::CDBI') * authenticate( $username, $password ) Returns true on success and false on failure. SEE ALSO
Authen::Simple. Authen::Simple::Password. Class::DBI. AUTHOR
Christian Hansen "ch@ngmedia.com" COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.8.8 2008-02-29 Authen::Simple::CDBI(3pm)

Check Out this Related Man Page

Authen::Simple::Kerberos(3pm)				User Contributed Perl Documentation			     Authen::Simple::Kerberos(3pm)

NAME
Authen::Simple::Kerberos - Simple Kerberos authentication SYNOPSIS
use Authen::Simple::Kerberos; my $kerberos = Authen::Simple::Kerberos->new( realm => 'REALM.COMPANY.COM' ); if ( $kerberos->authenticate( $username, $password ) ) { # successfull authentication } # or as a mod_perl Authen handler PerlModule Authen::Simple::Apache PerlModule Authen::Simple::Kerberos PerlSetVar AuthenSimpleKerberos_realm "REALM.COMPANY.COM" <Location /protected> PerlAuthenHandler Authen::Simple::Kerberos AuthType Basic AuthName "Protected Area" Require valid-user </Location> DESCRIPTION
Kerberos authentication. METHODS
* new This method takes a hash of parameters. The following options are valid: * realm Kerberos realm. realm => 'REALM.COMPANY.COM' * log Any object that supports "debug", "info", "error" and "warn". log => Log::Log4perl->get_logger('Authen::Simple::Kerberos') * authenticate( $username, $password ) Returns true on success and false on failure. SEE ALSO
Authen::Simple. Authen::Krb5::Simple. AUTHOR
Christian Hansen "ch@ngmedia.com" COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.8.8 2008-03-01 Authen::Simple::Kerberos(3pm)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Please help on this

iam newbie to unix please help on this issue exp username/password@databasename file=PMGR_AMPD_ 06132007.dmp statistics=none log=exp_PMGR_AMPD_ 06132007.log i have the script file with above string, but in that string i want replace the Date with sysdate in same format(mmddyyyy)... (3 Replies)
Discussion started by: ss4u
3 Replies

2. Shell Programming and Scripting

Simple scripting.

echo "what is your username?" read username echo $username echo /home/$username $backup="backup" $restore="restore" # # if then echo "No username provided" else echo "hi $username would you like to backup or restore?" read userrequest echo $userrequest if then ... (4 Replies)
Discussion started by: EwanD
4 Replies

3. Shell Programming and Scripting

Perl and encryption

Basically, I'm wondering if there's an easy way to encrypt the password to a username and store it in MySQL. But being able to authenticate to it. (3 Replies)
Discussion started by: adelsin
3 Replies

4. Shell Programming and Scripting

Password encryption...

Hi, I have a Java app that looks for some parameters in a .properties file such as username and password. However I don't want to leave the password in a text file and I can't modify the app... Does anyone have some idea about how to encrypt/hide/etc the password so it's not freely accessible... (1 Reply)
Discussion started by: Tr0cken
1 Replies

5. Shell Programming and Scripting

Expect scripting telnet stop on bad username or password

I am trying to build and expect script to log into multiple aix boxes and change password. I need for the script to terminate if it cannot log into a server because the username or password is wrong. #!/usr/bin/expect set timeout 1 set host set user set password set uh "Unknown host" set... (3 Replies)
Discussion started by: leemalloy
3 Replies

6. Shell Programming and Scripting

PERL and Kerberos authentication

I am installing Authen::Krb5::Easy and during make test I am getting the follwing error : kinit not ok 2 error was: could not get initial credentials: Cannot contact any KDC for requested realm we are stroring krb5.conf in diff location ( not in /etc/krb5.conf) , but, PERL is... (1 Reply)
Discussion started by: talashil
1 Replies