summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-01 23:42:23 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-01 23:42:23 +0000
commit27c5a57fac903382eac1216fe06f259f858245c8 (patch)
tree045c3d3cd84c99c9fa07f5d38668ff75f185e888 /LedgerSMB
parent01556e1128f60bd3252d6f31c73eeb797bec9d98 (diff)
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
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/Auth.pm (renamed from LedgerSMB/Session.pm)8
-rwxr-xr-xLedgerSMB/Auth/DB.pm (renamed from LedgerSMB/Session/DB.pm)2
-rw-r--r--LedgerSMB/User.pm2
3 files changed, 6 insertions, 6 deletions
diff --git a/LedgerSMB/Session.pm b/LedgerSMB/Auth.pm
index dbc2d1c3..fec8209c 100644
--- a/LedgerSMB/Session.pm
+++ b/LedgerSMB/Auth.pm
@@ -12,12 +12,12 @@
# This is a simple abstraction layer allowing other session handling mechanisms
# (For example Kerberos tickets) as the application progresses.
-package Session;
+package LedgerSMB::Auth;
use LedgerSMB::Sysconfig;
-if ( !${LedgerSMB::Sysconfig::session} ) {
- ${LedgerSMB::Sysconfig::session} = 'DB';
+if ( !${LedgerSMB::Sysconfig::auth} ) {
+ ${LedgerSMB::Sysconfig::auth} = 'DB';
}
-require "LedgerSMB/Session/" . ${LedgerSMB::Sysconfig::session} . ".pm";
+require "LedgerSMB/Auth/" . ${LedgerSMB::Sysconfig::auth} . ".pm";
diff --git a/LedgerSMB/Session/DB.pm b/LedgerSMB/Auth/DB.pm
index 419ca5d3..da89711f 100755
--- a/LedgerSMB/Session/DB.pm
+++ b/LedgerSMB/Auth/DB.pm
@@ -27,7 +27,7 @@
# password_check - compares the password with the stored cryted password
# (ver. < 1.2) and the md5 one (ver. >= 1.2)
#====================================================================
-package Session;
+package LedgerSMB::Auth;
use MIME::Base64;
use strict;
diff --git a/LedgerSMB/User.pm b/LedgerSMB/User.pm
index b5c5c757..e4654d9b 100644
--- a/LedgerSMB/User.pm
+++ b/LedgerSMB/User.pm
@@ -57,7 +57,7 @@ Deprecated
package LedgerSMB::User;
use LedgerSMB::Sysconfig;
-use LedgerSMB::Session;
+use LedgerSMB::Auth;
use Data::Dumper;
=item LedgerSMB::User->new($login);