version 1.8, 2006/08/14 08:10:34
|
version 1.10, 2006/10/06 17:26:23
|
|
|
|
|
//%2006//////////////////////////////////////////////////////////////////////// | //%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
|
|
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
| |
MP_Socket::MP_Socket(PEGASUS_SOCKET socket) |
MP_Socket::MP_Socket(SocketHandle socket) |
: _socket(socket), _isSecure(false), | : _socket(socket), _isSecure(false), |
_userAuthenticated(false) | _userAuthenticated(false) |
{ | { |
|
|
} | } |
| |
MP_Socket::MP_Socket( | MP_Socket::MP_Socket( |
PEGASUS_SOCKET socket, |
SocketHandle socket, |
SSLContext * sslcontext, | SSLContext * sslcontext, |
ReadWriteSem * sslContextObjectLock, |
ReadWriteSem * sslContextObjectLock) |
Boolean exportConnection) |
|
: _socket(socket), | : _socket(socket), |
_userAuthenticated(false) | _userAuthenticated(false) |
{ | { |
|
|
Logger::put_l(Logger::ERROR_LOG, System::CIMSERVER, Logger::SEVERE, | Logger::put_l(Logger::ERROR_LOG, System::CIMSERVER, Logger::SEVERE, |
"Pegasus.Common.SocketzOS_inline.POLICY_NOT_ENABLED", | "Pegasus.Common.SocketzOS_inline.POLICY_NOT_ENABLED", |
"ATTLS policy is not aktive for the CIM Server HTTPS port. \ | "ATTLS policy is not aktive for the CIM Server HTTPS port. \ |
Communication not secured. Connection closed"); |
Communication not secured. Connection closed."); |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
return -1; | return -1; |
} | } |
|
|
Logger::put_l(Logger::ERROR_LOG, System::CIMSERVER, Logger::SEVERE, | Logger::put_l(Logger::ERROR_LOG, System::CIMSERVER, Logger::SEVERE, |
"Pegasus.Common.SocketzOS_inline.WRONG_ROLE", | "Pegasus.Common.SocketzOS_inline.WRONG_ROLE", |
"ATTLS policy specifies the wrong HandshakeRole for the CIM Server HTTPS port. \ | "ATTLS policy specifies the wrong HandshakeRole for the CIM Server HTTPS port. \ |
Communication not secured. Connection closed"); |
Communication not secured. Connection closed."); |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
return -1; | return -1; |
| |