-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
65 lines (53 loc) · 1.93 KB
/
README
File metadata and controls
65 lines (53 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
NAME
Catalyst::Authentication::Store::UserXML - Catalyst authentication
storage using xml files
SYNOPSIS
use Catalyst qw(
...
Authentication
Authentication::Store::UserXML
);
__PACKAGE__->config(
'Plugin::Authentication' => {
default_realm => 'members',
members => {
credential => {
class => 'Password',
password_type => 'self_check',
},
store => {
class => 'UserXML',
}
}
},
'authentication' => {
'userxml' => {
'folder' => 'members',
'user_folder_file' => 'index.xml', # optional if credentials stored one per folder
}
},
);
# later in controller (login)
$c->authenticate({
username => $c->req->param('username'),
password => $c->req->param('password'),
});
DESCRIPTION
Catalyst authentication storage using xml files in a folder.
SEE ALSO
Catalyst::Plugin::Authentication
Catalyst::Authentication::Store::UserXML::User
AUTHOR
Jozef Kutej, `<jkutej at cpan.org>'
CONTRIBUTORS
The following people have contributed to the File::is by committing
their code, sending patches, reporting bugs, asking questions,
suggesting useful advises, nitpicking, chatting on IRC or commenting on
my blog (in no particular order):
David Kamholz
LICENSE AND COPYRIGHT
Copyright 2012 jkutej@cpan.org
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.