summaryrefslogtreecommitdiff
path: root/LedgerSMB/Auth.pm
blob: fec8209c83ae3f6098173aa64b33f567f253071a (plain)
  1. #=====================================================================
  2. # LedgerSMB
  3. # Small Medium Business Accounting software
  4. # http://www.ledgersmb.org/
  5. #
  6. #
  7. # Copyright (C) 2006
  8. # This work contains copyrighted information from a number of sources all used
  9. # with permission. It is released under the GNU General Public License
  10. # Version 2 or, at your option, any later version. See COPYRIGHT file for
  11. # details.
  12. # This is a simple abstraction layer allowing other session handling mechanisms
  13. # (For example Kerberos tickets) as the application progresses.
  14. package LedgerSMB::Auth;
  15. use LedgerSMB::Sysconfig;
  16. if ( !${LedgerSMB::Sysconfig::auth} ) {
  17. ${LedgerSMB::Sysconfig::auth} = 'DB';
  18. }
  19. require "LedgerSMB/Auth/" . ${LedgerSMB::Sysconfig::auth} . ".pm";