From 27c5a57fac903382eac1216fe06f259f858245c8 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Thu, 1 Nov 2007 23:42:23 +0000 Subject: Renaming the Session namespace to LedgerSMB::Auth git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1835 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Auth.pm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 LedgerSMB/Auth.pm (limited to 'LedgerSMB/Auth.pm') diff --git a/LedgerSMB/Auth.pm b/LedgerSMB/Auth.pm new file mode 100644 index 00000000..fec8209c --- /dev/null +++ b/LedgerSMB/Auth.pm @@ -0,0 +1,23 @@ +#===================================================================== +# LedgerSMB +# Small Medium Business Accounting software +# http://www.ledgersmb.org/ +# +# +# Copyright (C) 2006 +# This work contains copyrighted information from a number of sources all used +# with permission. It is released under the GNU General Public License +# Version 2 or, at your option, any later version. See COPYRIGHT file for +# details. + +# This is a simple abstraction layer allowing other session handling mechanisms +# (For example Kerberos tickets) as the application progresses. +package LedgerSMB::Auth; + +use LedgerSMB::Sysconfig; + +if ( !${LedgerSMB::Sysconfig::auth} ) { + ${LedgerSMB::Sysconfig::auth} = 'DB'; +} + +require "LedgerSMB/Auth/" . ${LedgerSMB::Sysconfig::auth} . ".pm"; -- cgit v1.2.3