OW_NAMESPACE::LocalAuthenticationCommon Namespace Reference


Functions

 OW_DEFINE_EXCEPTION (LocalAuthentication)
void initializeDir ()
 
Exceptions:
LocalAuthenticationException if something failed

String createFile (const String &uid, const String &cookie)
 OW_DECLARE_EXCEPTION (LocalAuthentication)

Variables

static const char *const OWLOCALHELPER_BINARY = OW_DEFAULT_LIBEXEC_DIR "/openwbem/owlocalhelper"
static const char *const REMOVE_CMD = "remove"
static const char *const INITIALIZE_CMD = "initialize"
static const char *const CREATE_CMD = "create"


Function Documentation

String OW_NAMESPACE::LocalAuthenticationCommon::createFile const String &  uid,
const String &  cookie
 

Definition at line 191 of file OW_LocalAuthenticationCommon.cpp.

References OW_NAMESPACE::String::c_str(), OW_NAMESPACE::String::length(), OW_THROW, OW_THROW_ERRNO_MSG, OW_NAMESPACE::String::toUInt16(), OW_NAMESPACE::String::toUInt32(), OW_NAMESPACE::String::toUInt64(), and OW_NAMESPACE::File::write().

void OW_NAMESPACE::LocalAuthenticationCommon::initializeDir  ) 
 

Exceptions:
LocalAuthenticationException if something failed

Definition at line 65 of file OW_LocalAuthenticationCommon.cpp.

References OW_NAMESPACE::String::c_str(), i, LOCAL_AUTH_DIR, OW_FILENAME_SEPARATOR, OW_THROW, OW_THROW_ERRNO_MSG, and OW_NAMESPACE::Array< T >::size().

Referenced by OW_NAMESPACE::LocalAuthentication::LocalAuthentication(), and processStdin().

OW_NAMESPACE::LocalAuthenticationCommon::OW_DECLARE_EXCEPTION LocalAuthentication   ) 
 

OW_NAMESPACE::LocalAuthenticationCommon::OW_DEFINE_EXCEPTION LocalAuthentication   ) 
 


Variable Documentation

const char* const OW_NAMESPACE::LocalAuthenticationCommon::CREATE_CMD = "create" [static]
 

Definition at line 55 of file OW_LocalAuthenticationCommon.hpp.

Referenced by OW_NAMESPACE::createFileHelper(), and processStdin().

const char* const OW_NAMESPACE::LocalAuthenticationCommon::INITIALIZE_CMD = "initialize" [static]
 

Definition at line 54 of file OW_LocalAuthenticationCommon.hpp.

Referenced by OW_NAMESPACE::initializeHelper(), and processStdin().

const char* const OW_NAMESPACE::LocalAuthenticationCommon::OWLOCALHELPER_BINARY = OW_DEFAULT_LIBEXEC_DIR "/openwbem/owlocalhelper" [static]
 

Definition at line 52 of file OW_LocalAuthenticationCommon.hpp.

Referenced by OW_NAMESPACE::runHelper().

const char* const OW_NAMESPACE::LocalAuthenticationCommon::REMOVE_CMD = "remove" [static]
 

Definition at line 53 of file OW_LocalAuthenticationCommon.hpp.

Referenced by OW_NAMESPACE::cleanupEntryHelper(), and processStdin().


Generated on Thu Feb 9 09:17:13 2006 for openwbem by  doxygen 1.4.6