aboutsummaryrefslogtreecommitdiff
path: root/perl/Wallet/Config.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl/Wallet/Config.pm')
-rw-r--r--perl/Wallet/Config.pm41
1 files changed, 41 insertions, 0 deletions
diff --git a/perl/Wallet/Config.pm b/perl/Wallet/Config.pm
new file mode 100644
index 0000000..6dd2313
--- /dev/null
+++ b/perl/Wallet/Config.pm
@@ -0,0 +1,41 @@
+# Wallet::Config -- Configuration handling for the wallet server.
+# $Id$
+#
+# Written by Russ Allbery <rra@stanford.edu>
+# Copyright 2007 Board of Trustees, Leland Stanford Jr. University
+#
+# See README for licensing terms.
+
+##############################################################################
+# Modules and declarations
+##############################################################################
+
+package Wallet::Config;
+require 5.006;
+
+use strict;
+use vars qw($PATH $VERSION);
+
+# This version should be increased on any code change to this module. Always
+# use two digits for the minor version with a leading zero if necessary so
+# that it will sort properly.
+$VERSION = '0.01';
+
+# Path to the config file to load.
+$PATH = '/etc/wallet.conf';
+
+##############################################################################
+# Variables
+##############################################################################
+
+# Configuration for the keytab object type.
+our $KEYTAB_FILE;
+our $KEYTAB_FLAGS = '-clearpolicy';
+our $KEYTAB_HOST;
+our $KEYTAB_KADMIN = 'kadmin';
+our $KEYTAB_PRINCIPAL;
+our $KEYTAB_REALM;
+our $KEYTAB_TMP;
+
+1;
+__END__