Query: ledgersmb::auth::db
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LedgerSMB::Auth::DB(3pm) User Contributed Perl Documentation LedgerSMB::Auth::DB(3pm)NAMELedgerSMB::Auth::DB - Standard Authentication DB module.SYNOPSISThis is the standard DB-based module for authentication. Uses HTTP basic authentication.METHODSsession_check Checks to see if a session exists based on current logged in credentials. Handles failure by creating a new session, since credentials are now separate. session_create Creates a new session, sets $lsmb->{session_id} to that session, sets cookies, etc. session_destry Destroys a session and removes it from the db. get_credentials Gets credentials from the 'HTTP_AUTHORIZATION' environment variable which must be passed in as per the standards of HTTP basic authentication. Returns a hashref with the keys of login and password. credential_prompt Sends a 401 error to the browser popping up browser credential prompt.COPYRIGHT# Small Medium Business Accounting software # http://www.ledgersmb.org/ # # # Copyright (C) 2006-2011 # 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. perl v5.14.2 2012-03-26 LedgerSMB::Auth::DB(3pm)
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
Is UNIX an open source OS ? |
Weird 'find' results |
A (ksh) Library For and From UNIX.com |
New UNIX and Linux History Sections |