catalyst::plugin::authentication::credential::nopassword(3pm) debian man page | unix.com

Man Page: catalyst::plugin::authentication::credential::nopassword

Operating Environment: debian

Section: 3pm

Catalyst::Plugin::Authentication::Credential::NoPasswordUser)Contributed Perl DocumenCatalyst::Plugin::Authentication::Credential::NoPassword(3pm)

NAME
Catalyst::Authentication::Credential::NoPassword - Authenticate a user without a password.
SYNOPSIS
use Catalyst qw/ Authentication /; package MyApp::Controller::Auth; sub login_as_another_user : Local { my ($self, $c) = @_; if ($c->user_exists() and $c->user->username() eq 'root') { $c->authenticate( {id => c->req->params->{user_id}}, 'nopassword' ); } }
DESCRIPTION
This authentication credential checker takes authentication information (most often a username) and retrieves the user from the store. No validation of any credentials is done. This is intended for administrative backdoors, SAML logins and so on when you have identified the new user by other means.
CONFIGURATION
# example <Plugin::Authentication> <nopassword> <credential> class = NoPassword </credential> <store> class = DBIx::Class user_model = DB::User role_relation = roles role_field = name </store> </nopassword> </Plugin::Authentication>
METHODS
authenticate ( $c, $realm, $authinfo ) Try to log a user in. perl v5.14.2 2012-04-14 Catalyst::Plugin::Authentication::Credential::NoPassword(3pm)
Related Man Pages
catalyst::authentication::credential::password(3pm) - debian
catalyst::authentication::realm::simpledb(3pm) - debian
catalyst::authentication::store::dbix::class(3pm) - debian
catalyst::authentication::store::minimal(3pm) - debian
catalyst::authentication::user(3pm) - debian
Similar Topics in the Unix Linux Community
Backdoors etc
Cross platform Authentication
WiKID Strong Authentication System 3.0.1 (Java network client branch)
WiKID Strong Authentication System 3.0.0 (J2ME Wilreless Cell Phone Token branch)
Cron Authentication Failure error in Linux