catalyst::authentication::user(3pm) [debian man page]
Catalyst::Authentication::User(3pm) User Contributed Perl Documentation Catalyst::Authentication::User(3pm)NAME
Catalyst::Authentication::User - Base class for user objects.
SYNOPSIS
package MyStore::User;
use base qw/Catalyst::Authentication::User/;
DESCRIPTION
This is the base class for authentication user objects.
THIS IS NOT A COMPLETE CLASS! it is intended to provide base functionality only.
It provides the base methods listed below, and any additional methods are proxied onto the user object fetched from the underlieing store.
NOTES TO STORE IMPLEMENTORS
Please read the comments in the source code of this class to work out which methods you should override.
METHODS
id( )
A unique ID by which a user can be retrieved from the store.
store( )
Should return a class name that can be used to refetch the user using it's ID.
supports( )
An introspection method used to determine what features a user object has, to support credential and authorization plugins.
get( $field )
Returns the value for the $field provided.
get_object( )
Returns the underlying object storing the user data. The return value of this method will vary depending on the storage module used.
obj( )
Shorthand for get_object( )
AUTOLOAD
Delegates any unknown methods onto the user object returned by ->obj
perl v5.14.2 2012-04-14 Catalyst::Authentication::User(3pm)
Check Out this Related Man Page
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)
Help...please.
I have a log that contains
Warning Authentication Failed: User GHDT88998HS doesn't exit: The User GHDT88998HS could not be found Mar 22, 2008 5:22:22AM com.hometel.ttm.auth.userlogin.
about maybe a thousand entries failed user acct message
How can I grab just the username... (2 Replies)
First of all want to apologize for such a simple question. Very "new" to UNIX and have just taken a small intro class.
I need to pull back YYYYMMDD and store it in a field to be used later. I figured out date "+%Y%m%d" returns the date in that format, just not sure how to store it.
I am... (7 Replies)
I have a program that accepts user input. For example I have mdacc that the user sets the value. I then have a class which stores the value set by the user. I use set_param to set the values in the class. I pass through it the list of user defines arguments from argv. What would be the opinion on... (0 Replies)
Does anyone know the noticable different between Catalyst 2960S 24 GigE PoE 370W 2 x 10G SFP+ LAN Base and Catalyst 2960S 24 GigE PoE 370W 4 x SFP LAN Base ? (0 Replies)