aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CatDap/Model/Proxy.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CatDap/Model/Proxy.pm')
-rw-r--r--lib/CatDap/Model/Proxy.pm40
1 files changed, 40 insertions, 0 deletions
diff --git a/lib/CatDap/Model/Proxy.pm b/lib/CatDap/Model/Proxy.pm
new file mode 100644
index 0000000..ba7e5dc
--- /dev/null
+++ b/lib/CatDap/Model/Proxy.pm
@@ -0,0 +1,40 @@
+package CatDap::Model::Proxy;
+
+use strict;
+use warnings;
+use base qw/Catalyst::Model::LDAP/;
+
+__PACKAGE__->config(
+ host => 'ldap.mageia.org',
+ base => 'ou=People,dc=mageia,dc=org',
+ dn => '',
+ password => '',
+ start_tls => 0,
+ start_tls_options => { verify => 'require' },
+ options => {}, # Options passed to search
+);
+
+=head1 NAME
+
+CatDap::Model::Proxy - LDAP Catalyst model component
+
+=head1 SYNOPSIS
+
+See L<CatDap>.
+
+=head1 DESCRIPTION
+
+LDAP Catalyst model component.
+
+=head1 AUTHOR
+
+Buchan Milne
+
+=head1 LICENSE
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+
+1;