1 package SGN
::Authentication
::Credentials
;
5 use SGN
::Authentication
::Store
;
6 use SGN
::Authentication
::User
;
10 SGN::Authentication::Credentials - a class providing credentials for the SGN Catalyst system
14 Implemented according to Catalyst::Plugin::Authentication::Internals
18 Lukas Mueller <lam87@cornell.edu>
23 my ($class, $config, $app, $realm) = @_;
25 my $self = bless {}, $class;
27 $self->{config
} = $config;
29 $self->{realm
} = $realm;
40 $c->log->debug("authenticate: Authenticating user: $authinfo->{username}") if $c->debug;
41 my $store = SGN
::Authentication
::Store
->new();
42 my $user = $store->find_user($authinfo, $c);