#include <iostream>
#include "BESApacheInterface.h"
#include "BESMemoryManager.h"
#include "BESLog.h"
#include "TheBESKeys.h"
#include "BESMemoryGlobalArea.h"
#include "BESInternalError.h"
#include "BESUtil.h"
#include "BESBasicHttpTransmitter.h"
#include "BESAggregationServer.h"
#include "BESDataNames.h"
#include "BESDebug.h"
Include dependency graph for BESApacheInterface.cc:
Go to the source code of this file.
Defines | |
#define | DEFAULT_ADMINISTRATOR "cedar_db@hao.ucar.edu" |
#define | INCORRECT_REQUEST (BES_NOT_FOUND_ERROR + 1) |
#define | INCORRECT_REQUEST_MSG "undefined request" |
Functions | |
void | find_user_from_cookie (const char *cookie, string &user) |
Find and set the user from the cookie set in the browser. |
#define DEFAULT_ADMINISTRATOR "cedar_db@hao.ucar.edu" |
Definition at line 52 of file BESApacheInterface.cc.
#define INCORRECT_REQUEST (BES_NOT_FOUND_ERROR + 1) |
Definition at line 53 of file BESApacheInterface.cc.
Referenced by BESApacheInterface::exception_manager(), and BESApacheInterface::validate_data_request().
#define INCORRECT_REQUEST_MSG "undefined request" |
Definition at line 54 of file BESApacheInterface.cc.
Referenced by BESApacheInterface::exception_manager(), and BESApacheInterface::validate_data_request().
void find_user_from_cookie | ( | const char * | cookie, | |
string & | user | |||
) |
Find and set the user from the cookie set in the browser.
The cookie is of the format "name1=val1;name2=val2,...,namen=valn"
Find the cookie with the name defined in OPENDAP_USER_COOKIE and get the value of that key.
Definition at line 105 of file BESApacheInterface.cc.
Referenced by BESApacheInterface::initialize().