OW_NAMESPACE::RemoteProviderUtils Namespace Reference


Functions

ClientCIMOMHandleRef getRemoteClientCIMOMHandle (String &remoteUrl, bool useConnectionCredentials, const ProviderEnvironmentIFCRef &env, const ClientCIMOMHandleConnectionPoolRef &pool, bool alwaysSendCredentials)
 Get a ClientCIMOMHandleRef from pool and configure it according to the given parameters.

Variables

const String COMPONENT_NAME ("ow.provider.remote.ifc")


Function Documentation

ClientCIMOMHandleRef OW_NAMESPACE::RemoteProviderUtils::getRemoteClientCIMOMHandle String &  remoteUrl,
bool  useConnectionCredentials,
const ProviderEnvironmentIFCRef env,
const ClientCIMOMHandleConnectionPoolRef pool,
bool  alwaysSendCredentials
 

Get a ClientCIMOMHandleRef from pool and configure it according to the given parameters.

Parameters:
remoteUrl Base url for the server. This is an out parameter which may be modified if useConnectionCredentials == true.
useConnectionCredentials If true, then modify the url to include the principal and credentials stored in env->getOperationContext().
env The provider environment used to get a logger and the OperationContext.
pool The new connection will be retrieved from pool.
alwaysSendCredentials If true, assumeBasicAuth() will be called on the HTTPClient of the new connection. If the server supports Basic HTTP authentication, this is helpful to avoid an extra round trip for the client to discover what the server supports.

Definition at line 61 of file OW_RemoteProviderUtils.cpp.

References OW_NAMESPACE::String::c_str(), OW_NAMESPACE::IntrusiveReference< T >::cast_to(), COMPONENT_NAME, OW_NAMESPACE::URL::credential, env, OW_NAMESPACE::CIMException::FAILED, hdl, OW_ASSERT, OW_LOG_ERROR, OW_THROWCIMMSG_SUBEX, OW_NAMESPACE::URL::principal, OW_NAMESPACE::URL::toString(), and OW_NAMESPACE::OperationContext::USER_NAME.

Referenced by OW_NAMESPACE::RemoteAssociatorProvider::associatorNames(), OW_NAMESPACE::RemoteAssociatorProvider::associators(), OW_NAMESPACE::RemoteSecondaryInstanceProvider::createInstance(), OW_NAMESPACE::RemoteInstanceProvider::createInstance(), OW_NAMESPACE::RemoteSecondaryInstanceProvider::deleteInstance(), OW_NAMESPACE::RemoteInstanceProvider::deleteInstance(), OW_NAMESPACE::RemoteInstanceProvider::enumInstanceNames(), OW_NAMESPACE::RemoteInstanceProvider::enumInstances(), OW_NAMESPACE::RemoteSecondaryInstanceProvider::filterInstances(), OW_NAMESPACE::RemoteInstanceProvider::getInstance(), OW_NAMESPACE::RemoteMethodProvider::invokeMethod(), OW_NAMESPACE::RemoteSecondaryInstanceProvider::modifyInstance(), OW_NAMESPACE::RemoteInstanceProvider::modifyInstance(), OW_NAMESPACE::RemoteAssociatorProvider::referenceNames(), and OW_NAMESPACE::RemoteAssociatorProvider::references().


Variable Documentation

const String OW_NAMESPACE::RemoteProviderUtils::COMPONENT_NAME("ow.provider.remote.ifc") [static]
 

Referenced by getRemoteClientCIMOMHandle().


Generated on Thu Feb 9 09:18:00 2006 for openwbem by  doxygen 1.4.6